From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/dom/FocusEvent.idl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Source/WebCore/dom/FocusEvent.idl') diff --git a/Source/WebCore/dom/FocusEvent.idl b/Source/WebCore/dom/FocusEvent.idl index fc422c3f9..48a68f003 100644 --- a/Source/WebCore/dom/FocusEvent.idl +++ b/Source/WebCore/dom/FocusEvent.idl @@ -24,8 +24,11 @@ */ [ - ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR, - ConstructorTemplate=Event + Constructor(DOMString type, optional FocusEventInit eventInitDict), ] interface FocusEvent : UIEvent { - [InitializedByEventConstructor] readonly attribute EventTarget relatedTarget; + readonly attribute EventTarget? relatedTarget; +}; + +dictionary FocusEventInit : UIEventInit { + EventTarget? relatedTarget = null; }; -- cgit v1.2.1