Closed
Bug 986807
Opened 11 years ago
Closed 11 years ago
reftest default preference lists out-of-sync between desktop and Android/B2G
Categories
(Testing :: Reftest, defect)
Testing
Reftest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla31
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(3 files)
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
The reftest default preference lists are out of sync between desktop (reftest-cmdline.js) and Android/B2G (bootstrap.js).
Two of the diffs are probably prefs that only affect desktop or were for perf reasons (bug 846890, bug 870100), so unlikely to cause bustage if we sync them to bootstrap.js. The other two were introduce in bug 975931 and likely to be substantive.
We should fix this code duplication with the preprocessor ASAP, at least once the bug 975931 prefs are sync'd over and green.
Assignee | ||
Comment 1•11 years ago
|
||
Oh, worse, there's a third location in b2g_start_script.js that was added without adding a comment at the other locations.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Summary: reftest default preference lists out-of-sync between desktop and Android/B2G → reftest default preference lists out-of-sync between desktop and Android/B2G
Assignee | ||
Comment 2•11 years ago
|
||
It turns out syncing the preferences over doesn't introduce any new failures; there are no differences between these two try runs (the failures are due to the patches in the first run):
https://tbpl.mozilla.org/?tree=Try&rev=eb9a8b5b0b13
https://tbpl.mozilla.org/?tree=Try&rev=c458891861d7
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8395260 -
Flags: review?(roc)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8395261 -
Flags: review?(roc)
Assignee | ||
Comment 5•11 years ago
|
||
(And I also have a patch for the preprocessing, but I still want to wait for try results on it.)
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
Note that the reordering in Makefile.in is because the addition to
PP_TARGETS must be before including rules.mk. (Logically, I was moving
_DEST_DIR, _HARNESS_FILES, and the _HARNESS_PP_FILES chunk up, but diff
shows it the other way around.)
Attachment #8395302 -
Flags: review?(ted)
Attachment #8395260 -
Flags: review?(roc) → review+
Comment on attachment 8395261 [details] [diff] [review]
patch 2 - Sync higher-risk APZC/viewport prefs from bug 975931 from desktop reftest code to Android/B2G reftest code
Review of attachment 8395261 [details] [diff] [review]:
-----------------------------------------------------------------
Sure would be nice if we could share these prefs in a single location!
Attachment #8395261 -
Flags: review?(roc) → review+
Ah you did :-)
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0ce172037ced
https://hg.mozilla.org/integration/mozilla-inbound/rev/6930ffbc0f1d
Keywords: leave-open
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment on attachment 8395302 [details] [diff] [review]
patch 3 - Use preprocessor to avoid duplicating reftest default preference lists
Review of attachment 8395302 [details] [diff] [review]:
-----------------------------------------------------------------
As much as I hate adding more to our Makefiles, this is better than the existing scenario.
Attachment #8395302 -
Flags: review?(ted) → review+
Assignee | ||
Comment 13•11 years ago
|
||
Keywords: leave-open
Comment 14•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•