summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl')
-rw-r--r--Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl b/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
index d7541952e1..23443c8f5a 100644
--- a/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
+++ b/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
@@ -1,5 +1,6 @@
#import <Fetch/Request.idl>
#import <Fetch/Response.idl>
+#import <HTML/MessagePort.idl>
// https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope
interface mixin WindowOrWorkerGlobalScope {
@@ -27,7 +28,7 @@ interface mixin WindowOrWorkerGlobalScope {
// FIXME: Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options = {});
// structured cloning
- // FIXME: any structuredClone(any value, optional StructuredSerializeOptions options = {});
+ any structuredClone(any value, optional StructuredSerializeOptions options = {});
// https://fetch.spec.whatwg.org/#fetch-method
[NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {});