diff options
Diffstat (limited to 'devtools/shared/tests/xpcshell/test_eventemitter_static.js')
-rw-r--r-- | devtools/shared/tests/xpcshell/test_eventemitter_static.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/shared/tests/xpcshell/test_eventemitter_static.js b/devtools/shared/tests/xpcshell/test_eventemitter_static.js index 9b17a7612f..0d157e443a 100644 --- a/devtools/shared/tests/xpcshell/test_eventemitter_static.js +++ b/devtools/shared/tests/xpcshell/test_eventemitter_static.js @@ -300,7 +300,7 @@ const TESTS = { const actual = []; const object = { - [handler](type) { + [handler]() { actual.push(1); on(target, "message", () => { off(target, "message", object); |