LibWeb/HTML: Include the WindowOrWorkerGlobalScope mixin in Window.idl
This commit is contained in:
parent
6dd1934ed8
commit
8c0f0726d1
Notes:
sideshowbarker
2024-07-17 01:46:00 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/8c0f0726d1 Pull-request: https://github.com/SerenityOS/serenity/pull/17752 Reviewed-by: https://github.com/awesomekling
1 changed files with 2 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
|||
#import <DOM/EventHandler.idl>
|
||||
#import <DOM/EventTarget.idl>
|
||||
#import <HTML/Navigator.idl>
|
||||
#import <HTML/WindowOrWorkerGlobalScope.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
|
||||
[Global=Window, Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
|
@ -35,12 +36,7 @@ interface Window : EventTarget {
|
|||
undefined postMessage(any message, USVString targetOrigin);
|
||||
// FIXME: undefined postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []);
|
||||
// FIXME: undefined postMessage(any message, optional WindowPostMessageOptions options = {});
|
||||
|
||||
// FIXME: Replace these with 'Window includes WindowOrWorkerGlobalScope;' once we have feature parity
|
||||
[Replaceable] readonly attribute USVString origin;
|
||||
readonly attribute boolean isSecureContext;
|
||||
DOMString btoa(DOMString data);
|
||||
ByteString atob(DOMString data);
|
||||
};
|
||||
Window includes GlobalEventHandlers;
|
||||
Window includes WindowEventHandlers;
|
||||
Window includes WindowOrWorkerGlobalScope;
|
||||
|
|
Loading…
Add table
Reference in a new issue