mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1473253 - Stop setting onerror attribute on tabs. r=dao
This commit is contained in:
parent
aa35629fdf
commit
f453080096
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user