Intermittent test_browserFrame2.html | Too many mozhidden events

RESOLVED FIXED in mozilla15

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: philor, Assigned: daleharvey)

Tracking

({intermittent-failure})

Trunk
mozilla15
x86
Windows 7
intermittent-failure
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
https://tbpl.mozilla.org/php/getParsedLog.php?id=12116692&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound debug test mochitests-3/5 on 2012-05-27 14:47:50 PDT for push 4c3f2ddd82e8
slave: talos-r3-xp-038

3347 INFO TEST-START | /tests/dom/tests/mochitest/browser-frame/test_browserFrame10.html
++DOMWINDOW == 26 (086AF158) [serial = 729] [outer = 05C60128]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 135: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 135: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]
++DOCSHELL 0AB54BE8 == 9 [id = 307]
++DOMWINDOW == 27 (0A2AB4D8) [serial = 730] [outer = 00000000]
WARNING: Subdocument container has no frame: file e:/builds/moz2_slave/m-in-w32-dbg/build/layout/base/nsDocumentViewer.cpp, line 2408
++DOMWINDOW == 28 (1130BAB8) [serial = 731] [outer = 0A2AB488]
JavaScript error: chrome://browser/content/tabbrowser.xml, line 1919: aTab is null
3348 INFO TEST-PASS | /tests/dom/tests/mochitest/browser-frame/test_browserFrame10.html | iframe recieved visibility changed
3349 INFO TEST-PASS | /tests/dom/tests/mochitest/browser-frame/test_browserFrame10.html | mozHidden attribute correctly set
3350 INFO TEST-PASS | /tests/dom/tests/mochitest/browser-frame/test_browserFrame10.html | mozHidden attribute correctly set
3351 INFO TEST-END | /tests/dom/tests/mochitest/browser-frame/test_browserFrame10.html | finished in 420ms
3352 INFO TEST-START | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html
++DOMWINDOW == 29 (10561138) [serial = 732] [outer = 05C60128]
3353 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html | Too many mozhidden events
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 135: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
JavaScript error: chrome://specialpowers/content/SpecialPowersObserverAPI.js, line 125: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
++DOCSHELL 11C65500 == 10 [id = 308]
++DOMWINDOW == 30 (10E40E50) [serial = 733] [outer = 00000000]
WARNING: Subdocument container has no frame: file e:/builds/moz2_slave/m-in-w32-dbg/build/layout/base/nsDocumentViewer.cpp, line 2408
++DOMWINDOW == 31 (11E5E6E8) [serial = 734] [outer = 10E40E00]
++DOMWINDOW == 32 (08481CA0) [serial = 735] [outer = 10E40E00]
3354 INFO TEST-PASS | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html | Got iframe load event.
3355 INFO TEST-END | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html | finished in 325ms

https://tbpl.mozilla.org/php/getParsedLog.php?id=12124646&tree=Mozilla-Inbound
Rev3 WINNT 6.1 mozilla-inbound opt test mochitests-3/5 on 2012-05-27 23:51:48 PDT for push ab47ee11d57d
slave: talos-r3-w7-019

3352 INFO TEST-START | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html
3353 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html | Too many mozhidden events
3354 INFO TEST-PASS | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html | Got iframe load event.
3355 INFO TEST-END | /tests/dom/tests/mochitest/browser-frame/test_browserFrame2.html | finished in 103ms
Hmm..."Too many mozhidden events" appears only in test_browserFrame10.html, yet the failure is in the *following* test?

My guess is that this is seeing the hidden event which happens when we unload the iframe.  Perhaps we should unregister the listener before calling SimpleTest.finish().
Blocks: 702880
(Assignee)

Comment 2

5 years ago
Yup, 10 comes directly before 2 as well, testing the fix and will trigger a bunch of trys
(Assignee)

Comment 3

5 years ago
Created attachment 627695 [details] [diff] [review]
Cleanup visibility message reciever on test completion
Assignee: nobody → dale
Attachment #627695 - Flags: review?(justin.lebar+bug)
Comment on attachment 627695 [details] [diff] [review]
Cleanup visibility message reciever on test completion

r=me.
Attachment #627695 - Flags: review?(justin.lebar+bug) → review+
(Assignee)

Comment 5

5 years ago
pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=f94077b055b9
(Assignee)

Comment 6

5 years ago
Happy with the try results, the one unexplained failure in XUL Opt looks unrelated
https://hg.mozilla.org/integration/mozilla-inbound/rev/795e5c9bec72
Target Milestone: --- → mozilla15

Comment 8

5 years ago
https://hg.mozilla.org/mozilla-central/rev/795e5c9bec72
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Comment hidden (Treeherder Robot)
Keywords: intermittent-failure
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.