refactor: add CanGc as argument to methods in CSSKeyframeRule, CSSMediaRule, CSSRule (#35796)

Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
Yerkebulan Tulibergenov 2025-03-05 00:39:11 -08:00 committed by GitHub
parent 78f7d525cc
commit 16aeeaec85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 30 additions and 17 deletions

View file

@ -91,10 +91,22 @@ DOMInterfaces = {
'canGc': ['CssRules', 'DeleteRule', 'InsertRule'],
},
'CSSKeyframeRule': {
'canGc': ['Style'],
},
'CSSKeyframesRule': {
'canGc': ['AppendRule', 'CssRules', 'DeleteRule', 'FindRule'],
},
'CSSMediaRule': {
'canGc': ['Media'],
},
'CSSRuleList': {
'canGc': ['Item', 'IndexedGetter'],
},
'Crypto': {
'canGc': ['Subtle'],
},