Closed Bug 702167 Opened 13 years ago Closed 13 years ago

Sporadic TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_bug371576-1.html | Wrong order of execution - got ABEF, expected ABCDEF

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: dholbert, Assigned: hsivonen)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=7377708&tree=Mozilla-Inbound Rev3 WINNT 5.1 mozilla-inbound debug test mochitests-1/5 on 2011-11-13 14:56:52 PST for push 7ff1026f9880 { 9112 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_bug371576-1.html | Wrong order of execution - got ABEF, expected ABCDEF }
Henri has been poking at parser stuff a lot lately. Could this be a regression from that?
This test has been bogus (by depending on a race condition) ever since bug 591981 got fixed. I'm surprised this hadn't gone orange sooner. I think the test should be removed, since there's no obvious way to change the test to make sense in the HTML5-compliant world.
So do we have tests that ensure that script execution happen in the correct order for both inline and DOM-inserted scripts? And that that order doesn't get messed up if someone sets innerHTML?
(In reply to Jonas Sicking (:sicking) from comment #3) > So do we have tests that ensure that script execution happen in the correct > order for both inline and DOM-inserted scripts? There's no "right" order for DOM-inserted scripts. That's why this test should be removed from the tree.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attached patch Remove the testSplinter Review
The test expect script-inserted scripts to have a deterministic execution order relative to parser-inserted scripts. The premise of the test is wrong per HTML5. See http://hsivonen.iki.fi/script-execution/ There's nothing to replace the test with, because the execution order is non-deterministic by spec.
Attachment #588397 - Flags: review?(bugs)
Comment on attachment 588397 [details] [diff] [review] Remove the test rs=me
Attachment #588397 - Flags: review?(bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
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: