Skip to content

events: add a few tests

Added a few EventTarget tests I've found by playing with the code and "porting" bits of the spec I've read.

Note that at the moment Chrome has different prototype keys for Event though I could not figure out if that bit is actually required by the spec.

Object.keys(Object.getPrototypeOf(new Event('foo'))); // different between chrome and Node
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading