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

Unified Diff: test/mjsunit/es6/rest-params.js

Issue 2430383004: Remove the 'caller' property from the strict-mode arguments map (Closed)
Patch Set: Mark some test262 tests as FAIL Created 4 years, 1 month 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 | « test/mjsunit/es6/classes.js ('k') | test/mjsunit/regress/regress-1387.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
})();
« no previous file with comments | « test/mjsunit/es6/classes.js ('k') | test/mjsunit/regress/regress-1387.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698