Bug 1496827 - Remove the "notification" binding. r=bgrins

Differential Revision: https://phabricator.services.mozilla.com/D11650
This commit is contained in:
Paolo Amadini
2018-11-13 12:56:42 +00:00
parent 275c8989dc
commit d03e533476
38 changed files with 616 additions and 696 deletions

View File

@@ -242,6 +242,11 @@ XPCOMUtils.defineLazyGetter(this, "Win7Features", function() {
return null;
});
customElements.setElementCreationCallback("translation-notification", () => {
Services.scriptloader.loadSubScript(
"chrome://browser/content/translation-notification.js", window);
});
var gBrowser;
var gLastValidURLStr = "";
var gInPrintPreviewMode = false;