Closed
Bug 1304680
Opened 8 years ago
Closed 8 years ago
browser_downloads_panel_footer.js | Test timed out - after beta uplift simulation
Categories
(Firefox :: Downloads Panel, defect)
Firefox
Downloads Panel
Tracking
()
RESOLVED
FIXED
Firefox 52
Tracking | Status | |
---|---|---|
firefox49 | --- | unaffected |
firefox-esr45 | --- | unaffected |
firefox50 | --- | unaffected |
firefox51 | --- | fixed |
firefox52 | --- | fixed |
People
(Reporter: aryx, Assigned: selee)
References
Details
(Whiteboard: [CHE-MVP])
Attachments
(4 files)
673 bytes,
patch
|
Details | Diff | Splinter Review | |
18.70 KB,
patch
|
Details | Diff | Splinter Review | |
637 bytes,
patch
|
Details | Diff | Splinter Review | |
58 bytes,
text/x-review-board-request
|
Paolo
:
review+
|
Details |
If mozilla-central gets run as beta https://wiki.mozilla.org/Sheriffing/Uplift-Sim/Trunk-Beta , the following error will be found in the logs:
https://treeherder.mozilla.org/logviewer.html#?job_id=27844175&repo=try
16:51:22 INFO - 27 INFO TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_panel_footer.js | Test timed out -
browser.download.showPanelDropmarker is set to false is such an environment:
https://hg.mozilla.org/mozilla-central/rev/c4f6eb3d1fd8#l1.12
Setting it to true at the start of browser_downloads_panel_footer.js didn't fix it for me.
Assignee | ||
Comment 1•8 years ago
|
||
Hi Sebastian,
May I know how do you change "browser.download.showPanelDropmarker" in your environment? use about:config?
I wonder if mochitest doesn't share the same profile with the normal mode. So even the flag is changed in Firefox manually with about:config, it can be "false" in mochitest mode.
Thank you for reporting this issue.
Flags: needinfo?(aryx.bugmail)
![]() |
Reporter | |
Comment 2•8 years ago
|
||
This is what I tried: https://hg.mozilla.org/try/rev/8f7bef902d83a84c92b1230c50b6ef1327be72f3
Flags: needinfo?(aryx.bugmail)
Assignee | ||
Comment 3•8 years ago
|
||
Please try this patch to turn the dropmarker on in mochitest. Thank you.
![]() |
Reporter | |
Comment 4•8 years ago
|
||
![]() |
Reporter | |
Comment 5•8 years ago
|
||
Thank you for the patch, pushed it to Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e119759799f6
![]() |
Reporter | |
Comment 6•8 years ago
|
||
Thank you, the patch attached fixes the issue, see the Try push results: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e119759799f6
Comment 7•8 years ago
|
||
Comment on attachment 8794094 [details] [diff] [review]
turn_on_dropmarker_in_mochitest
You should actually call pushPrefEnv inside the Task, so that the preference is reset for the following tests. Example:
https://dxr.mozilla.org/mozilla-central/rev/f0e6cc6360213ba21fd98c887b55fce5c680df68/browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js#18
Updated•8 years ago
|
status-firefox49:
--- → unaffected
status-firefox50:
--- → unaffected
status-firefox51:
--- → affected
status-firefox-esr45:
--- → unaffected
Assignee | ||
Comment 8•8 years ago
|
||
Use SpecialPowers.pushPrefEnv to turn on Dropmarker in Downloads Panel
Assignee | ||
Comment 9•8 years ago
|
||
Hi Sebastian,
Based on comment 7 and [1], I think pushPrefEnv is the correct solution for mochitest.
Could you help to verify the patch attachment 8797163 [details] [diff] [review] again?
Thank you!
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest#What_if_I_need_to_change_a_preference_to_run_my_test.3F
Flags: needinfo?(aryx.bugmail)
![]() |
Reporter | |
Comment 10•8 years ago
|
||
Hi, yes, the updated patch passes the tests: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6cac99bfd48cda54618b1866e36c8ab3a16b439f
Flags: needinfo?(aryx.bugmail)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 12•8 years ago
|
||
Hi Paolo, Could you help to review the patch which has the changes with pushPrefEnv? Thank you.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → selee
Comment 14•8 years ago
|
||
mozreview-review |
Comment on attachment 8797598 [details]
Bug 1304680 - Turn on "browser.download.showPanelDropmarker" in Downloads Panel footer test.;
https://reviewboard.mozilla.org/r/83270/#review81736
Thanks!
Attachment #8797598 -
Flags: review?(paolo.mozmail) → review+
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment 15•8 years ago
|
||
Pushed by philringnalda@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/86a18cc7342e
Turn on "browser.download.showPanelDropmarker" in Downloads Panel footer test.; r=Paolo
Keywords: checkin-needed
Comment 16•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Updated•8 years ago
|
Whiteboard: [CHE-MVP]
![]() |
Reporter | |
Updated•8 years ago
|
Whiteboard: [CHE-MVP] → [CHE-MVP][checkin-needed-aurora]
Comment 17•8 years ago
|
||
bugherder uplift |
Flags: in-testsuite+
Whiteboard: [CHE-MVP][checkin-needed-aurora] → [CHE-MVP]
You need to log in
before you can comment on or make changes to this bug.
Description
•