Index: test/mjsunit/harmony/promises.js |
diff --git a/test/mjsunit/harmony/promises.js b/test/mjsunit/harmony/promises.js |
index 38ccd7fb2bdc27a645efa5e25c1c03b0daaa2446..70573613d579143682f98d46b99dca6bd353f6a9 100644 |
--- a/test/mjsunit/harmony/promises.js |
+++ b/test/mjsunit/harmony/promises.js |
@@ -561,7 +561,7 @@ function assertAsyncDone(iteration) { |
(function() { |
Promise.all({get length() { throw 666 }}).chain( |
rossberg
2014/02/27 08:45:28
Nit: I would remove the poisoned length method fro
yhirano
2014/02/27 08:54:51
Done.
|
assertUnreachable, |
- function(r) { assertAsync(r === 666, "all/no-array") } |
+ function(r) { assertAsync(r instanceof TypeError, "all/no-array") } |
) |
assertAsyncRan() |
})(); |
@@ -660,7 +660,7 @@ function assertAsyncDone(iteration) { |
(function() { |
Promise.race({get length() { throw 666 }}).chain( |
rossberg
2014/02/27 08:45:28
Same here.
yhirano
2014/02/27 08:54:51
Done.
|
assertUnreachable, |
- function(r) { assertAsync(r === 666, "one/no-array") } |
+ function(r) { assertAsync(r instanceof TypeError, "one/no-array") } |
) |
assertAsyncRan() |
})(); |