[Webkit-unassigned] [Bug 14709] document.write in onload fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 22 01:46:22 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14709





------- Comment #1 from aroben at apple.com  2007-07-22 01:46 PDT -------
The second example you describe shows a document.write happening *previous* to
the one in the onload handler. The body of the <script> element will be
executed as soon as it is parsed, which will happen before the onload event
fires.

My guess is that the document.write inside the <script> executes correctly, but
then the document is cleared when the document.write in the onload handler does
an implicit document.open. But this is just speculation.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list