bug: error message in error console if i reload a page while a javascript alert() box is displayed.
bug: i have an alert("haha"); displayed from an inpage button with javascript, and while the alert message is still open, if i do a refresh i get this error in the error console:
Timestamp: 2/5/2012 12:27:27 μμ Error: uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 457" data: no]
it happens on every site that shows an alert dialogue box
online example: w3schools example
press the "show alert box" button and as the alert box is open do a page refresh.
Modified
All Replies (1)
I didn't realize you could reload in that situation; I thought alert() was application modal. Hmmm...
In Firefox 13 beta 4 on Windows 7 I still see the error:
Timestamp: 5/22/2012 7:41:13 PM
Error: uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 457" data: no]
I don't think it has any negative consequence. Did you just want to get it on someone's list to look at, or is it a problem for your page/application?
I looked in Bugzilla briefly and these sound related:
Both note the error when navigating the tab in different ways with the alert displayed. But... not much attention to them so far.