dom: Implement current window event.

This commit is contained in:
Josh Matthews 2020-05-05 15:04:44 -04:00
parent 19f4be38d2
commit 097a84671a
6 changed files with 63 additions and 24 deletions

View file

@ -180,6 +180,10 @@ partial interface Window {
Selection? getSelection();
};
// https://dom.spec.whatwg.org/#interface-window-extensions
partial interface Window {
[Replaceable] readonly attribute any event; // historical
};
dictionary WindowPostMessageOptions : PostMessageOptions {
USVString targetOrigin = "/";