Closed
Bug 1313862
Opened 8 years ago
Closed 8 years ago
Intermittent browser/modules/test/browser_CaptivePortalWatcher.js | The captive portal tab should be open in the background in the current window. - Didn't expect [object XULElement], but got it
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 52
Tracking | Status | |
---|---|---|
firefox50 | --- | unaffected |
firefox51 | --- | unaffected |
firefox52 | --- | fixed |
People
(Reporter: aryx, Assigned: nhnt11)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
This tested got enabled on all platforms in bug 1279491 yesterday. If it fails too often (and on tier 1, current failure is on tier 2), the change to enable it globally will get backed out.
https://treeherder.mozilla.org/logviewer.html#?job_id=5880123&repo=autoland
[task 2016-10-29T14:59:59.422642Z] 14:59:59 INFO - Entering test bound bound test_detectedWithFocus
[task 2016-10-29T14:59:59.424352Z] 14:59:59 INFO - TEST-PASS | browser/modules/test/browser_CaptivePortalWatcher.js | There should be a captive portal tab in the window. -
[task 2016-10-29T14:59:59.428853Z] 14:59:59 INFO - TEST-PASS | browser/modules/test/browser_CaptivePortalWatcher.js | There should be a captive portal notification in the window. -
[task 2016-10-29T14:59:59.440429Z] 14:59:59 INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser_CaptivePortalWatcher.js | The captive portal tab should be open in the background in the current window. - Didn't expect [object XULElement], but got it
[task 2016-10-29T14:59:59.442651Z] 14:59:59 INFO - Stack trace:
[task 2016-10-29T14:59:59.445247Z] 14:59:59 INFO - chrome://mochikit/content/browser-test.js:test_isnot:913
[task 2016-10-29T14:59:59.447577Z] 14:59:59 INFO - chrome://mochitests/content/browser/browser/modules/test/browser_CaptivePortalWatcher.js:test_detectedWithFocus:147
[task 2016-10-29T14:59:59.449353Z] 14:59:59 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
Flags: needinfo?(nhnt11)
Assignee | ||
Comment 1•8 years ago
|
||
Bah, this was fixed in the first patch that landed for bug 1279491, but was missed in the second patch that landed after the first got backed out.
The fix is to wait for xul-window-visible after closing a browser window: https://reviewboard.mozilla.org/r/61676/diff/1-2#1
I'll upload a new patch with this fix.
Flags: needinfo?(nhnt11)
Comment hidden (mozreview-request) |
![]() |
Reporter | |
Updated•8 years ago
|
Keywords: intermittent-failure
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8805799 [details]
Bug 1313862 - Wait for xul-window-visible after closing browser windows in browser_CaptivePortalWatcher.js.
https://reviewboard.mozilla.org/r/89448/#review89310
Attachment #8805799 -
Flags: review?(MattN+bmo) → review+
Pushed by nhnt11@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c8309234a1e7
Wait for xul-window-visible after closing browser windows in browser_CaptivePortalWatcher.js. r=MattN
Comment 6•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Updated•8 years ago
|
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•