WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 8961
9587
document.write() does not work inside body onload event
https://bugs.webkit.org/show_bug.cgi?id=9587
Summary
document.write() does not work inside body onload event
David Kilzer (:ddkilzer)
Reported
2006-06-25 17:54:03 PDT
When calling a function that does a document.write() inside a body onload event, nothing is output. This occurs on production Safari 2.0.3 (417.9.3) and Safari + WebKit
r15041
on Mac OS X 10.4.6 (8I127/PowerPC). Both Firefox 1.5.0.4 on Mac OS X and MSIE 6 on Win XP SP2 work.
Attachments
Patch with layout test
(968 bytes, patch)
2006-06-25 17:55 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Test case from patch; should print "Success" when loaded
(356 bytes, text/html)
2006-06-25 17:56 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2006-06-25 17:55:17 PDT
Created
attachment 9033
[details]
Patch with layout test Layout test, when run, should produce a document with only "Success" in it.
David Kilzer (:ddkilzer)
Comment 2
2006-06-25 17:56:05 PDT
Created
attachment 9034
[details]
Test case from patch; should print "Success" when loaded
Alexey Proskuryakov
Comment 3
2006-06-25 21:40:30 PDT
Duplicate of
bug 8961
?
David Kilzer (:ddkilzer)
Comment 4
2006-06-26 03:19:51 PDT
(In reply to
comment #3
)
> Duplicate of
bug 8961
?
Yep! *** This bug has been marked as a duplicate of
8961
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug