Expose BeforeUnloadEvent only in Window

This commit is contained in:
Anthony Ramine 2017-01-21 01:10:38 +01:00
parent 1b68f79468
commit e3980e6235
4 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@
* https://html.spec.whatwg.org/multipage/#beforeunloadevent
*/
[Exposed=(Window,Worker)]
[Exposed=Window]
interface BeforeUnloadEvent : Event {
attribute DOMString returnValue;
};