mirror of
https://github.com/lexmount/moli.git
synced 2026-11-21 16:03:10 +00:00
feat(media): expose encrypted media interface shells
This commit is contained in:
@@ -220,6 +220,11 @@ const SECURE_CONTEXT_ONLY_INTERFACE_NAMES: &[&str] = &[
|
||||
"MIDIOutput",
|
||||
"MIDIOutputMap",
|
||||
"MIDIPort",
|
||||
"MediaKeyMessageEvent",
|
||||
"MediaKeySession",
|
||||
"MediaKeyStatusMap",
|
||||
"MediaKeySystemAccess",
|
||||
"MediaKeys",
|
||||
"Worklet",
|
||||
"AudioWorklet",
|
||||
"ServiceWorker",
|
||||
|
||||
@@ -128,6 +128,26 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[
|
||||
interface: web_api_interfaces::MIDIPort::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::MediaKeyMessageEvent::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 2 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::MediaKeySession::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::MediaKeyStatusMap::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::MediaKeySystemAccess::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::MediaKeys::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::External::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
|
||||
@@ -38,7 +38,6 @@ interfaces! {
|
||||
MediaKeyMessageEvent: Event;
|
||||
MediaKeySession: EventTarget;
|
||||
MediaKeyStatusMap;
|
||||
MediaKeyStatusMapIterator = "MediaKeyStatusMap Iterator";
|
||||
MediaKeySystemAccess;
|
||||
MediaKeys;
|
||||
PaymentMethodChangeEvent: PaymentRequestUpdateEvent;
|
||||
|
||||
Reference in New Issue
Block a user