mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Set the placeholder canvas element of offscreenCanvas to a weak reference in transferControlToOffscreen() (#37764)
Set the placeholder canvas element of offscreenCanvas to a weak reference in transferControlToOffscreen() Testing: I do not understand how to test it, suggestions appreciated Fixes: https://github.com/servo/servo/issues/35626 --------- Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com>
This commit is contained in:
parent
4cd7c5196b
commit
60c10d710d
5 changed files with 52 additions and 27 deletions
|
@ -345,6 +345,7 @@ DOMInterfaces = {
|
|||
|
||||
'HTMLCanvasElement': {
|
||||
'canGc': ['CaptureStream', 'GetContext', 'SetHeight', 'SetWidth', 'TransferControlToOffscreen'],
|
||||
'weakReferenceable': True,
|
||||
},
|
||||
|
||||
'HTMLDataListElement': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue