[Bug 1331081] omit addEventListener/removeEventListener's third parameter when it's false
Upstream changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1331081; this patch also covers one file, `pdf_print_service.js`, that's not present in mozilla-central. Fixes 7962.
This commit is contained in:
parent
c1703e977d
commit
70c1a6b120
4 changed files with 12 additions and 13 deletions
|
@ -320,8 +320,8 @@
|
|||
event.stopImmediatePropagation();
|
||||
}
|
||||
};
|
||||
window.addEventListener('beforeprint', stopPropagationIfNeeded, false);
|
||||
window.addEventListener('afterprint', stopPropagationIfNeeded, false);
|
||||
window.addEventListener('beforeprint', stopPropagationIfNeeded);
|
||||
window.addEventListener('afterprint', stopPropagationIfNeeded);
|
||||
}
|
||||
|
||||
var overlayPromise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue