| Index: tools/dom/src/html_native_DOMImplementation.dart
|
| diff --git a/tools/dom/src/html_native_DOMImplementation.dart b/tools/dom/src/html_native_DOMImplementation.dart
|
| index 6fee3f538f15cf0522ab1ed7f458b32c3d109b6d..fe473885bc8c76d0e9173814af066e446ed5c491 100644
|
| --- a/tools/dom/src/html_native_DOMImplementation.dart
|
| +++ b/tools/dom/src/html_native_DOMImplementation.dart
|
| @@ -831,6 +831,10 @@ class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements
|
| Events get on => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| + void _addEventListener([String type, EventListener listener, bool useCapture])
|
| + => throw new UnsupportedError(
|
| + 'You can only attach EventListeners to your own window.');
|
| + // TODO(efortuna): Remove this method. dartbug.com/16814
|
| void addEventListener(String type, EventListener listener, [bool useCapture])
|
| => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| @@ -838,6 +842,10 @@ class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements
|
| bool dispatchEvent(Event event) => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| + void _removeEventListener([String type, EventListener listener,
|
| + bool useCapture]) => throw new UnsupportedError(
|
| + 'You can only attach EventListeners to your own window.');
|
| + // TODO(efortuna): Remove this method. dartbug.com/16814
|
| void removeEventListener(String type, EventListener listener,
|
| [bool useCapture]) => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
|
|