Implement historical returnValue attribute for Event interface

This commit is contained in:
Patrick Ngai 2019-02-24 23:58:51 +08:00
parent 427003210b
commit fcadff7bad
6 changed files with 13 additions and 42 deletions

View file

@ -26,6 +26,7 @@ interface Event {
readonly attribute boolean bubbles;
[Pure]
readonly attribute boolean cancelable;
attribute boolean returnValue; // historical
void preventDefault();
[Pure]
readonly attribute boolean defaultPrevented;