Closed
Bug 152257
Opened 24 years ago
Closed 23 years ago
[RFE] cancel alert or timed alert box (and prompt too)
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: danielwang, Assigned: jst)
References
Details
create a cancelAlert() or a timedAlert(msg,mms) function so that a Web page can
cancel an alert box it created when the user fails to respond.
same thing for the prompt() function.
Comment 1•24 years ago
|
||
Browser, not engine ---> DOM Level 0
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Summary: cancel alert or timed alert box (and prompt too) → [RFE] cancel alert or timed alert box (and prompt too)
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 2•23 years ago
|
||
That doesn't quite work, alert() and prompt() are modal dialogs, and that means
that no JS can run (or should run) in mozilla while the dialog is open, thus
these methods would be pointless. WONTFIX.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 3•23 years ago
|
||
how about something like *alert(msg,auto), prompt(msg,input,def,auto), and
confirm(msg,auto)*, where the parameter /auto/ indicates whether to close the
modal dialog and return the default value when the user fails to respond. This
would allow web-monsters to be able to bypass non-essential information prompt
to ensure timely processing and to avoid intruding the user. The user should be
able to set the wait-time in the Preference (Web-monsters shouldn't have access
to this). The default value for the wait-time should be (infinity).
a similar feature for all application messages would also be nice.
If a command line interface is created for Mozilla, then we'd also have a space
to dump all the missded messages.
| Assignee | ||
Comment 4•23 years ago
|
||
People who really need to show messages to users and don't want to do so in a
modal dialog are free to open new windows for dumping information to the user
in, and the are free to make that window stay open for any length of time.
There's no presedence for making alert()'s non-modal, IE doesn't do it, 4x
doesn't do it, so making mozilla do that would be more confusing than helpful to
the average user/web developer.
You need to log in
before you can comment on or make changes to this bug.
Description
•