mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
CanGc fixes from EventTarget::fire_event (#33985)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
bb4932026c
commit
ea875f0a51
35 changed files with 155 additions and 115 deletions
|
@ -90,7 +90,7 @@ impl VirtualMethods for HTMLDetailsElement {
|
|||
task!(details_notification_task_steps: move || {
|
||||
let this = this.root();
|
||||
if counter == this.toggle_counter.get() {
|
||||
this.upcast::<EventTarget>().fire_event(atom!("toggle"));
|
||||
this.upcast::<EventTarget>().fire_event(atom!("toggle"), CanGc::note());
|
||||
}
|
||||
}),
|
||||
window.upcast(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue