Closed
Bug 43660
Opened 24 years ago
Closed 24 years ago
prompt does not return null cancel selected: NN4 and IE do
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: gpetruc, Assigned: jst)
Details
Attachments
(1 file)
547 bytes,
text/html
|
Details |
I'm using Build M16 with talkback on Win2000 and Win98 Second Edition: The window.prompt() method does not return null if I press the Cancel button. It returns a zero-length string instead. This happens with Netscape 6 too (it's mozilla m14). Netscape 4.7 and Internet Explorer 5 (but Even Netscape 3) do return null. You can try by executing alert(prompt("Hi?")). On Client-Side JavaScript 1.3 Reference taken from developer.netscape.com does not specify what should prompt() method return, but null looks more rational.
Comment 1•24 years ago
|
||
DOM issue, not JavaScript engine - reassigning
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: pschwartau → desale
Summary: prompt does not return null cancel selected: NN4 and IE do → prompt does not return null cancel selected: NN4 and IE do
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
This was fixed some time ago, probably post M16. The fix was done by danm, see bug 12021. Duping... *** This bug has been marked as a duplicate of 12021 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•