mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
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:
parent
73ad962480
commit
c84a99bcfd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user