Index: test/mjsunit/strict-mode.js |
diff --git a/test/mjsunit/strict-mode.js b/test/mjsunit/strict-mode.js |
index f7f95da88c99592e792e9e6b45b13d2ce4b1c545..736ff1b9f11a4d45a5afed2cde8bbb9cc8edaae3 100644 |
--- a/test/mjsunit/strict-mode.js |
+++ b/test/mjsunit/strict-mode.js |
@@ -1111,14 +1111,14 @@ function CheckArgumentsPillDescriptor(func, name) { |
} |
var args = strict(); |
- CheckArgumentsPillDescriptor(args, "caller"); |
+ assertEquals(undefined, Object.getOwnPropertyDescriptor(args, "caller")); |
CheckArgumentsPillDescriptor(args, "callee"); |
args = strict(17, "value", strict); |
assertEquals(17, args[0]) |
assertEquals("value", args[1]) |
assertEquals(strict, args[2]); |
- CheckArgumentsPillDescriptor(args, "caller"); |
+ assertEquals(undefined, Object.getOwnPropertyDescriptor(args, "caller")); |
CheckArgumentsPillDescriptor(args, "callee"); |
function outer() { |
@@ -1130,14 +1130,14 @@ function CheckArgumentsPillDescriptor(func, name) { |
} |
var args = outer()(); |
- CheckArgumentsPillDescriptor(args, "caller"); |
+ assertEquals(undefined, Object.getOwnPropertyDescriptor(args, "caller")); |
CheckArgumentsPillDescriptor(args, "callee"); |
args = outer()(17, "value", strict); |
assertEquals(17, args[0]) |
assertEquals("value", args[1]) |
assertEquals(strict, args[2]); |
- CheckArgumentsPillDescriptor(args, "caller"); |
+ assertEquals(undefined, Object.getOwnPropertyDescriptor(args, "caller")); |
CheckArgumentsPillDescriptor(args, "callee"); |
})(); |