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

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


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

           Summary: document.write in onload fails
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://dscoder.com/documentwritetestcase.html
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: catfish.man at gmail.com


The linked url shows "success" on the page in firefox, but is blank in webkit.
It uses document.write in onload on the <body>. In addition, having the
document.write in onload will also cause a subsequent document.write to fail.
For example <body onload="document.write('success')"><script
type="text/javascript">document.write('success');</script></body> will print
nothing, but if the onload on the body is removed, it will print success.


-- 
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