Closed
Bug 651105
Opened 14 years ago
Closed 14 years ago
Alert:Prevent this page from creating dialogs does not work as expected
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
DUPLICATE
of bug 633154
People
(Reporter: wes, Unassigned)
Details
When a web page invokes alert many times, we get the option to suppress the alerts presented as a check box.
Checking this check box causes this exception to be thrown upon subsequent invocations of alert:
[08:46:01.304] uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindowInternal.alert]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://www.page.ca/~wes/test.html :: <TOP_LEVEL> :: line 8" data: no]
This is *not* the behaviour that web developers expect. We expect our code to continue running, with the alert boxes suppressed. Nobody wraps alert in try..catch blocks.
Updated•14 years ago
|
Component: XP Toolkit/Widgets: XUL → XUL Widgets
Product: Core → Toolkit
QA Contact: xptoolkit.xul → xul.widgets
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Version: 2.0 Branch → Trunk
Comment 1•14 years ago
|
||
This would seem to be a duplicate of bug 633154, which in turn refers to last two paragraphs of bug 61098 comment #209
Comment 2•14 years ago
|
||
mm. icky.
Does that look like what you're seeing, Wes? If so, please dupe this against the above-mentioned bug.
![]() |
||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•