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

@ -764,7 +764,7 @@ impl HTMLFormElement {
can_gc,
);
let event = event.upcast::<Event>();
event.fire(self.upcast::<EventTarget>());
event.fire(self.upcast::<EventTarget>(), can_gc);
// Step 6.6
self.firing_submission_events.set(false);
@ -1223,7 +1223,9 @@ impl HTMLFormElement {
can_gc,
);
event.upcast::<Event>().fire(self.upcast::<EventTarget>());
event
.upcast::<Event>()
.fire(self.upcast::<EventTarget>(), can_gc);
// Step 8
self.constructing_entry_list.set(false);