diff --git a/moli-renderer-v8/src/context_bootstrap/exposed_interfaces/metadata.rs b/moli-renderer-v8/src/context_bootstrap/exposed_interfaces/metadata.rs index cc241184544..709a5ce1293 100644 --- a/moli-renderer-v8/src/context_bootstrap/exposed_interfaces/metadata.rs +++ b/moli-renderer-v8/src/context_bootstrap/exposed_interfaces/metadata.rs @@ -145,10 +145,6 @@ pub(in crate::context_bootstrap) const WORKER_SHARED_INTERFACE_NAMES: &[&str] = "BroadcastChannel", "Notification", "ImageData", - "MediaSourceHandle", - "SourceBuffer", - "SourceBufferList", - "EncodedVideoChunk", "ImageBitmap", "ImageBitmapRenderingContext", "CanvasGradient", @@ -580,9 +576,7 @@ fn exposure_for_name(name: &str) -> ExposureSet { "ServiceWorkerContainer" => ExposureSet::WINDOW_ONLY, "ServiceWorker" => ExposureSet::WINDOW_AND_SERVICE_WORKER, "FileSystemSyncAccessHandle" => ExposureSet::DEDICATED_WORKER_ONLY, - "RTCEncodedAudioFrame" | "RTCEncodedVideoFrame" | "EncodedVideoChunk" => { - ExposureSet::WINDOW_AND_DEDICATED_WORKER - } + "RTCEncodedAudioFrame" | "RTCEncodedVideoFrame" => ExposureSet::WINDOW_AND_DEDICATED_WORKER, _ if WINDOW_AND_DEDICATED_WORKER_INTERFACE_NAMES.contains(&name) => { ExposureSet::WINDOW_AND_DEDICATED_WORKER } diff --git a/moli-renderer-v8/src/context_bootstrap/specs/registry.rs b/moli-renderer-v8/src/context_bootstrap/specs/registry.rs index a13a06a6def..4b218107227 100644 --- a/moli-renderer-v8/src/context_bootstrap/specs/registry.rs +++ b/moli-renderer-v8/src/context_bootstrap/specs/registry.rs @@ -310,7 +310,7 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[ }, ConstructorSpec { interface: web_api_interfaces::EncodedVideoChunk::DESCRIPTOR, - kind: ConstructorKind::Shell { length: 1 }, + kind: ConstructorKind::EncodedVideoChunk, }, ConstructorSpec { interface: web_api_interfaces::LargestContentfulPaint::DESCRIPTOR, @@ -1260,14 +1260,6 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[ interface: web_api_interfaces::MediaCapabilities::DESCRIPTOR, kind: ConstructorKind::Illegal, }, - ConstructorSpec { - interface: web_api_interfaces::VideoDecoder::DESCRIPTOR, - kind: ConstructorKind::Shell { length: 1 }, - }, - ConstructorSpec { - interface: web_api_interfaces::VideoEncoder::DESCRIPTOR, - kind: ConstructorKind::Shell { length: 1 }, - }, ConstructorSpec { interface: web_api_interfaces::Touch::DESCRIPTOR, kind: ConstructorKind::Touch, @@ -1599,10 +1591,6 @@ const CONSTRUCTOR_SPECS_AFTER_STREAMS: &[ConstructorSpec] = &[ interface: web_api_interfaces::ImageBitmap::DESCRIPTOR, kind: ConstructorKind::Illegal, }, - ConstructorSpec { - interface: web_api_interfaces::EncodedVideoChunk::DESCRIPTOR, - kind: ConstructorKind::EncodedVideoChunk, - }, ConstructorSpec { interface: web_api_interfaces::RTCPeerConnection::DESCRIPTOR, kind: ConstructorKind::RtcPeerConnection,