cangc fixes in several files + event.rs + rtcpeerconnection.rs (#34002)

Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
chickenleaf 2024-10-25 18:14:15 +05:30 committed by GitHub
parent 3b5dc069ae
commit 7ad8822d94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 166 additions and 132 deletions

View file

@ -1023,7 +1023,7 @@ impl XMLHttpRequest {
EventCancelable::Cancelable,
can_gc,
);
event.fire(self.upcast());
event.fire(self.upcast(), can_gc);
}
}
@ -1172,7 +1172,7 @@ impl XMLHttpRequest {
EventCancelable::Cancelable,
can_gc,
);
event.fire(self.upcast());
event.fire(self.upcast(), can_gc);
return_if_fetch_was_terminated!();
self.dispatch_response_progress_event(atom!("progress"), can_gc);
}
@ -1272,7 +1272,7 @@ impl XMLHttpRequest {
} else {
self.upcast()
};
progressevent.upcast::<Event>().fire(target);
progressevent.upcast::<Event>().fire(target, can_gc);
}
fn dispatch_upload_progress_event(