You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use monkeyPatchMethod for isBlankBrowser as well.
TMP isn't the only add-on that provides this method, Tab Utils does as well. But there it doesn't get set until after BarTab has initialized. Since monkeyPatchMethod will install a setter, we can catch its setting and all is well.
Only bind the parameters we really need and that's aURI. In particula…
…r, avoid reassigning aReferrerURI as that will magically change arguments[1], too (aReferrerURI is the 2nd parameter)!