Skip to content

Commit

Permalink
RELNOTES: n/a
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 524950896
Change-Id: I1291a054363c0fd2b059dbdba20e38f2662fdfb3
  • Loading branch information
Closure Team authored and Copybara-Service committed Apr 17, 2023
1 parent 8668201 commit 963b5d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions closure/goog/events/browserfeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ exports = {
}
});
try {
goog.global.addEventListener('test', () => {}, options);
goog.global.removeEventListener('test', () => {}, options);
const nullFunction = () => {};
goog.global.addEventListener('test', nullFunction, options);
goog.global.removeEventListener('test', nullFunction, options);
} catch (e) {
}

Expand Down

0 comments on commit 963b5d0

Please sign in to comment.