mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add CanGc as arguments in methods in devtools.rs, CharacterData, CSSStyleRule, CSSStyleSheet (#36375)
Add CanGc as arguments in methods in devtools.rs, CharacterData, CSSStyleRule, CSSStyleSheet Testing: These changes do not require tests because they are a refactor. Addressed part of https://github.com/servo/servo/issues/34573. --------- Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
1f558a0d49
commit
33b00dbe40
6 changed files with 42 additions and 30 deletions
|
@ -84,7 +84,7 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'CharacterData': {
|
||||
'canGc': ['Before', 'After', 'ReplaceWith']
|
||||
'canGc': ['Before', 'After', 'Remove', 'ReplaceWith']
|
||||
},
|
||||
|
||||
'CountQueuingStrategy': {
|
||||
|
@ -119,6 +119,14 @@ DOMInterfaces = {
|
|||
'canGc': ['Item', 'IndexedGetter'],
|
||||
},
|
||||
|
||||
'CSSStyleRule': {
|
||||
'canGc': ['Style'],
|
||||
},
|
||||
|
||||
'CSSStyleSheet': {
|
||||
'canGc': ['AddRule', 'DeleteRule', 'GetCssRules', 'GetRules', 'InsertRule', 'RemoveRule'],
|
||||
},
|
||||
|
||||
'Crypto': {
|
||||
'canGc': ['Subtle'],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue