mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
script: Refer to DOM interfaces with generic types in generated bindings. (#35457)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
14db055d46
commit
1192ae32b0
20 changed files with 627 additions and 167 deletions
|
@ -374,7 +374,7 @@ impl ReadableStreamDefaultReaderMethods<crate::DomTypeHolder> for ReadableStream
|
|||
return Promise::new_rejected(&self.global(), cx, error.handle());
|
||||
}
|
||||
// Let promise be a new promise.
|
||||
let promise = Promise::new(&self.reflector_.global(), can_gc);
|
||||
let promise = Promise::new(&self.global(), can_gc);
|
||||
|
||||
// Let readRequest be a new read request with the following items:
|
||||
// chunk steps, given chunk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue