mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Propagate CanGc through dommatrix, dommatrixreadonly, and testbindings (#33822)
* CanGc fixes starting from dommatrix.rs fixed conflicts Signed-off-by: L Ashwin B <lashwinib@gmail.com> ~ * cleaning up Signed-off-by: L Ashwin B <lashwinib@gmail.com> * fixed cannot find value can_gc in this scope error Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
bdd5fb2e5b
commit
92f12ff7cd
8 changed files with 124 additions and 62 deletions
|
@ -57,7 +57,7 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'CanvasRenderingContext2D': {
|
||||
'canGc': ['CreateImageData', 'CreateImageData_', 'GetImageData'],
|
||||
'canGc': ['GetTransform','GetImageData', 'CreateImageData', 'CreateImageData_'],
|
||||
},
|
||||
|
||||
'DOMImplementation': {
|
||||
|
@ -68,6 +68,14 @@ DOMInterfaces = {
|
|||
'canGc': ['ParseFromString'],
|
||||
},
|
||||
|
||||
'DOMMatrix': {
|
||||
'canGc': ['FromMatrix', 'FromFloat32Array', 'FromFloat64Array'],
|
||||
},
|
||||
|
||||
'DOMMatrixReadOnly': {
|
||||
'canGc': ['Multiply', 'Inverse', 'Scale', 'Translate', 'Rotate', 'RotateFromVector','FlipY', 'ScaleNonUniform', 'Scale3d', 'RotateAxisAngle', 'SkewX', 'SkewY', 'FlipX', 'TransformPoint', 'FromFloat32Array', 'FromFloat64Array','FromMatrix'],
|
||||
},
|
||||
|
||||
'Document': {
|
||||
'canGc': ['Close', 'CreateElement', 'CreateElementNS', 'ImportNode', 'SetTitle', 'Write', 'Writeln', 'CreateEvent', 'CreateRange', 'Open', 'Open_'],
|
||||
},
|
||||
|
@ -161,7 +169,11 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'OffscreenCanvasRenderingContext2D': {
|
||||
'canGc': ['CreateImageData', 'CreateImageData_', 'GetImageData'],
|
||||
'canGc': ['CreateImageData', 'CreateImageData_', 'GetImageData', 'GetTransform'],
|
||||
},
|
||||
|
||||
'PaintRenderingContext2D': {
|
||||
'canGc': ['GetTransform'],
|
||||
},
|
||||
|
||||
'Promise': {
|
||||
|
@ -193,6 +205,7 @@ DOMInterfaces = {
|
|||
#FIXME(jdm): This should be 'register': False, but then we don't generate enum types
|
||||
'TestBinding': {
|
||||
'inRealms': ['PromiseAttribute', 'PromiseNativeHandler'],
|
||||
'canGc': ['InterfaceAttribute', 'GetInterfaceAttributeNullable', 'ReceiveInterface', 'ReceiveInterfaceSequence', 'ReceiveNullableInterface'],
|
||||
},
|
||||
|
||||
'TestWorklet': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue