mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Multiple CanGc fixes in components/script/dom (#33924)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
ee9e1fbbd6
commit
65c866285f
26 changed files with 77 additions and 37 deletions
|
@ -548,7 +548,7 @@ impl Window {
|
|||
|
||||
// see note at https://dom.spec.whatwg.org/#concept-event-dispatch step 2
|
||||
pub fn dispatch_event_with_target_override(&self, event: &Event) -> EventStatus {
|
||||
event.dispatch(self.upcast(), true)
|
||||
event.dispatch(self.upcast(), true, CanGc::note())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue