[Webkit-unassigned] [Bug 54942] In layout tests, iframe's onload handler should not use script function defined after the iframe
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 24 09:05:43 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=54942
Tony Gentilcore <tonyg at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |japhet at chromium.org
--- Comment #6 from Tony Gentilcore <tonyg at chromium.org> 2011-02-24 09:05:43 PST ---
(In reply to comment #3)
> I tried to analyze some of them, and found that though the reasons of some new failures are obvious, many of them need time to figure out.
Yeah, there are lots of things going on. Another really common theme I'm finding is this:
<body onload="alert('body')"
<iframe onload="alert('frame')" src="data:text/html,synchronous"></iframe>
</body>
If the parser never yields (which many tests assume), the body's onload will fire before the iframe's onload (note that this isn't compliant w/ the spec). However, if there are any yields then the iframe's onload will properly fire before the body's. This causes some tests to hang if they have notifyDone in the wrong place. Other tests appear to fail because the dump is taken earlier than the test expects, but if you view the test manually, it is clear that it still passes.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list