Closed
Bug 282341
Opened 21 years ago
Closed 20 years ago
Javascript function "prompt(string)" fail
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 272455
People
(Reporter: flod, Assigned: jst)
Details
(Keywords: regression)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.5) Gecko/20050214 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.5) Gecko/20050214 Firefox/1.0
Javascript "prompt" function is not working on both these versions
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050214 Firefox/1.0+
Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.5) Gecko/20050214 Firefox/1.0
I've got an extension that uses this function and Javascript console displays
this error:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.prompt]" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
chrome://bbcodextra/content/bbcodextra.js :: anonymous :: line 190" data: no]
I've already verified this problem on clean install and new profile
Reproducible: Always
Reporter | ||
Comment 1•21 years ago
|
||
I just forgot to say that I've already found this bug
https://bugzilla.mozilla.org/show_bug.cgi?id=272455
I think it's the same problem even if this bug is compiled for TB
Summary: Javascript prompt fail → Javascript function "prompt(string)" fail
Confirmed on Firefox 1.0.1 Windows XP.
This should have been a show-stopper for the 1.0.1 release, as it breaks many
extensions.
Comment 3•20 years ago
|
||
Same problem here, starting on 1.0.1 (1.0 works fine), tested on OSX 1.0.1,
WinXP 1.0.1 and 1.0+ from today with clean profile.
Easiest way to reproduce is Tools.. Javascript Console.. type:
prompt("a");
on the line, click evaluate, see error message.
Comment 4•20 years ago
|
||
(In reply to comment #2)
> Confirmed on Firefox 1.0.1 Windows XP.
> This should have been a show-stopper for the 1.0.1 release, as it breaks many
> extensions.
It is a show-stopper in deed. We have an extension for our English-Hungarian
dictionary and several user reported that the extension is broken as it doesn't
display a prompt for entering a word if no word is selected in the page. See:
http://szotar.sztaki.hu/docs/kozepsoujj/mozilla/sztakidict_0.2.xpi
Updated•20 years ago
|
Flags: blocking-aviary1.1?
Keywords: regression
Updated•20 years ago
|
Flags: blocking-aviary1.0.2?
Updated•20 years ago
|
Component: General → DOM
Product: Firefox → Core
Version: unspecified → 1.0 Branch
Updated•20 years ago
|
Assignee: firefox → general
QA Contact: general → ian
Updated•20 years ago
|
Assignee: general → jst
Flags: blocking-aviary1.0.2?
Assignee | ||
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 272455 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Flags: blocking-aviary1.1?
Comment 6•20 years ago
|
||
minusing dupe
Flags: blocking-aviary1.0.3?
Flags: blocking-aviary1.0.3-
Flags: blocking-aviary1.0.2?
Flags: blocking-aviary1.0.2-
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•