Closed
Bug 216324
Opened 22 years ago
Closed 22 years ago
Javascript prompt default value is ignored
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
FIXED
Firebird0.7
People
(Reporter: ts, Assigned: bryner)
References
()
Details
(Keywords: regression)
Attachments
(2 files)
174 bytes,
text/html
|
Details | |
789 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030813 Mozilla Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030813 Mozilla Firebird/0.6.1+
A javascript looking like this:
var my_link = prompt("Enter URL:","http://");
Will not show the default value (http://) when the prompt is displayed. The
default option is simply ignored and the user is faced with a clean&empty input box.
I expect this to be regression from another bug, since this problem is recent
and clearly not intended
Reproducible: Always
Steps to Reproduce:
Check URL
Actual Results:
Nothing is displayed in the initial input box
Expected Results:
The input box should contain the specified default value
Comment 1•22 years ago
|
||
wfm with win2k build 20030815.. (Mozilla)
-> Firebird for triage
Assignee: rogerl → blake
Component: JavaScript Engine → General
Product: Browser → Firebird
QA Contact: pschwartau → asa
Version: Trunk → unspecified
Comment 2•22 years ago
|
||
Confirming this bug on Windows 98 using Mozilla Firebird (20030823).
Works normally in Mozilla 1.4 (20030624) and Netscape 7.1 (20030624).
Comment 3•22 years ago
|
||
Appears to be Windows only
http://forums.mozillazine.org/viewtopic.php?p=164526
Comment 4•22 years ago
|
||
I hit this bug when I use the "validate html" bookmarklet on a local file. I'm
using an Aug 23 Firebird nightly.
Keywords: regression
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•22 years ago
|
||
works in firebird 08/11
works in firebird 08/12 domi
does not work in firebird 08/13
Comment 6•22 years ago
|
||
I suspect the "new password manager" checkin on 08/11 because of previous bugs
involving prompt() and passwords (bug 147022, bug 148520, bug 184436). My 08/12
build has the new password manager without having this bug, but it's an
unofficial build from http://forums.mozillazine.org/viewtopic.php?t=19698, so
there could be strange differences. There was no official Windows nightly on 08/12.
If this is related to password manager, it could be a security hole like two of
the bugs I linked in the previous paragraph.
I can confirm this is still a problem using on Windows 2000 using this build:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030829
Firebird/0.6.1+
It's also an unofficial build from MozillaZine, however there haven't been any
official builds in the past few days to try on.
Reporter | ||
Updated•22 years ago
|
Severity: major → critical
Comment 8•22 years ago
|
||
webmaster@tsn.dk: can you explain why you set the severity to critical?
Reporter | ||
Comment 9•22 years ago
|
||
The bug is something which breaks web-standards and breaks a javascript function
- in Firebird alone.
This is not acceptable and should be fixed soon. The bug cannot fade in with the
rest, because it blocks the usage of a *very* common javascript function on all
websites. The prompt() function is perfectly supported on all other common
browsers: Mozilla Suite, IE etc. It would be a shame if Firebird had this bug
for too long and thereby not allow the use of websites at the same level as
Mozilla Suite.
In other words: It needs to get fixed - It needs attention
Comment 10•22 years ago
|
||
Here's a test case if developers want one so they don't have to make their own.
This is definitely a biggie in my book because so many bookmarklets use this.
Comment 11•22 years ago
|
||
Marking a bug critical isn't going to get prompt action on its own. Reverting
to correct severity.
Flagging for 0.7, assigning provisionally to bryner.
bryner, this is apparently related to your checkins for the new password
manager, can you take a look?
Assignee: blake → bryner
Severity: critical → major
QA Contact: asa → mpconnor
Target Milestone: --- → Firebird0.7
Assignee | ||
Comment 12•22 years ago
|
||
Assignee | ||
Comment 13•22 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 14•22 years ago
|
||
Verified using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030908 Firebird/0.6.1+
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•