mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Propagate more CanGc
(#35604)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
1d7bb1337d
commit
d446b63cfd
3 changed files with 36 additions and 21 deletions
|
@ -715,7 +715,7 @@ impl ReadableStreamDefaultController {
|
|||
// First, throw the exception.
|
||||
// Note: this must be done manually here,
|
||||
// because `enqueue_value_with_size` does not call into JS.
|
||||
throw_dom_exception(cx, &self.global(), error, CanGc::note());
|
||||
throw_dom_exception(cx, &self.global(), error, can_gc);
|
||||
|
||||
// Then, get a handle to the JS val for the exception,
|
||||
// and use that to error the stream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue