| Index: Source/core/events/EventTarget.idl
|
| diff --git a/Source/core/events/EventTarget.idl b/Source/core/events/EventTarget.idl
|
| index 08329aa268ad18a559963b0dbfde4d48b5b92fb2..69a4bc18d7b6e8986ae9c3dbe76371cd5ae3ba73 100644
|
| --- a/Source/core/events/EventTarget.idl
|
| +++ b/Source/core/events/EventTarget.idl
|
| @@ -18,23 +18,17 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| -// http://dom.spec.whatwg.org/#interface-eventtarget
|
| -
|
| [
|
| - // FIXME: should use [CheckSecurity=Frame] http://crbug.com/383699
|
| - // CheckSecurity=Frame,
|
| Custom=ToV8,
|
| WillBeGarbageCollected,
|
| ] interface EventTarget {
|
| - void addEventListener([TreatNullAs=NullString] DOMString type,
|
| - EventListener? listener,
|
| - // FIXME: should be useCapture = false
|
| - // http://crbug.com/258153
|
| + // FIXME: first 2 args should be required, but throwing TypeError breaks
|
| + // legacy content. http://crbug.com/353484
|
| + void addEventListener([TreatNullAs=NullString] optional DOMString type,
|
| + optional EventListener listener,
|
| optional boolean useCapture);
|
| - void removeEventListener([TreatNullAs=NullString] DOMString type,
|
| - EventListener? listener,
|
| - // FIXME: should be useCapture = false
|
| - // http://crbug.com/258153
|
| + void removeEventListener([TreatNullAs=NullString] optional DOMString type,
|
| + optional EventListener listener,
|
| optional boolean useCapture);
|
| [RaisesException] boolean dispatchEvent(Event event);
|
| };
|
|
|