mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
script: Support converting JS values to Rc<Promise> with FromJSValConvertible. (#36097)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
f65b697a5a
commit
f717f6b848
5 changed files with 27 additions and 4 deletions
|
@ -490,7 +490,7 @@ DOMInterfaces = {
|
|||
|
||||
'Promise': {
|
||||
'spiderMonkeyInterface': True,
|
||||
'additionalTraits': ["crate::dom::promise::PromiseHelpers<Self>"]
|
||||
'additionalTraits': ["crate::dom::promise::PromiseHelpers<Self>", "js::conversions::FromJSValConvertibleRc"]
|
||||
},
|
||||
|
||||
'Range': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue