mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Use the newly added inCompartments option everywhere it can be
This commit is contained in:
@@ -31,7 +31,9 @@ DOMInterfaces = {
|
||||
},
|
||||
|
||||
#FIXME(jdm): This should be 'register': False, but then we don't generate enum types
|
||||
'TestBinding': {},
|
||||
'TestBinding': {
|
||||
'inCompartments': ['PromiseAttribute', 'PromiseNativeHandler'],
|
||||
},
|
||||
|
||||
'URL': {
|
||||
'weakReferenceable': True,
|
||||
@@ -50,8 +52,85 @@ DOMInterfaces = {
|
||||
'inCompartments': ['Fetch'],
|
||||
},
|
||||
|
||||
'TestBinding': {
|
||||
'inCompartments': ['PromiseAttribute'],
|
||||
'CustomElementRegistry': {
|
||||
'inCompartments': ['WhenDefined'],
|
||||
},
|
||||
|
||||
'AudioContext': {
|
||||
'inCompartments': ['Suspend', 'Close'],
|
||||
},
|
||||
|
||||
'NavigationPreloadManager': {
|
||||
'inCompartments': ['Enable', 'Disable', 'SetHeaderValue', 'GetState'],
|
||||
},
|
||||
|
||||
'HTMLMediaElement': {
|
||||
'inCompartments': ['Play'],
|
||||
},
|
||||
|
||||
'BluetoothRemoteGATTDescriptor': {
|
||||
'inCompartments': ['ReadValue', 'WriteValue'],
|
||||
},
|
||||
|
||||
'OfflineAudioContext': {
|
||||
'inCompartments': ['StartRendering'],
|
||||
},
|
||||
|
||||
'BluetoothRemoteGATTServer': {
|
||||
'inCompartments': ['Connect'],
|
||||
},
|
||||
|
||||
'ServiceWorkerContainer': {
|
||||
'inCompartments': ['Register'],
|
||||
},
|
||||
|
||||
'Navigator': {
|
||||
'inCompartments': ['GetVRDisplays'],
|
||||
},
|
||||
|
||||
'MediaDevices': {
|
||||
'inCompartments': ['GetUserMedia'],
|
||||
},
|
||||
|
||||
'XRSession': {
|
||||
'inCompartments': ['UpdateRenderState', 'RequestReferenceSpace'],
|
||||
},
|
||||
|
||||
'Bluetooth': {
|
||||
'inCompartments': ['RequestDevice', 'GetAvailability'],
|
||||
},
|
||||
|
||||
'BaseAudioContext': {
|
||||
'inCompartments': ['Resume', 'DecodeAudioData'],
|
||||
},
|
||||
|
||||
'RTCPeerConnection': {
|
||||
'inCompartments': ['AddIceCandidate', 'CreateOffer', 'CreateAnswer', 'SetLocalDescription', 'SetRemoteDescription'],
|
||||
},
|
||||
|
||||
'BluetoothRemoteGATTCharacteristic': {
|
||||
'inCompartments': ['ReadValue', 'WriteValue', 'StartNotifications', 'StopNotifications'],
|
||||
},
|
||||
|
||||
'VRDisplay': {
|
||||
'inCompartments': ['RequestPresent', 'ExitPresent'],
|
||||
},
|
||||
|
||||
'Worklet': {
|
||||
'inCompartments': ['AddModule'],
|
||||
},
|
||||
|
||||
'TestWorklet': {
|
||||
'inCompartments': ['AddModule'],
|
||||
},
|
||||
|
||||
'BluetoothDevice': {
|
||||
'inCompartments': ['WatchAdvertisements'],
|
||||
},
|
||||
|
||||
'XR': {
|
||||
'inCompartments': ['SupportsSessionMode', 'RequestSession'],
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user