Bug 15541

Summary: REGRESSION (r26616): prompt with one argument uses the literal "undefined" as default reply
Product: WebKit Reporter: mitz
Component: WebCore JavaScriptAssignee: 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'")

Description mitz 2007-10-17 10:09:23 PDT
r26616 made prompt use the literal string "undefined" when the default reply is not specified (see URL). It should use the empty string instead.
Comment 1 Darin Adler 2007-10-18 10:10:46 PDT
Committed revision 26750.