mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Expose BeforeUnloadEvent only in Window
This commit is contained in:
parent
1b68f79468
commit
e3980e6235
4 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
* https://html.spec.whatwg.org/multipage/#beforeunloadevent
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
[Exposed=Window]
|
||||
interface BeforeUnloadEvent : Event {
|
||||
attribute DOMString returnValue;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue