Closed
Bug 247753
Opened 20 years ago
Closed 19 years ago
Closing Browser does not block popups.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: powrsurg, Assigned: jag+mozilla)
References
(Blocks 1 open bug, )
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
I am using a fresh install of Firefox 0.9 (deleted contents of previous version
+ created a new profile).
Going to a web site with JavaScript that contains window.open(some_URL); in an
onUnload normally is blocked if the user goes to another web page or the tab is
closed. Unfortunately, closing the browser window does not disable the onUnload
event. Just testing shows that this does not have to be the only tab open (nor
even the tab that is on top).
Reproducible: Always
Steps to Reproduce:
Actual Results:
A pop-up window appeared.
Expected Results:
Blocked the pop-up from appearing.
Comment 1•20 years ago
|
||
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040805
Firefox/0.9.1+
onUnload="spawntopfivewindow();
This sounds like bug 259117, which has been very recently fixed.
Comment 3•20 years ago
|
||
This bug still present in 1.0 final.
Sample code to reproduce (cribbed from the wild at http://crack.ms)
<body onUnload=Und();>
<SCRIPT LANGUAGE="JavaScript">
//<!--
function Und(){
window.open('http://xxxxxx.com/i/?id=st00314&r='+location,'ocimp','toolbar=1,location=1,status=1,menubar=1,scrollbars=1,resizable=1');
if (window.focus) {window.focus();}}
// -->
</SCRIPT>
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Updated•20 years ago
|
Component: XP Apps → General
Product: Mozilla Application Suite → Firefox
Comment 4•19 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050826
Firefox/1.6a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060106 Firefox/1.6a1
WFM. Popup blocker has improved a lot since bug report. Closing WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•