-
Notifications
You must be signed in to change notification settings - Fork 128
Conversation
This adds : (important on Windows), \, <, and > to the blacklist. Followup in #3083
In test conditions, when the browser is started and stopped very quickly, sometimes we didn't shut down the WebExtension because it hadn't fully started. r=kmag (in https://bugzilla.mozilla.org/show_bug.cgi?id=1373614)
* Validate iframe URLs Remove unneeded iframe onload handlers * Put temporary clipboard TEXTAREA in an iframe With iframe URL validation
* set dimensions for icon and add to startup (#3136) * Address 10.6 review comments (bug 1381132) * Update version to 10.7.0 with changelog
* Do not re-wrap onResize when adding and removing the listener This caused the removeEventListener to silently fail, as the wrapped functions did not match (by identity) Fixes #3153 * Suppress error popups for all errors in resize handlers Errors still go to Sentry
…ots into v10.4.0-export
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R+. One minor memory leak that can be fixed now or in a followup bug, your call. Feel free to self-merge.
@@ -275,14 +277,16 @@ this.ui = (function() { // eslint-disable-line no-unused-vars | |||
}, | |||
|
|||
hide() { | |||
window.removeEventListener("scroll", this.onScroll); | |||
window.removeEventListener("scroll", watchFunction(assertIsTrusted(this.onScroll))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't catch this before, but just as with this.onResize
, if we wrap this.onScroll
inline, removeEventListener will fail to detach the listener. It doesn't lead to any thrown errors, but is a memory leak. I'm fine to address this here or in a followup bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make a followup: #3198
Fixes #3142
The ui.js merge was a little hairy, extra attention to that file would be welcome.