mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1845305 - remove null principal check for autocompletion r=dimi
Removing the null principal check enables autocompletion in sandboxed iframe forms. fyi: tests are in the previous commit of the stack. Differential Revision: https://phabricator.services.mozilla.com/D203241
This commit is contained in:
parent
497846017a
commit
47a03bc616
@ -327,11 +327,7 @@ export class FormAutofillChild extends JSWindowActorChild {
|
||||
|
||||
shouldIgnoreFormAutofillEvent(event) {
|
||||
let nodePrincipal = event.target.nodePrincipal;
|
||||
return (
|
||||
nodePrincipal.isSystemPrincipal ||
|
||||
nodePrincipal.isNullPrincipal ||
|
||||
nodePrincipal.schemeIs("about")
|
||||
);
|
||||
return nodePrincipal.isSystemPrincipal || nodePrincipal.schemeIs("about");
|
||||
}
|
||||
|
||||
handleEvent(evt) {
|
||||
|
Loading…
Reference in New Issue
Block a user