summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-03-07 18:21:49 +0000
committerLinus Groh <mail@linusgroh.de>2023-03-07 23:33:34 +0000
commit129ab024706ac035bd7a7445063fd9d0c71bf934 (patch)
tree134709994eb92a6c03d1f807eb4e28d770763137 /Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
parenta31c561a5a921899fac620607b3f9f75d65a4a11 (diff)
downloadserenity-129ab024706ac035bd7a7445063fd9d0c71bf934.zip
LibWeb/HTML: Port Window.structuredClone() to IDL
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 = {});