mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
Bug 1918723 - Remove inline popup handlers from identity-popup. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D222283
This commit is contained in:
parent
83776e7556
commit
0cf632180b
@ -186,6 +186,14 @@ var gIdentityHandler = {
|
||||
},
|
||||
|
||||
_initializePopupListeners() {
|
||||
let popup = this._identityPopup;
|
||||
popup.addEventListener("popupshown", event => {
|
||||
this.onPopupShown(event);
|
||||
});
|
||||
popup.addEventListener("popuphidden", event => {
|
||||
this.onPopupHidden(event);
|
||||
});
|
||||
|
||||
const COMMANDS = {
|
||||
"identity-popup-security-button": () => {
|
||||
this.showSecuritySubView();
|
||||
|
@ -9,8 +9,6 @@
|
||||
role="alertdialog"
|
||||
noautofocus="true"
|
||||
aria-labelledby="identity-popup-mainView-panel-header-span"
|
||||
onpopupshown="gIdentityHandler.onPopupShown(event);"
|
||||
onpopuphidden="gIdentityHandler.onPopupHidden(event);"
|
||||
orient="vertical">
|
||||
|
||||
<panelmultiview id="identity-popup-multiView"
|
||||
|
Loading…
x
Reference in New Issue
Block a user