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 14709
14821
document.write displays blank page when onclick
https://bugs.webkit.org/show_bug.cgi?id=14821
Summary
document.write displays blank page when onclick
Pat
Reported
2007-07-30 17:51:11 PDT
Also see
http://www.w3schools.com/js/tryit.asp?filename=tryjs_confirm
Attachments
reduce test case
(376 bytes, text/html)
2007-07-30 17:54 PDT
,
Pat
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Pat
Comment 1
2007-07-30 17:54:06 PDT
Created
attachment 15752
[details]
reduce test case The text of the reduce test case: <html> <head> <script type="text/javascript"> function disp_prompt() { var name=prompt("Please enter your name","Harry Potter") if (name!=null && name!="") { document.write("Hello " + name + "! How are you today?") } } </script> </head> <body> <input type="button" onclick="disp_prompt()" value="Display a prompt box" /> </body> </html>
Pat
Comment 2
2007-07-30 18:00:43 PDT
Tested on MacOS 10.4.4 Safari 2.0.3 (417.8) WinXP Safari 3.0 (522.11.3) S60 3.2
Pat
Comment 3
2007-07-30 18:05:36 PDT
Fails on: - MacOS 10.4.4 Safari 2.0.3 (417.8) - WinXP Safari 3.0 (522.11.3) - S60 3.2 Works on: - IE 6.0 - Firefox 2.0.05
Darin Adler
Comment 4
2007-08-02 18:48:53 PDT
*** This bug has been marked as a duplicate of
14709
***
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