mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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
|
@ -910,6 +910,7 @@ impl TestBindingMethods<crate::DomTypeHolder> for TestBinding {
|
|||
fn FuncControlledMethodDisabled(&self) {}
|
||||
fn FuncControlledMethodEnabled(&self) {}
|
||||
|
||||
fn PassRecordPromise(&self, _: Record<DOMString, Rc<Promise>>) {}
|
||||
fn PassRecord(&self, _: Record<DOMString, i32>) {}
|
||||
fn PassRecordWithUSVStringKey(&self, _: Record<USVString, i32>) {}
|
||||
fn PassRecordWithByteStringKey(&self, _: Record<ByteString, i32>) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue