| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 6ddde507c4ff136d6db8a0b3dae13ef0a6d642cd..7f811cf0c89ceacf040d6757590acf7106c2c1fc 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -28544,9 +28544,9 @@ class _EventStream<T extends Event> extends Stream<T> {
|
| bool get isBroadcast => true;
|
|
|
| StreamSubscription<T> listen(void onData(T event),
|
| - { void onError(AsyncError error),
|
| - void onDone(),
|
| - bool unsubscribeOnError}) {
|
| + { void onError(error),
|
| + void onDone(),
|
| + bool unsubscribeOnError}) {
|
|
|
| return new _EventStreamSubscription<T>(
|
| this._target, this._eventType, onData, this._useCapture);
|
| @@ -28588,7 +28588,7 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> {
|
| }
|
|
|
| /// Has no effect.
|
| - void onError(void handleError(AsyncError error)) {}
|
| + void onError(void handleError(error)) {}
|
|
|
| /// Has no effect.
|
| void onDone(void handleDone()) {}
|
| @@ -29942,10 +29942,8 @@ class _ModelTreeObserver {
|
| node._model = model;
|
| node._modelChangedStream.add(node);
|
| }
|
| - } on AsyncError catch (e) {
|
| - e.throwDelayed();
|
| } catch (e, s) {
|
| - new AsyncError(e, s).throwDelayed();
|
| + new Future.immediateError(e, s);
|
| }
|
| for (var child = node.$dom_firstChild; child != null;
|
| child = child.nextNode) {
|
|
|