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)

defect
Not set
normal

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)

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.
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)
Please try this patch to turn the dropmarker on in mochitest. Thank you.
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
Blocks: 1307010
Use SpecialPowers.pushPrefEnv to turn on Dropmarker in Downloads Panel
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)
Hi Paolo, Could you help to review the patch which has the changes with pushPrefEnv? Thank you.
Assignee: nobody → selee
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+
Status: NEW → ASSIGNED
Keywords: checkin-needed
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
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Whiteboard: [CHE-MVP]
Blocks: 1269956
Whiteboard: [CHE-MVP] → [CHE-MVP][checkin-needed-aurora]
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.

Attachment

General

Created:
Updated:
Size: