Index: tests/lib/async/dart2js_uncaught_error_test.dart |
diff --git a/tests/lib/async/dart2js_uncaught_error_test.dart b/tests/lib/async/dart2js_uncaught_error_test.dart |
index 6c7f12d7e1068a29bde3baf38a01ea070cde2347..8f1c203666ae43934f324687c12400822a8c7e74 100644 |
--- a/tests/lib/async/dart2js_uncaught_error_test.dart |
+++ b/tests/lib/async/dart2js_uncaught_error_test.dart |
@@ -25,6 +25,7 @@ main() { |
Expect.equals(expect[0].toString(), message); |
Expect.equals(expect[1].toString(), error["stack"].toString()); |
} |
+ |
context["onerror"] = new JsFunction.withThis(errorHandler); |
void throwit() { |