Implement AddEventListenerOptions: once

Fixes #13242
This commit is contained in:
Bastien Orivel 2018-11-03 16:23:33 +01:00
parent f3ca48206e
commit 50c832762f
5 changed files with 27 additions and 15 deletions

View file

@ -95,6 +95,7 @@ impl MediaQueryListMethods for MediaQueryList {
listener,
AddEventListenerOptions {
parent: EventListenerOptions { capture: false },
once: false,
},
);
}