How we built it

addEventListener/removeEventListener non-optional arguments

For a very long time, the first two arguments (type and listener) of addEventListener and removeEventListener have been optional, where they are non-optional in the spec and other browsers. This will change, so that calling these methods with zero or one argument will start to throw exceptions.




Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 49
  • Chrome for Android release 49
  • Android WebView release 49
  • Opera release 36
  • Opera for Android release 36

Consensus & Standardization

  • Shipped
  • Shipped
  • No public signals
  • No signals


Last updated on 2016-03-14