Closed Bug 875743 Opened 11 years ago Closed 11 years ago

Tab drag to new window breaks Javascript alerts/popups

Categories

(Firefox :: Untriaged, defect)

21 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 827084

People

(Reporter: binbugtracker, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Steps to reproduce:

Reproducible: Always

Steps to Reproduce:
1: Open Firefox with two tabs (first tab is only a placeholder)
2: Open Error Console
3: In second tab, navigate to http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert
4: Click the button.  Should work as expected.

5: Drag Tryit Editor tab outside of Firefox to open that tab in a new window.
6: Click the button.
7: repeat step 6 until error appears in Console


Actual results:

Errors are thrown and popup never appears.  Error is
Error: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert]  (see https://bugzilla.mozilla.org/show_bug.cgi?id=681505).  As with the bug linked here, that execution crashes.


Expected results:

No error should be thrown.  Popup should appear as expected.
For additional information, see stackoverflow post: http://stackoverflow.com/questions/16726624/firefox-tab-drag-yields-javascript-alert-failure
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.