X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fevents%2FEventTarget.idl;h=c83100d24701c4bd417f8856c59ece3d6cc9fdad;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=69a4bc18d7b6e8986ae9c3dbe76371cd5ae3ba73;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/events/EventTarget.idl b/src/third_party/WebKit/Source/core/events/EventTarget.idl index 69a4bc1..c83100d 100644 --- a/src/third_party/WebKit/Source/core/events/EventTarget.idl +++ b/src/third_party/WebKit/Source/core/events/EventTarget.idl @@ -24,10 +24,10 @@ ] interface EventTarget { // FIXME: first 2 args should be required, but throwing TypeError breaks // legacy content. http://crbug.com/353484 - void addEventListener([TreatNullAs=NullString] optional DOMString type, + void addEventListener(optional DOMString? type, optional EventListener listener, optional boolean useCapture); - void removeEventListener([TreatNullAs=NullString] optional DOMString type, + void removeEventListener(optional DOMString? type, optional EventListener listener, optional boolean useCapture); [RaisesException] boolean dispatchEvent(Event event);