mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Propagate CanGc
from Document::new()
(#33386)
* Add canGc as a parameter to autogenerated trait methods Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com> * Propagate CanGc from Document::new() Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com> --------- Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com>
This commit is contained in:
parent
10e5bb72d9
commit
e5150dbda1
41 changed files with 704 additions and 393 deletions
|
@ -40,6 +40,7 @@ DOMInterfaces = {
|
|||
|
||||
'Range': {
|
||||
'weakReferenceable': True,
|
||||
'canGc': ['CreateContextualFragment', 'ExtractContents', 'CloneContents', 'CloneRange', 'SurroundContents'],
|
||||
},
|
||||
|
||||
'EventSource': {
|
||||
|
@ -70,6 +71,7 @@ DOMInterfaces = {
|
|||
|
||||
'Window': {
|
||||
'inRealms': ['Fetch', 'GetOpener'],
|
||||
'canGc': ['Stop'],
|
||||
},
|
||||
|
||||
'WorkerGlobalScope': {
|
||||
|
@ -90,6 +92,7 @@ DOMInterfaces = {
|
|||
|
||||
'HTMLMediaElement': {
|
||||
'inRealms': ['Play'],
|
||||
'canGc': ['Play', 'Pause', 'Load', 'SetSrcObject'],
|
||||
},
|
||||
|
||||
'BluetoothRemoteGATTDescriptor': {
|
||||
|
@ -180,6 +183,39 @@ DOMInterfaces = {
|
|||
|
||||
'GamepadHapticActuator': {
|
||||
'inRealms': ['PlayEffect', 'Reset']
|
||||
}
|
||||
},
|
||||
|
||||
'DOMParser': {
|
||||
'canGc': ['ParseFromString'],
|
||||
},
|
||||
|
||||
'XMLHttpRequest': {
|
||||
'canGc': ['Response', 'GetResponseXML'],
|
||||
},
|
||||
|
||||
'DOMImplementation': {
|
||||
'canGc': ['CreateHTMLDocument', 'CreateDocument'],
|
||||
},
|
||||
|
||||
'HTMLTemplateElement': {
|
||||
'canGc': ['Content'],
|
||||
},
|
||||
|
||||
'Element': {
|
||||
'canGc': ['SetInnerHTML', 'SetOuterHTML', 'InsertAdjacentHTML'],
|
||||
},
|
||||
|
||||
'Selection': {
|
||||
'canGc': ['Extend', 'SetBaseAndExtent', 'SelectAllChildren', 'Collapse', 'SetPosition',
|
||||
'CollapseToStart', 'CollapseToEnd'],
|
||||
},
|
||||
|
||||
'Document': {
|
||||
'canGc': ['Write', 'Writeln', 'Close', 'SetTitle', 'CreateElementNS', 'CreateElement', 'ImportNode'],
|
||||
},
|
||||
|
||||
'Node': {
|
||||
'canGc': ['CloneNode'],
|
||||
},
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue