Bug 1473253 - Stop setting onerror attribute on tabs. r=dao

This commit is contained in:
Manish Kumar 2018-07-09 20:03:57 +02:00
parent aa35629fdf
commit f453080096
2 changed files with 0 additions and 3 deletions

View File

@ -2231,8 +2231,6 @@ window._gBrowser = {
ContextualIdentityService.setTabStyle(t); ContextualIdentityService.setTabStyle(t);
} }
t.setAttribute("onerror", "this.removeAttribute('image');");
if (aSkipBackgroundNotify) { if (aSkipBackgroundNotify) {
t.setAttribute("skipbackgroundnotify", true); t.setAttribute("skipbackgroundnotify", true);
} }

View File

@ -111,7 +111,6 @@
var tab = this.firstChild; var tab = this.firstChild;
tab.label = this.emptyTabTitle; tab.label = this.emptyTabTitle;
tab.setAttribute("onerror", "this.removeAttribute('image');");
window.addEventListener("resize", this); window.addEventListener("resize", this);