Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart

Issue 11644053: Fixing core exception tests after Chrome update. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
index 7a4cc611886bf97a38255b4a29897c47f72c7f1b..39e1c5c8f651b7254d2ac1d00b522d3925ff7525 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
@@ -1016,7 +1016,8 @@ unwrapException(ex) {
if (message is String) {
if (message.endsWith('is null') ||
message.endsWith('is undefined') ||
- message.endsWith('is null or undefined')) {
+ message.endsWith('is null or undefined') ||
+ message.endsWith('of null')) {
return new NoSuchMethodError(null, '<unknown>', [], {});
} else if (contains(message, ' has no method ') ||
contains(message, ' is not a function') ||
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698