Make FocusEvent::new_uninitialized take a &Window

This commit is contained in:
Anthony Ramine 2017-01-21 01:26:19 +01:00
parent 707f8f881e
commit ee1ff1d385
3 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/uievents/#interface-FocusEvent
[Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict)]
[Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict),
Exposed=Window]
interface FocusEvent : UIEvent {
readonly attribute EventTarget? relatedTarget;
};