Closed
Bug 916205
Opened 11 years ago
Closed 11 years ago
Create and enable dynamic UA override list in B2G
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:koi+, firefox26 fixed, firefox27 fixed, b2g-v1.2 fixed)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: jchen, Assigned: jchen)
References
Details
(Whiteboard: QARegressExclude)
Attachments
(2 files, 1 obsolete file)
The dynamic UA override list is in JSON format. We need to convert the old override prefs to JSON and check it into Gaia. This way, the list ships with Gaia and the file on the server can track the file in the Gaia repo.
Assignee | ||
Comment 1•11 years ago
|
||
This patch includes a new UA override list converted from the current list in Gaia. The reason it's moved to Gecko is because we want to ship the file in the Gecko package.
The patch also includes the prefs to turn on the new UA override system, which will use the new list. I verified it to work on a B2G build on my Unagi device.
Attachment #804822 -
Flags: review?(fabrice)
Assignee | ||
Comment 2•11 years ago
|
||
When the above Gecko patch lands, the old list in Gaia can be safely deleted.
Attachment #804823 -
Flags: review?(fabrice)
Updated•11 years ago
|
Attachment #804822 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 804822 [details] [diff] [review]
Add and package UA override list (v1)
Asking review on the Makefile bits
Attachment #804822 -
Flags: review?(mh+mozilla)
Updated•11 years ago
|
Attachment #804823 -
Flags: review?(fabrice) → review+
Comment 4•11 years ago
|
||
Comment on attachment 804822 [details] [diff] [review]
Add and package UA override list (v1)
Review of attachment 804822 [details] [diff] [review]:
-----------------------------------------------------------------
::: b2g/app/Makefile.in
@@ +96,5 @@
> + # strip out comment lines, which are not valid in JSON
> + sed -e "/^ *\\/\\//d" -e "/^ *$$/d" $^ > $@
> +
> +libs:: $(UA_UPDATE_FILE)
> + $(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
Use INSTALL_TARGETS (see config/rules.mk)
Attachment #804822 -
Flags: review?(mh+mozilla) → review-
Assignee | ||
Comment 5•11 years ago
|
||
I think this is right. Carrying over fabrice's r+ and re-asking review on Makefile bits
Attachment #805806 -
Flags: review?(mh+mozilla)
Assignee | ||
Updated•11 years ago
|
Attachment #804822 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #805806 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Checked into https://hg.mozilla.org/integration/b2g-inbound/rev/82d40fae202d
Also noming for koi because we want dynamically updatable UA override list to work for 1.2
blocking-b2g: --- → koi?
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2 FC (16sep)
Comment 8•11 years ago
|
||
status-b2g-v1.2:
--- → fixed
status-firefox26:
--- → fixed
status-firefox27:
--- → fixed
Target Milestone: 1.2 FC (16sep) → ---
Assignee | ||
Comment 9•11 years ago
|
||
The Gaia pull request still needs to be merged into master and 1.2 branch
Comment 10•11 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/18bd102d833e858e97d60db5c05607e172a10859
Will leave it to jhford to do the uplift.
Comment 11•11 years ago
|
||
[v1.2 51f3c79] Merge pull request #12226 from darchons/bug916205-create-and-enable-dynamic-ua
Flags: needinfo?(jhford)
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: QARegressExclude
You need to log in
before you can comment on or make changes to this bug.
Description
•