Files
node/lib
Daeyeon Jeong ed1e9ae402 events: improve EventListener validation
This fixes validating `EventListener` given to `add/removeEventListener`
to improve the Web API compatibility.

According to the WPT test failure with the current validation,
`addEventListener` should not require `handleEvent` to be defined on
an `EventListener`".  IIUC, the same can be applied to
`removeEventListener` also.

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com

PR-URL: https://github.com/nodejs/node/pull/43491
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2022-06-29 12:26:18 +01:00
..
2022-06-11 12:18:14 +02:00
2022-01-30 14:07:32 +00:00
2022-06-11 12:18:15 +02:00
2022-06-11 12:18:11 +02:00
2022-06-11 12:18:13 +02:00
2022-06-29 10:58:35 +01:00
2022-06-15 18:02:01 -04:00
2022-06-29 12:31:47 +03:00
2022-03-14 21:12:44 +00:00
2022-06-17 19:23:56 +08:00
2022-06-11 12:18:16 +02:00