Closed Bug 266588 Opened 20 years ago Closed 20 years ago

Wrong URL is added to popup whitelist when popup is in a frame on a different website

Categories

(Firefox :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 264762

People

(Reporter: mozilla, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1

A page on sitea.com has frames, and one of those frames is a page on siteb.com,
which opens a popup window.

Firefox gives the warning message that the popup has been blocked, but when you
click on the warning bar it gives you the option to 'allow popups for sitea.com',
however selecting this doesn't solve the problem, since it is siteb.com that
needs to be added to the popup whitelist.

firefox is getting the site from the main page, rather than the frame.

simple example website to reproduce the problem:

on sitea.com - index.html
<HTML>
<FRAMESET rows="*">
<FRAME src="http://www.siteb.com/frame.html">
</FRAMESET>
</HTML>

on siteb.com - frame.html
<HTML>
<BODY onload="window.open('http://siteb.com/popup.html');">
</BODY>
</HTML>

This maybe related to bugs: 266212, 251070, 264766 - but unable to check
those specific websites.

Reproducible: Always
Steps to Reproduce:
1. visit sitea.com/index.html
2. firefox reports popup is blocked
3. click on popup message bar - allow sitea.com
4. refresh

Actual Results:  
5. firefox still reports popup is blocked

Expected Results:  
step 3 should have been to click on popup message bar and allow siteb.com

*** This bug has been marked as a duplicate of 264762 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.