From 30e6b6c4999c146df529c451333f632db7d08d02 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:19:44 +0800 Subject: [PATCH] update serializable objects list --- .../structured_clone_algorithm/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/files/en-us/web/api/web_workers_api/structured_clone_algorithm/index.md b/files/en-us/web/api/web_workers_api/structured_clone_algorithm/index.md index 33bdb04796e2e40..22da38820ee993b 100644 --- a/files/en-us/web/api/web_workers_api/structured_clone_algorithm/index.md +++ b/files/en-us/web/api/web_workers_api/structured_clone_algorithm/index.md @@ -64,6 +64,9 @@ Browsers must serialize the properties `name` and `message`, and are expected to - {{domxref("DOMQuad")}} - {{domxref("DOMRect")}} - {{domxref("DOMRectReadOnly")}} +- {{domxref("EncodedAudioChunk")}} +- {{domxref("EncodedVideoChunk")}} +- {{domxref("FencedFrameConfig")}} - {{domxref("File")}} - {{domxref("FileList")}} - {{domxref("FileSystemDirectoryHandle")}} @@ -71,10 +74,17 @@ Browsers must serialize the properties `name` and `message`, and are expected to - {{domxref("FileSystemHandle")}} - {{domxref("GPUCompilationInfo")}} - {{domxref("GPUCompilationMessage")}} +- {{domxref("GPUPipelineError")}} - {{domxref("ImageBitmap")}} - {{domxref("ImageData")}} - {{domxref("RTCCertificate")}} +- {{domxref("RTCEncodedAudioFrame")}} +- {{domxref("RTCEncodedVideoFrame")}} - {{domxref("VideoFrame")}} +- {{domxref("WebTransportError")}} + +> [!NOTE] +> Serializable objects are marked up in [Web IDL files](https://github.com/w3c/webref/tree/main/ed/idl) with the attribute `[Serializable]`. ## See also