Closed
Bug 761872
Opened 12 years ago
Closed 12 years ago
content/base/test/test_bug518104.html has race between <iframe> and parent document script
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: bhackett1024, Assigned: bhackett1024)
References
Details
Attachments
(1 file, 1 obsolete file)
1.55 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
This test has an <iframe> with a deferred script that calls a function in the parent document. According to bz the semantics here are that the iframe script can start executing as soon as the <iframe> is done being parsed, which may be before the parent script has finished parsing and the function installed on the global. This is breaking in supersnappy, which is evaluating the scripts in this ordering.
Assignee | ||
Comment 1•12 years ago
|
||
This causes the parent.done() call to work and the test to pass with supersnappy.
Assignee: nobody → bhackett1024
Attachment #630393 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•12 years ago
|
||
Now with the correct patch.
Attachment #630393 -
Attachment is obsolete: true
Attachment #630393 -
Flags: review?(bzbarsky)
Attachment #630397 -
Flags: review?(bzbarsky)
Comment 3•12 years ago
|
||
Comment on attachment 630397 [details] [diff] [review]
patch
r=me
Attachment #630397 -
Flags: review?(bzbarsky) → review+
Updated•12 years ago
|
Blocks: supersnappy
Updated•12 years ago
|
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e758973c6ab1
(Merged by Ed Morley)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•