Intermittent test_bug404320.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]"

RESOLVED FIXED

Status

()

Core
Editor
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: philor, Assigned: Ehsan)

Tracking

({intermittent-failure})

Trunk
x86
Windows 7
intermittent-failure
Points:
---

Firefox Tracking Flags

(blocking2.0 -)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
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
(Assignee)

Updated

7 years ago
Component: DOM: Core & HTML → Editor
QA Contact: general → editor
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
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
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
blocking2.0: --- → ?
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 40

7 years ago
Created attachment 518913 [details] [diff] [review]
Patch (v1)

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)
(Assignee)

Comment 41

7 years ago
http://hg.mozilla.org/mozilla-central/rev/415f9b51fc5c
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Keywords: intermittent-failure
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.