mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use the newly added inCompartments option everywhere it can be
This commit is contained in:
parent
0b29caa554
commit
292d468cd1
22 changed files with 216 additions and 259 deletions
|
@ -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'],
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue