Bug 1609750 - Ignore Extension fallback page in LoadURIDelegate. r=esawin

Differential Revision: https://phabricator.services.mozilla.com/D60174

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Agi Sferro 2020-01-17 15:23:57 +00:00
parent 73ad962480
commit c84a99bcfd

View File

@ -29,6 +29,13 @@ class LoadURIDelegateChild extends GeckoViewActorChild {
debug`webextension-view-type: ${viewType}`;
return false;
}
const debugTarget = browser.getAttribute(
"webextension-addon-debug-target"
);
if (debugTarget) {
debug`webextension-addon-debug-target: ${debugTarget}`;
return false;
}
}
return this.docShell.itemType == this.docShell.typeContent;