mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Various CanGc fixes in components/script/dom (#33706)
* Propagate 'can_gc' in IFrame DOM code Signed-off-by: webbeef <me@webbeef.org> * Propagate 'can_gc' in HTML video and image elements Signed-off-by: webbeef <me@webbeef.org> * Propagate 'can_gc' in Blob and dependencies Signed-off-by: webbeef <me@webbeef.org> * Leftover can_gc fixes for HTMLMediaElement Signed-off-by: webbeef <me@webbeef.org> * Address comment Signed-off-by: webbeef <me@webbeef.org> --------- Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
7d931e673a
commit
d3c0785d64
14 changed files with 67 additions and 42 deletions
|
@ -866,7 +866,7 @@ impl ModuleHandler {
|
|||
}
|
||||
|
||||
impl Callback for ModuleHandler {
|
||||
fn callback(&self, _cx: SafeJSContext, _v: HandleValue, _realm: InRealm) {
|
||||
fn callback(&self, _cx: SafeJSContext, _v: HandleValue, _realm: InRealm, _can_gc: CanGc) {
|
||||
let task = self.task.borrow_mut().take().unwrap();
|
||||
task.run_box();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue