finally finish webRequest

This commit is contained in:
wuggy 2026-09-14 15:06:27 -07:00
commit f628239ef3
9 changed files with 197 additions and 69 deletions

View file

@ -5466,7 +5466,7 @@ function handleLinkClick(event, href, linkNode) {
urlSecurityCheck(href, doc.nodePrincipal);
let params = {
charset: doc.characterSet,
currentBrowser: gBrowser.getBrowserForDocument(doc),
currentBrowser: gBrowser.getBrowserForContentWindow(doc.defaultView.top),
frameOuterWindowID: doc.defaultView.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils).outerWindowID,
allowMixedContent: persistAllowMixedContentInChildTab,