Index: test/mjsunit/es6/rest-params.js |
diff --git a/test/mjsunit/es6/rest-params.js b/test/mjsunit/es6/rest-params.js |
index 9afe9b409e62af33f1ab2545c2dbffa81a149c5d..2f122daffd5eb966260013840f91d2b1baf02912 100644 |
--- a/test/mjsunit/es6/rest-params.js |
+++ b/test/mjsunit/es6/rest-params.js |
@@ -136,11 +136,9 @@ var O = { |
(function testUnmappedArguments() { |
// Strict/Unmapped arguments should always be used for functions with rest |
// parameters |
- assertThrows(function(...rest) { return arguments.caller; }, TypeError); |
assertThrows(function(...rest) { return arguments.callee; }, TypeError); |
// TODO(caitp): figure out why this doesn't throw sometimes, even though the |
// getter always does =) |
- // assertThrows(function(...rest) { arguments.caller = 1; }, TypeError); |
// assertThrows(function(...rest) { arguments.callee = 1; }, TypeError); |
})(); |