diff options
author | DileepReddyP <43650739+DileepReddyP@users.noreply.github.com> | 2024-10-07 23:13:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 03:13:25 +0000 |
commit | 66bc430b24a0cb1fe2d51e2b5983ea8833ba22b9 (patch) | |
tree | 570d6ae57a83a2527c7f69ce455cffe8e61ee6b9 /components/script/dom/bindings/codegen | |
parent | d3c0785d64f0186a31f38308d31c6eee4b577210 (diff) | |
download | servo-66bc430b24a0cb1fe2d51e2b5983ea8833ba22b9.tar.gz servo-66bc430b24a0cb1fe2d51e2b5983ea8833ba22b9.zip |
Sorted Bindings.conf alphabetically (#33713)
Checked that this is a valid Python object and is equivalent to the unsorted file
Signed-off-by: Dileep Reddy <dileepreddyp7@gmail.com>
Diffstat (limited to 'components/script/dom/bindings/codegen')
-rw-r--r-- | components/script/dom/bindings/codegen/Bindings.conf | 210 |
1 files changed, 105 insertions, 105 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf index 50d9bb6e7c7..fa5b0755e79 100644 --- a/components/script/dom/bindings/codegen/Bindings.conf +++ b/components/script/dom/bindings/codegen/Bindings.conf @@ -14,208 +14,208 @@ DOMInterfaces = { -'Blob': { +'AbstractRange': { 'weakReferenceable': True, }, -'File': { - 'weakReferenceable': True, +'AudioContext': { + 'inRealms': ['Close', 'Suspend'], }, -'MediaQueryList': { - 'weakReferenceable': True, +'BaseAudioContext': { + 'inRealms': ['DecodeAudioData', 'Resume'], }, -'Promise': { - 'spiderMonkeyInterface': True, +'Blob': { + 'weakReferenceable': True, }, -'AbstractRange': { - 'weakReferenceable': True, +'Bluetooth': { + 'inRealms': ['GetAvailability', 'RequestDevice'], }, -'StaticRange': { - 'weakReferenceable': True, +'BluetoothDevice': { + 'inRealms': ['WatchAdvertisements'], }, -'Range': { - 'weakReferenceable': True, - 'canGc': ['CreateContextualFragment', 'ExtractContents', 'CloneContents', 'CloneRange', 'SurroundContents'], +'BluetoothRemoteGATTCharacteristic': { + 'inRealms': ['ReadValue', 'StartNotifications', 'StopNotifications', 'WriteValue'], }, -'EventSource': { - 'weakReferenceable': True, +'BluetoothRemoteGATTDescriptor': { + 'inRealms': ['ReadValue', 'WriteValue'], }, -'MessagePort': { - 'weakReferenceable': True, +'BluetoothRemoteGATTServer': { + 'inRealms': ['Connect'], }, -#FIXME(jdm): This should be 'register': False, but then we don't generate enum types -'TestBinding': { - 'inRealms': ['PromiseAttribute', 'PromiseNativeHandler'], +'CustomElementRegistry': { + 'inRealms': ['WhenDefined'], }, -'DynamicModuleOwner': { - 'inRealms': ['PromiseAttribute'], +'DOMImplementation': { + 'canGc': ['CreateDocument', 'CreateHTMLDocument'], }, -'URL': { - 'weakReferenceable': True, +'DOMParser': { + 'canGc': ['ParseFromString'], }, -'WindowProxy' : { - 'path': 'crate::dom::windowproxy::WindowProxy', - 'register': False, +'Document': { + 'canGc': ['Close', 'CreateElement', 'CreateElementNS', 'ImportNode', 'SetTitle', 'Write', 'Writeln'], }, -'Window': { - 'inRealms': ['Fetch', 'GetOpener'], - 'canGc': ['Stop'], +'DynamicModuleOwner': { + 'inRealms': ['PromiseAttribute'], }, -'WorkerGlobalScope': { - 'inRealms': ['Fetch'], +'Element': { + 'canGc': ['InsertAdjacentHTML', 'SetInnerHTML', 'SetOuterHTML'], }, -'CustomElementRegistry': { - 'inRealms': ['WhenDefined'], +'EventSource': { + 'weakReferenceable': True, }, -'AudioContext': { - 'inRealms': ['Suspend', 'Close'], +'File': { + 'weakReferenceable': True, }, -'NavigationPreloadManager': { - 'inRealms': ['Enable', 'Disable', 'SetHeaderValue', 'GetState'], +'GPU': { + 'inRealms': ['RequestAdapter'], }, -'HTMLMediaElement': { - 'inRealms': ['Play'], - 'canGc': ['Play', 'Pause', 'Load', 'SetSrcObject'], +'GPUAdapter': { + 'inRealms': ['RequestAdapterInfo', 'RequestDevice'], }, -'BluetoothRemoteGATTDescriptor': { - 'inRealms': ['ReadValue', 'WriteValue'], +'GPUBuffer': { + 'inRealms': ['MapAsync'], }, -'OfflineAudioContext': { - 'inRealms': ['StartRendering'], +'GPUDevice': { + 'inRealms': [ + 'CreateComputePipelineAsync', + 'CreateRenderPipelineAsync', + 'CreateShaderModule', # Creates promise for compilation info + 'PopErrorScope' + ], + 'weakReferenceable': True, # for usage in GlobalScope https://github.com/servo/servo/issues/32519 }, -'BluetoothRemoteGATTServer': { - 'inRealms': ['Connect'], +'GamepadHapticActuator': { + 'inRealms': ['PlayEffect', 'Reset'] }, -'ServiceWorkerContainer': { - 'inRealms': ['Register'], +'HTMLMediaElement': { + 'canGc': ['Load', 'Pause', 'Play', 'SetSrcObject'], + 'inRealms': ['Play'], }, -'Navigator': { - 'inRealms': ['GetVRDisplays'], +'HTMLTemplateElement': { + 'canGc': ['Content'], }, 'MediaDevices': { 'inRealms': ['GetUserMedia'], }, -'XRSession': { - 'inRealms': ['UpdateRenderState', 'RequestReferenceSpace', 'UpdateTargetFrameRate'], +'MediaQueryList': { + 'weakReferenceable': True, }, -'Bluetooth': { - 'inRealms': ['RequestDevice', 'GetAvailability'], +'MessagePort': { + 'weakReferenceable': True, }, -'BaseAudioContext': { - 'inRealms': ['Resume', 'DecodeAudioData'], +'NavigationPreloadManager': { + 'inRealms': ['Disable', 'Enable', 'GetState', 'SetHeaderValue'], }, -'RTCPeerConnection': { - 'inRealms': ['AddIceCandidate', 'CreateOffer', 'CreateAnswer', 'SetLocalDescription', 'SetRemoteDescription'], +'Navigator': { + 'inRealms': ['GetVRDisplays'], }, -'BluetoothRemoteGATTCharacteristic': { - 'inRealms': ['ReadValue', 'WriteValue', 'StartNotifications', 'StopNotifications'], +'Node': { + 'canGc': ['CloneNode'], }, -'VRDisplay': { - 'inRealms': ['RequestPresent', 'ExitPresent'], +'OfflineAudioContext': { + 'inRealms': ['StartRendering'], }, -'Worklet': { - 'inRealms': ['AddModule'], +'Promise': { + 'spiderMonkeyInterface': True, }, -'TestWorklet': { - 'inRealms': ['AddModule'], +'RTCPeerConnection': { + 'inRealms': ['AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'], }, -'BluetoothDevice': { - 'inRealms': ['WatchAdvertisements'], +'Range': { + 'canGc': ['CloneContents', 'CloneRange', 'CreateContextualFragment', 'ExtractContents', 'SurroundContents'], + 'weakReferenceable': True, }, -'XRSystem': { - 'inRealms': ['SupportsSessionMode', 'RequestSession'], +'Selection': { + 'canGc': ['Collapse', 'CollapseToEnd', 'CollapseToStart', 'Extend', 'SelectAllChildren', 'SetBaseAndExtent', 'SetPosition'], }, -'GPU': { - 'inRealms': ['RequestAdapter'], + +'ServiceWorkerContainer': { + 'inRealms': ['Register'], }, -'GPUAdapter': { - 'inRealms': ['RequestDevice', 'RequestAdapterInfo'], +'StaticRange': { + 'weakReferenceable': True, }, -'GPUBuffer': { - 'inRealms': ['MapAsync'], +#FIXME(jdm): This should be 'register': False, but then we don't generate enum types +'TestBinding': { + 'inRealms': ['PromiseAttribute', 'PromiseNativeHandler'], }, -'GPUDevice': { - 'weakReferenceable': True, # for usage in GlobalScope https://github.com/servo/servo/issues/32519 - 'inRealms': [ - 'PopErrorScope', - 'CreateComputePipelineAsync', - 'CreateRenderPipelineAsync', - 'CreateShaderModule' # Creates promise for compilation info - ], +'TestWorklet': { + 'inRealms': ['AddModule'], }, -'GamepadHapticActuator': { - 'inRealms': ['PlayEffect', 'Reset'] +'URL': { + 'weakReferenceable': True, }, -'DOMParser': { - 'canGc': ['ParseFromString'], +'VRDisplay': { + 'inRealms': ['ExitPresent', 'RequestPresent'], }, -'XMLHttpRequest': { - 'canGc': ['Response', 'GetResponseXML'], +'Window': { + 'canGc': ['Stop'], + 'inRealms': ['Fetch', 'GetOpener'], }, -'DOMImplementation': { - 'canGc': ['CreateHTMLDocument', 'CreateDocument'], +'WindowProxy' : { + 'path': 'crate::dom::windowproxy::WindowProxy', + 'register': False, }, -'HTMLTemplateElement': { - 'canGc': ['Content'], +'WorkerGlobalScope': { + 'inRealms': ['Fetch'], }, -'Element': { - 'canGc': ['SetInnerHTML', 'SetOuterHTML', 'InsertAdjacentHTML'], +'Worklet': { + 'inRealms': ['AddModule'], }, -'Selection': { - 'canGc': ['Extend', 'SetBaseAndExtent', 'SelectAllChildren', 'Collapse', 'SetPosition', - 'CollapseToStart', 'CollapseToEnd'], +'XMLHttpRequest': { + 'canGc': ['GetResponseXML', 'Response'], }, -'Document': { - 'canGc': ['Write', 'Writeln', 'Close', 'SetTitle', 'CreateElementNS', 'CreateElement', 'ImportNode'], +'XRSession': { + 'inRealms': ['RequestReferenceSpace', 'UpdateRenderState', 'UpdateTargetFrameRate'], }, -'Node': { - 'canGc': ['CloneNode'], +'XRSystem': { + 'inRealms': ['RequestSession', 'SupportsSessionMode'], }, } |