Closed Bug 416747 Opened 17 years ago Closed 15 years ago

popup blocker does not let you un-block popups from file:/// URLs (with no website address)

Categories

(SeaMonkey :: General, defect)

SeaMonkey 1.1 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 204328

People

(Reporter: darkfoxprime, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 Browser: SeaMonkey 1.1.7 OS: Windows XP Home Edition Version 2002 Service Pack 2 I created a simple html file that uses javascript to popup 12 other windows. It works fine when I put it on a web site and load it into seamonkey, after telling the popup blocker to allow that web site's address. However, when I copied the file to my desktop and loaded it from there, there was no way to unblock the popups. Clicking the popup explosion icon, or selecting "Tools -> Popup Manager -> Allow Popups From This Site" both brought up the "Allowed Sites - Popups" dialog with nothing in the web site address, and no way for me to tell it to allow popups from file:/// URLs. Reproducible: Always Steps to Reproduce: 1. Create the file "test.html" on your windows desktop (see attached file). 2. Enable the pop-up blocker in seamonkey. 3. Double-click the file on the desktop to launch it in the browser, or open it through "File -> Open File...". 4. Try to get the popup to work. Actual Results: I was unable to find any way to make the popup window appear. Expected Results: There should be a way to allow popups from local files.
Attached file Test case for local pop-ups. (deleted) —
Assignee: dveditz → general
Component: Security → General
QA Contact: seamonkey → general
Attachment #302504 - Attachment mime type: text/plain → text/html
Version: unspecified → SeaMonkey 1.1 Branch
Can confirm this. This also affects latest Firefox (3.0.6).
WFM In 1.1.x right click the popup icon. In 2.x click preferences on the alert bar. (The URL should begin with http:// to work properly.)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Doh, the whole point of this bug report is that it does NOT work for file:/// (local) URLS. Please read the bug title again. The consequences are that i'm not able to open popoup windows from html files stored on my local machine.
I mean the URL in the test case: > window.open("www.mozilla.org"); -- doesn't work > window.open("http://www.mozilla.org"); -- works
(In reply to comment #5) > I mean the URL in the test case: > > > window.open("www.mozilla.org"); -- doesn't work > > window.open("http://www.mozilla.org"); -- works That's irrelevant. The bug is about file:///C:/Documents%20and%20Settings/johndoe/My%20Documents/test.html -- not about anything on the Mozilla site. To run the test case, you should first download it locally.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
As I mentioned in comment 3, right clicking the Exclamation mark icon will give the option to open, in this case, file:///C:/Documents%20and%20Settings/johndoe/My%20Documents/www.mozilla.org or /home/johndoe/www.mozilla.org or similar. The bug is that a suitable exception cannot be added.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: