| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 3cc7cd5c47e8b433f1f15063696c152a3b32233e..a698bd99523e40aa33afd15904ad152f685c8dbe 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -38770,6 +38770,21 @@ class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements
|
|
|
| // Implementation support.
|
| String get typeName => "Window";
|
| +
|
| + // TODO(efortuna): Remove this method. dartbug.com/16814
|
| + 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
|
| + 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.');
|
| }
|
|
|
| class _HistoryCrossFrame extends NativeFieldWrapperClass2 implements HistoryBase {
|
|
|