mirror of
https://github.com/lexmount/moli.git
synced 2026-11-24 16:02:53 +00:00
feat(webidl): expose secure Web Locks interface shells
This commit is contained in:
@@ -34,6 +34,8 @@ pub(in crate::context_bootstrap) const WORKER_SHARED_INTERFACE_NAMES: &[&str] =
|
||||
"DOMQuad",
|
||||
"DOMMatrixReadOnly",
|
||||
"DOMMatrix",
|
||||
"Lock",
|
||||
"LockManager",
|
||||
"EventTarget",
|
||||
"Event",
|
||||
"CustomEvent",
|
||||
@@ -200,6 +202,8 @@ const SECURE_CONTEXT_ONLY_INTERFACE_NAMES: &[&str] = &[
|
||||
"MediaDeviceInfo",
|
||||
"InputDeviceInfo",
|
||||
"CredentialsContainer",
|
||||
"Lock",
|
||||
"LockManager",
|
||||
"Worklet",
|
||||
"AudioWorklet",
|
||||
"ServiceWorker",
|
||||
|
||||
@@ -88,6 +88,14 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[
|
||||
interface: web_api_interfaces::CredentialsContainer::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::Lock::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::LockManager::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::External::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
|
||||
Reference in New Issue
Block a user