Bug 15541
Summary: | REGRESSION (r26616): prompt with one argument uses the literal "undefined" as default reply | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | WebCore JavaScript | Assignee: | Darin Adler <darin> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | sam |
Priority: | P1 | Keywords: | Regression |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | javascript:prompt("The default reply should be blank, not 'undefined'") |
mitz
r26616 made prompt use the literal string "undefined" when the default reply is not specified (see URL). It should use the empty string instead.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Darin Adler
Committed revision 26750.