aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorGae24 <96017547+Gae24@users.noreply.github.com>2024-11-07 13:06:20 +0100
committerGitHub <noreply@github.com>2024-11-07 12:06:20 +0000
commit05ee551af8b6ccbd18aaf27b04237ee4751bd2cb (patch)
tree7a4dc79867c3a511c081fbe4212b2fb31fb971e4 /components/script/dom/bindings/codegen
parent48d193cb835422dcdd3aeb39bd2bf27313eadf07 (diff)
downloadservo-05ee551af8b6ccbd18aaf27b04237ee4751bd2cb.tar.gz
servo-05ee551af8b6ccbd18aaf27b04237ee4751bd2cb.zip
sort Bindings.conf (#34175)
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Diffstat (limited to 'components/script/dom/bindings/codegen')
-rw-r--r--components/script/dom/bindings/codegen/Bindings.conf181
1 files changed, 88 insertions, 93 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf
index af4e13565a3..4f7cdd41196 100644
--- a/components/script/dom/bindings/codegen/Bindings.conf
+++ b/components/script/dom/bindings/codegen/Bindings.conf
@@ -62,6 +62,10 @@ DOMInterfaces = {
'canGc': ['GetCharacteristic', 'GetCharacteristics', 'GetIncludedService', 'GetIncludedServices'],
},
+'CanvasGradient': {
+ 'canGc': ['AddColorStop'],
+},
+
'CanvasRenderingContext2D': {
'canGc': ['GetTransform','GetImageData', 'CreateImageData', 'CreateImageData_', 'SetFont', 'FillText', 'MeasureText', 'SetStrokeStyle', 'SetFillStyle', 'SetShadowColor'],
},
@@ -74,15 +78,23 @@ DOMInterfaces = {
'canGc': ['RemoveProperty', 'SetCssText', 'GetPropertyValue', 'SetProperty', 'CssFloat', 'SetCssFloat']
},
-'CanvasGradient': {
- 'canGc': ['AddColorStop'],
-},
-
'CustomElementRegistry': {
'inRealms': ['WhenDefined'],
'canGc': ['WhenDefined'],
},
+'Document': {
+ 'canGc': ['Close', 'CreateElement', 'CreateElementNS', 'ImportNode', 'SetTitle', 'Write', 'Writeln', 'CreateEvent', 'CreateRange', 'Open', 'Open_', 'CreateComment', 'CreateAttribute', 'CreateAttributeNS', 'CreateDocumentFragment', 'CreateTextNode', 'CreateCDATASection', 'CreateProcessingInstruction', 'Prepend', 'Append', 'ReplaceChildren', 'SetBgColor', 'SetFgColor', 'Fonts', 'ElementFromPoint', 'ElementsFromPoint', 'ExitFullscreen'],
+},
+
+'DocumentFragment': {
+ 'canGc': ['Prepend', 'Append', 'ReplaceChildren']
+},
+
+'DocumentType': {
+ 'canGc': ['Before', 'After', 'ReplaceWith']
+},
+
'DOMImplementation': {
'canGc': ['CreateDocument', 'CreateHTMLDocument', 'CreateDocumentType'],
},
@@ -111,22 +123,6 @@ DOMInterfaces = {
'canGc': ['FromRect', 'FromQuad', 'GetBounds'],
},
-'Document': {
- 'canGc': ['Close', 'CreateElement', 'CreateElementNS', 'ImportNode', 'SetTitle', 'Write', 'Writeln', 'CreateEvent', 'CreateRange', 'Open', 'Open_', 'CreateComment', 'CreateAttribute', 'CreateAttributeNS', 'CreateDocumentFragment', 'CreateTextNode', 'CreateCDATASection', 'CreateProcessingInstruction', 'Prepend', 'Append', 'ReplaceChildren', 'SetBgColor', 'SetFgColor', 'Fonts', 'ElementFromPoint', 'ElementsFromPoint', 'ExitFullscreen'],
-},
-
-'DynamicModuleOwner': {
- 'inRealms': ['PromiseAttribute'],
-},
-
-'DocumentFragment': {
- 'canGc': ['Prepend', 'Append', 'ReplaceChildren']
-},
-
-'DocumentType': {
- 'canGc': ['Before', 'After', 'ReplaceWith']
-},
-
'DOMStringMap': {
'canGc': ['NamedSetter']
},
@@ -135,6 +131,10 @@ DOMInterfaces = {
'canGc': ['SetValue', 'Add', 'Remove', 'Toggle', 'Replace']
},
+'DynamicModuleOwner': {
+ 'inRealms': ['PromiseAttribute'],
+},
+
'Element': {
'canGc': ['SetInnerHTML', 'SetOuterHTML', 'InsertAdjacentHTML', 'GetClientRects', 'GetBoundingClientRect', 'InsertAdjacentText', 'ToggleAttribute', 'SetAttribute', 'SetAttributeNS', 'SetId','SetClassName','Prepend','Append','ReplaceChildren','Before','After','ReplaceWith', 'SetRole', 'SetAriaAtomic', 'SetAriaAutoComplete', 'SetAriaBrailleLabel', 'SetAriaBrailleRoleDescription', 'SetAriaBusy', 'SetAriaChecked', 'SetAriaColCount', 'SetAriaColIndex', 'SetAriaColIndexText', 'SetAriaColSpan', 'SetAriaCurrent', 'SetAriaDescription', 'SetAriaDisabled', 'SetAriaExpanded', 'SetAriaHasPopup', 'SetAriaHidden', 'SetAriaInvalid', 'SetAriaKeyShortcuts', 'SetAriaLabel', 'SetAriaLevel', 'SetAriaLive', 'SetAriaModal', 'SetAriaMultiLine', 'SetAriaMultiSelectable', 'SetAriaOrientation', 'SetAriaPlaceholder', 'SetAriaPosInSet', 'SetAriaPressed','SetAriaReadOnly', 'SetAriaRelevant', 'SetAriaRequired', 'SetAriaRoleDescription', 'SetAriaRowCount', 'SetAriaRowIndex', 'SetAriaRowIndexText', 'SetAriaRowSpan', 'SetAriaSelected', 'SetAriaSetSize','SetAriaSort', 'SetAriaValueMax', 'SetAriaValueMin', 'SetAriaValueNow', 'SetAriaValueText', 'SetScrollTop', 'SetScrollLeft', 'Scroll', 'Scroll_', 'ScrollBy', 'ScrollBy_', 'ScrollWidth', 'ScrollHeight', 'ScrollTop', 'ScrollLeft', 'ClientTop', 'ClientLeft', 'ClientWidth', 'ClientHeight', 'RequestFullscreen'],
},
@@ -163,6 +163,11 @@ DOMInterfaces = {
'canGc': ['Abort'],
},
+'GamepadHapticActuator': {
+ 'inRealms': ['PlayEffect', 'Reset'],
+ 'canGc': ['PlayEffect', 'Reset'],
+},
+
'GPU': {
'inRealms': ['RequestAdapter'],
'canGc': ['RequestAdapter'],
@@ -198,19 +203,34 @@ DOMInterfaces = {
'canGc': ['OnSubmittedWorkDone'],
},
-'GamepadHapticActuator': {
- 'inRealms': ['PlayEffect', 'Reset'],
- 'canGc': ['PlayEffect', 'Reset'],
-},
-
'History': {
'canGc': ['Go'],
},
+"HTMLAnchorElement": {
+ "canGc": ["SetText","SetRel","SetHref", 'SetHash', 'SetHost', 'SetHostname', 'SetPassword', 'SetPathname', 'SetPort', 'SetProtocol', 'SetSearch', 'SetUsername']
+},
+
+"HTMLAreaElement": {
+ "canGc": ["SetRel"]
+},
+
+"HTMLBodyElement": {
+ "canGc": ["SetBackground"]
+},
+
'HTMLButtonElement': {
'canGc': ['CheckValidity', 'ReportValidity','SetBackground'],
},
+'HTMLCanvasElement': {
+ 'canGc': ['CaptureStream', 'GetContext'],
+},
+
+'HTMLDialogElement': {
+ 'canGc': ['Show'],
+},
+
'HTMLElement': {
'canGc': ['Focus', 'Blur', 'Click', 'SetInnerText', 'SetOuterText', "SetTranslate", 'SetAutofocus', 'GetOffsetParent', 'OffsetTop', 'OffsetLeft', 'OffsetWidth', 'OffsetHeight', 'InnerText', 'GetOuterText', 'GetOnerror', 'GetOnload', 'GetOnblur', 'GetOnfocus', 'GetOnresize', 'GetOnscroll'],
},
@@ -219,8 +239,8 @@ DOMInterfaces = {
'canGc': ['CheckValidity', 'ReportValidity'],
},
-'HTMLDialogElement': {
- 'canGc': ['Show'],
+'HTMLFontElement': {
+ 'canGc': ['SetSize']
},
'HTMLFormElement': {
@@ -231,20 +251,12 @@ DOMInterfaces = {
'canGc': ['RequestSubmit', 'ReportValidity', 'Reset','SetRel', 'Width', 'Height', 'Decode', 'SetCrossOrigin', 'SetWidth', 'SetHeight', 'SetReferrerPolicy'],
},
-'HTMLFontElement': {
- 'canGc': ['SetSize']
-},
-
'HTMLInputElement': {
'canGc': ['ReportValidity', 'SetValue', 'SetValueAsNumber', 'SetValueAsDate', 'StepUp', 'StepDown', 'CheckValidity', 'ReportValidity', 'SelectFiles'],
},
-"HTMLAreaElement": {
- "canGc": ["SetRel"]
-},
-
-"HTMLBodyElement": {
- "canGc": ["SetBackground"]
+'HTMLLinkElement': {
+ 'canGc': ['SetRel', 'SetCrossOrigin'],
},
'HTMLMediaElement': {
@@ -252,36 +264,36 @@ DOMInterfaces = {
'inRealms': ['Play'],
},
-'HTMLObjectElement': {
- 'canGc': ['CheckValidity', 'ReportValidity'],
+'HTMLMeterElement': {
+ 'canGc': ['SetValue', 'SetMin', 'SetMax', 'SetLow', 'SetHigh', 'SetOptimum', 'CheckValidity', 'ReportValidity']
},
-'HTMLOutputElement': {
- 'canGc': ['ReportValidity', 'SetDefaultValue', 'SetValue', 'CheckValidity'],
+'HTMLObjectElement': {
+ 'canGc': ['CheckValidity', 'ReportValidity'],
},
-'HTMLMeterElement': {
- 'canGc': ['SetValue', 'SetMin', 'SetMax', 'SetLow', 'SetHigh', 'SetOptimum', 'CheckValidity', 'ReportValidity']
+'HTMLOptionElement': {
+ 'canGc': ['SetText']
},
-'HTMLCanvasElement': {
- 'canGc': ['CaptureStream', 'GetContext'],
+'HTMLOptionsCollection': {
+ 'canGc': ['IndexedSetter', 'SetLength']
},
-'HTMLSelectElement': {
- 'canGc': ['ReportValidity', 'SetLength', 'IndexedSetter', 'CheckValidity'],
+'HTMLOutputElement': {
+ 'canGc': ['ReportValidity', 'SetDefaultValue', 'SetValue', 'CheckValidity'],
},
-'HTMLTemplateElement': {
- 'canGc': ['Content'],
+'HTMLProgressElement': {
+ 'canGc': ['SetValue', 'SetMax']
},
-'HTMLTitleElement': {
- 'canGc': ['SetText']
+'HTMLScriptElement': {
+ 'canGc': ['SetAsync', 'SetCrossOrigin', 'SetText']
},
-'HTMLTextAreaElement': {
- 'canGc': ['ReportValidity', 'SetDefaultValue', 'CheckValidity'],
+'HTMLSelectElement': {
+ 'canGc': ['ReportValidity', 'SetLength', 'IndexedSetter', 'CheckValidity'],
},
'HTMLTableElement': {
@@ -296,28 +308,16 @@ DOMInterfaces = {
'canGc': ['InsertRow']
},
-'HTMLOptionsCollection': {
- 'canGc': ['IndexedSetter', 'SetLength']
-},
-
-'HTMLOptionElement': {
- 'canGc': ['SetText']
-},
-
-'HTMLProgressElement': {
- 'canGc': ['SetValue', 'SetMax']
-},
-
-'HTMLScriptElement': {
- 'canGc': ['SetAsync', 'SetCrossOrigin', 'SetText']
+'HTMLTemplateElement': {
+ 'canGc': ['Content'],
},
-"HTMLAnchorElement": {
- "canGc": ["SetText","SetRel","SetHref", 'SetHash', 'SetHost', 'SetHostname', 'SetPassword', 'SetPathname', 'SetPort', 'SetProtocol', 'SetSearch', 'SetUsername']
+'HTMLTextAreaElement': {
+ 'canGc': ['ReportValidity', 'SetDefaultValue', 'CheckValidity'],
},
-'HTMLLinkElement': {
- 'canGc': ['SetRel', 'SetCrossOrigin'],
+'HTMLTitleElement': {
+ 'canGc': ['SetText']
},
'Location': {
@@ -329,20 +329,16 @@ DOMInterfaces = {
'inRealms': ['GetUserMedia', 'GetClientRects', 'GetBoundingClientRect'],
},
-'MediaStream': {
- 'canGc': ['Clone'],
+'MediaQueryList': {
+ 'weakReferenceable': True,
},
'MediaSession': {
'canGc': ['GetMetadata'],
},
-'MouseEvent': {
- 'canGc': ['OffsetX', 'OffsetY'],
-},
-
-'MediaQueryList': {
- 'weakReferenceable': True,
+'MediaStream': {
+ 'canGc': ['Clone'],
},
'MessagePort': {
@@ -350,6 +346,10 @@ DOMInterfaces = {
'canGc': ['GetOnmessage'],
},
+'MouseEvent': {
+ 'canGc': ['OffsetX', 'OffsetY'],
+},
+
'NavigationPreloadManager': {
'inRealms': ['Disable', 'Enable', 'GetState', 'SetHeaderValue'],
'canGc': ['Disable', 'Enable', 'GetState', 'SetHeaderValue'],
@@ -384,23 +384,10 @@ DOMInterfaces = {
'canGc': ['Query', 'Request', 'Revoke'],
},
-'Permissions': {
- 'canGc': ['Query', 'Request', 'Revoke'],
-},
-
'Promise': {
'spiderMonkeyInterface': True,
},
-'RTCPeerConnection': {
- 'inRealms': ['AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'],
- 'canGc': ['Close', 'AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'],
-},
-
-'RTCRtpSender': {
- 'canGc': ['SetParameters'],
-},
-
'Range': {
'canGc': ['CloneContents', 'CloneRange', 'CreateContextualFragment', 'ExtractContents', 'SurroundContents', 'InsertNode'],
'weakReferenceable': True,
@@ -410,11 +397,19 @@ DOMInterfaces = {
'canGc': ['Headers', 'Text', 'Blob', 'FormData', 'Json', 'ArrayBuffer', 'Clone'],
},
-
'Response': {
'canGc': ['Error', 'Redirect', 'Clone', 'Text', 'Blob', 'FormData', 'Json', 'ArrayBuffer', 'Headers'],
},
+'RTCPeerConnection': {
+ 'inRealms': ['AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'],
+ 'canGc': ['Close', 'AddIceCandidate', 'CreateAnswer', 'CreateOffer', 'SetLocalDescription', 'SetRemoteDescription'],
+},
+
+'RTCRtpSender': {
+ 'canGc': ['SetParameters'],
+},
+
'Selection': {
'canGc': ['Collapse', 'CollapseToEnd', 'CollapseToStart', 'Extend', 'SelectAllChildren', 'SetBaseAndExtent', 'SetPosition'],
},