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 71db650fcd82c87f34e9311172e2622181f11bbf..7a4cc611886bf97a38255b4a29897c47f72c7f1b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
@@ -1018,7 +1018,8 @@ unwrapException(ex) { |
message.endsWith('is undefined') || |
message.endsWith('is null or undefined')) { |
return new NoSuchMethodError(null, '<unknown>', [], {}); |
- } else if (contains(message, ' is not a function') || |
+ } else if (contains(message, ' has no method ') || |
+ contains(message, ' is not a function') || |
(ieErrorCode == 438 && ieFacilityNumber == 10)) { |
// Examples: |
// x.foo is not a function |