events: add tests, better toString
Support toStringTag
on EventTarget so that our implmentation logs [object EventTarget]
, add tests to that and a test for subclassing Event
s.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines