Closed Bug 828475 Opened 11 years ago Closed 11 years ago

alert(), prompt() and confirm() cause exceptions in pop out tabs

Categories

(Firefox :: Untriaged, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 827084

People

(Reporter: bram.speeckaert, Unassigned)

Details

STR:
1) Have a window open with at least two tabs (so moving one tab out of the window will create a new window)
2) Pop a tab out of the window, creating a second window
3) Open the Web Console on the tab
4) Try executing "alert('')", "confirm('')" or "prompt()"

The functions will wrongfully give back an exception:
[17:39:32.055] alert('')
[17:39:32.057] [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: Web Console :: <TOP_LEVEL> :: line 1"  data: no]
This was found using the latest Nightly build (21.0a1 2013-01-09).
This worked for me on MacOS X 10.8.2 on Nightly 21.0a1 (2013-01-09).
maybe duplication of Bug 827084
Agreed
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.