refactor: add CanGc as argument to methods in CSSGroupingRule, CSSKeyframesRule, Crypto (#35743)

Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
Yerkebulan Tulibergenov 2025-03-01 23:16:06 -08:00 committed by GitHub
parent 27970e1847
commit 67bd557f30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 33 additions and 21 deletions

View file

@ -87,6 +87,18 @@ DOMInterfaces = {
'canGc': ['GetSize'],
},
'CSSGroupingRule': {
'canGc': ['CssRules', 'DeleteRule', 'InsertRule'],
},
'CSSKeyframesRule': {
'canGc': ['AppendRule', 'CssRules', 'DeleteRule', 'FindRule'],
},
'Crypto': {
'canGc': ['Subtle'],
},
'CSSStyleDeclaration': {
'canGc': ['RemoveProperty', 'SetCssText', 'GetPropertyValue', 'SetProperty', 'CssFloat', 'SetCssFloat']
},