EventTarget.addEventListener/removeEventListener throws a TypeError when the second argument |callback| is neither of EventListener nor Null nor Undefined. Historically Blink had not been reporting a TypeError for the second argument of EventTarget.{add,remove}EventListener, but reports a TypeError since M63.

Specification

Established standard

Status in Chromium

Blink>Bindings


Enabled by default (tracking bug) in:

  • Chrome for desktop release 63
  • Chrome for Android release 63
  • Android WebView release 63

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped/Shipping
  • No signal
  • Shipped/Shipping
  • No signals

Owner

Last updated on 2020-11-09