Closed Bug 713423 Opened 13 years ago Closed 12 years ago

Intermittent test_497898.html | an unexpected uncaught JS exception reported through window.onerror - attempt to run compile-and-go script on a cleared scope at data:application/xhtml+xml;(etc.) from 497633.html continuing to run after its window closes

Categories

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

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox12 --- affected

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

This might just be better reporting of bug 617328, and seems likely to be the cause of bug 558658 as well, since 497633.html does call doe(), and test_497898.html does not.

https://tbpl.mozilla.org/php/getParsedLog.php?id=8150278&tree=Mozilla-Inbound
Rev3 Fedora 12x64 mozilla-inbound debug test mochitests-3/5 on 2011-12-25 00:01:00 PST for push 798b00a6fe29

6544 INFO TEST-INFO | /tests/dom/tests/mochitest/general/test_497898.html | must wait for focus
++DOMWINDOW == 3017 (0xac68f08) [serial = 6454] [outer = 0x31ac050]
--DOCSHELL 0xc4728f0 == 13
WARNING: NS_ENSURE_TRUE(window) failed: file /builds/slave/m-in-lnx64-dbg/build/dom/base/nsFocusManager.cpp, line 563
WARNING: NS_ENSURE_TRUE(txToRemove) failed: file /builds/slave/m-in-lnx64-dbg/build/docshell/shistory/src/nsSHistory.cpp, line 1313
WARNING: NS_ENSURE_TRUE(window) failed: file /builds/slave/m-in-lnx64-dbg/build/dom/base/nsFocusManager.cpp, line 563
6545 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_497898.html | an unexpected uncaught JS exception reported through window.onerror - attempt to run compile-and-go script on a cleared scope at data:application/xhtml+xml;charset=utf-8,%3Chtml%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%0A%3Ciframe%2F%3E%0A%3Cframeset%20onblur%3D%22window.frameElement.parentNode.removeChild(window.frameElement)%22%20id%3D%22frame%22%2F%3E%0A%0A%3Cscript%3E%0Afunction%20doe(i)%7B%0Adocument.getElementById('frame').focus()%3B%0Adocument.getElementsByTagName('*')%5B1%5D.focus()%3B%0A%7D%0Atop.opener.SimpleTest.waitForFocus(function%20()%20setTimeout(doe%2C%20100)%2C%20top)%3B%0A%3C%2Fscript%3E%0A%3C%2Fhtml%3E:11
JavaScript error: data:application/xhtml+xml;charset=utf-8,%3Chtml%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%0A%3Ciframe%2F%3E%0A%3Cframeset%20onblur%3D%22window.frameElement.parentNode.removeChild(window.frameElement)%22%20id%3D%22frame%22%2F%3E%0A%0A%3Cscript%3E%0Afunction%20doe(i)%7B%0Adocument.getElementById('frame').focus()%3B%0Adocument.getElementsByTagName('*')%5B1%5D.focus()%3B%0A%7D%0Atop.opener.SimpleTest.waitForFocus(function%20()%20setTimeout(doe%2C%20100)%2C%20top)%3B%0A%3C%2Fscript%3E%0A%3C%2Fhtml%3E, line 11: attempt to run compile-and-go script on a cleared scope
6546 INFO TEST-END | /tests/dom/tests/mochitest/general/test_497898.html | finished in 1252ms
Oh, I can't read, test_497898.html opens 497633.html.
The added "non-clean fashion" bits in comment 26 are where along with running after its window closes, it prematurely calls finish() on three more tests after it.
Severity: normal → major
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.