Closed Bug 568965 Opened 15 years ago Closed 7 years ago

nsIContentPolicy blocking external link causes firefox to open new blank tab, and new blank window

Categories

(Firefox :: General, defect)

3.6 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: steimle1, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 When developing an extension and extending the nsIContentPolicy, if you block a regular url say google.com. It works just fine. However if you click an external link in say word, an email program, or a custom program then the link is blocked but firefox opens a new blank tab, and a new blank window. This only happens if the link is blocked. If the link is not blocked the page loads normally. Reproducible: Always Steps to Reproduce: 1.Install an extension that blocks web pages using the nsIContentPolicy interface. 2.Click on a blocked link in an external program 3.Firefox will open a new blank tab, and new blank window. Actual Results: Firefox will open a new blank tab, and new blank window. Expected Results: Firefox will open a new blank tab, and new blank window. Not opened a new tab, and not opened a new window.
Version: unspecified → 3.6 Branch

Sorry, legacy extensions are no longer supported.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.