Closed Bug 759044 Opened 13 years ago Closed 13 years ago

Intermittent test_browserFrame2.html | Too many mozhidden events

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: philor, Assigned: daleharvey)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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().
Yup, 10 comes directly before 2 as well, testing the fix and will trigger a bunch of trys
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+
Happy with the try results, the one unexplained failure in XUL Opt looks unrelated
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [orange]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: