Closed
Bug 370338
Opened 18 years ago
Closed 18 years ago
2 popups when popup launched from onblur
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: csthomas, Unassigned)
References
()
Details
Attachments
(3 files)
The testcase in the URL field results in 2 popups. I thought it only worked if you don't force new windows into tabs, but asrail says that's not needed. Steps to reproduce:
Load the testcase in a tab. Click somewhere in the page. Focus something else (for example, switch to another tab).
Comment 1•18 years ago
|
||
I have some strange behaviour from this bug.
Testing on SM1.1, with a clean profile, I don't reproduce it with that data URI.
I only can reproduce when setting dom.disable_open_during_load to false.
I can reproduce it when viewing a web-page with that code and the host is allowed.
Comment 2•18 years ago
|
||
This is the stack from the second window opening. The first window opening seems to trigger another event that results in the second window. The first ::OpenWindowJS call is at frame 59
Comment 3•18 years ago
|
||
The bug also occurs with a less exciting event handler. This is the stack for the first call to SetInnerHTML
data:text/html,<body id="body" onblur="document.getElementById('body').innerHTML+='asdf<br>';">asdf<br></body>
Comment 4•18 years ago
|
||
And the second stack for innerHTML. The primary difference is that ::PreHandleEvent has advanced to line 1120.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/content/events/src/nsEventStateManager.cpp&rev=1.690&mark=1114,1119#1111
Comment 5•18 years ago
|
||
old bug, apparently
Status: NEW → RESOLVED
Closed: 18 years ago
OS: Windows XP → All
Resolution: --- → DUPLICATE
Version: 1.8 Branch → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•