Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / events / EventTarget.idl
index 69a4bc1..c83100d 100644 (file)
 ] 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);