mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
script: use passive event listener option on AddEventListenerOptions (#35877)
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
1b6b21cb85
commit
7fc5dc5c69
6 changed files with 87 additions and 217 deletions
|
@ -106,6 +106,7 @@ impl MediaQueryListMethods<crate::DomTypeHolder> for MediaQueryList {
|
|||
AddEventListenerOptions {
|
||||
parent: EventListenerOptions { capture: false },
|
||||
once: false,
|
||||
passive: None,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue