RequestPolicy/tractest — Issue #24: SeaMonkey: context menu "open link in new tab" fails
Author: jsamuel
Created: 2011-12-22 02:30:24+00:00
State: open
Labels: extension

On !SeaMonkey 2.0b2pre, using "open link in new tab" fails when trying to open a cross-site link. What you get is a blank tab and the following message which looks like the browser reacting to !ShouldLoad returning false for the url it's trying to display in the new tab:

{{{
Error: uncaught exception: [Exception... "Component returned
failure code: 0x805e000a [nsIWebNavigation.loadURI]" nsresult:
"0x805e000a ()" location: "JS frame :: chrome://global/content/bindings/browser.xml
:: loadURIWithFlags :: line 186" data: no]
}}}

The fundamental problem is that our registerLinkClicked() function is not getting called. There is some chance this is the result of the crappy workaround for !TabMixPlus in our _wrapAddTab() function in overlay.js.