http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1288838444.1288839359.27358.gz Rev3 WINNT 6.1 mozilla-central opt test mochitests-1/5 on 2010/11/03 19:40:44 s: talos-r3-w7-012 55134 INFO TEST-START | /tests/content/html/document/test/test_bug404320.html 55135 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/document/test/test_bug404320.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://mochi.test:8888/tests/content/html/document/test/test_bug404320.html :: testFormatBlock :: line 32" data: no] at :0 55136 INFO TEST-END | /tests/content/html/document/test/test_bug404320.html | finished in 141ms
Component: DOM: Core & HTML → Editor
QA Contact: general → editor
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1291706625.1291709153.19853.gz WINNT 5.2 comm-central-trunk debug test mochitests-1/5 on 2010/12/06 23:23:45
blocking2.0: ? → -
This test has some stuff which happen while the script tag is executing, specifically accessing's the iframe's contentDocument and contentWindow. Those are not safe if the document has not yet fully loaded. I bet this is the reason why the test fails intermittently. This patch moves that stuff inside of runTest. Note that almost all of this patch is indentation changes.
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #518913 - Flags: review?(roc)
Attachment #518913 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.