mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
CanGc fixes through focusevent.rs & hashchangeevent.rs (#33921)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
d0d02cd56c
commit
a57b6a3f79
20 changed files with 140 additions and 69 deletions
|
@ -101,6 +101,10 @@ DOMInterfaces = {
|
|||
'canGc': ['SetInnerHTML', 'SetOuterHTML', 'InsertAdjacentHTML', 'GetClientRects', 'GetBoundingClientRect'],
|
||||
},
|
||||
|
||||
'ElementInternals': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'EventSource': {
|
||||
'weakReferenceable': True,
|
||||
},
|
||||
|
@ -135,8 +139,24 @@ DOMInterfaces = {
|
|||
'inRealms': ['PlayEffect', 'Reset']
|
||||
},
|
||||
|
||||
'HTMLButtonElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLElement': {
|
||||
'canGc': ['Focus', 'Blur'],
|
||||
},
|
||||
|
||||
'HTMLFieldSetElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLFormElement': {
|
||||
'canGc': ['RequestSubmit'],
|
||||
'canGc': ['RequestSubmit', 'ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLInputElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLMediaElement': {
|
||||
|
@ -144,14 +164,30 @@ DOMInterfaces = {
|
|||
'inRealms': ['Play'],
|
||||
},
|
||||
|
||||
'HTMLObjectElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLOutputElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLCanvasElement': {
|
||||
'canGc': ['CaptureStream', 'GetContext'],
|
||||
},
|
||||
|
||||
'HTMLSelectElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'HTMLTemplateElement': {
|
||||
'canGc': ['Content'],
|
||||
},
|
||||
|
||||
'HTMLTextAreaElement': {
|
||||
'canGc': ['ReportValidity'],
|
||||
},
|
||||
|
||||
'MediaDevices': {
|
||||
'canGc': ['GetUserMedia'],
|
||||
'inRealms': ['GetUserMedia', 'GetClientRects', 'GetBoundingClientRect'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue