mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Make generated bindings generic over DOM types (#35169)
* bindings: Start making generated bindings methods generic over DOM trait. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * bindings: Make binding initialization generic over the DOM types trait. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * bindings: Start making proxyhandler code generic over DOM types. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
8748071329
commit
d5d7b0d34f
6 changed files with 72 additions and 52 deletions
|
@ -180,6 +180,10 @@ DOMInterfaces = {
|
|||
'canGc': ['PlayEffect', 'Reset'],
|
||||
},
|
||||
|
||||
'GlobalScope': {
|
||||
'additionalTraits': ['crate::dom::globalscope::GlobalScopeHelpers<Self>'],
|
||||
},
|
||||
|
||||
'GPU': {
|
||||
'inRealms': ['RequestAdapter'],
|
||||
'canGc': ['RequestAdapter', 'WgslLanguageFeatures'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue