More files with CanGc fixes (#33892)

* More files with CanGc fixes

Signed-off-by: L Ashwin B <lashwinib@gmail.com>

* removed the can_gc inside !task

Signed-off-by: L Ashwin B <lashwinib@gmail.com>

---------

Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
chickenleaf 2024-10-18 19:12:43 +05:30 committed by GitHub
parent fde8d72aca
commit af6154cf63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 226 additions and 100 deletions

View file

@ -145,7 +145,7 @@ DOMInterfaces = {
},
'HTMLCanvasElement': {
'canGc': ['CaptureStream'],
'canGc': ['CaptureStream', 'GetContext'],
},
'HTMLTemplateElement': {
@ -245,7 +245,7 @@ DOMInterfaces = {
'URL': {
'weakReferenceable': True,
'canGc': ['Parse'],
'canGc': ['Parse', 'SearchParams'],
},
'VRDisplay': {
@ -277,7 +277,7 @@ DOMInterfaces = {
'XRSession': {
'inRealms': ['RequestReferenceSpace', 'UpdateRenderState', 'UpdateTargetFrameRate'],
'canGc': ['End'],
'canGc': ['End', 'RequestReferenceSpace'],
},
'XRSystem': {
@ -293,7 +293,19 @@ DOMInterfaces = {
},
'XRRigidTransform': {
'canGc': ['Position', 'Orientation'],
'canGc': ['Position', 'Orientation', 'Inverse'],
},
'XRReferenceSpace': {
'canGc': ['GetOffsetReferenceSpace'],
},
'XRFrame': {
'canGc': ['GetViewerPose', 'GetPose', 'GetJointPose'],
},
'XRHitTestResult': {
'canGc': ['GetPose'],
},
'SubtleCrypto': {