Index: test/webkit/fast/js/caller-property-expected.txt |
diff --git a/test/webkit/fast/js/caller-property-expected.txt b/test/webkit/fast/js/caller-property-expected.txt |
index a5d4dd2c14fd2702a2c64507f1bf07ca449e3076..565d916cafd97aaed29db5c196720801bb961509 100644 |
--- a/test/webkit/fast/js/caller-property-expected.txt |
+++ b/test/webkit/fast/js/caller-property-expected.txt |
@@ -30,21 +30,21 @@ PASS childHasCallerWhenExecutingGlobalCode is false |
PASS childHasCallerWhenCalledWithoutParent is false |
PASS childHasCallerWhenCalledFromWithinParent is true |
PASS nonStrictCaller(nonStrictCallee) is nonStrictCaller |
-FAIL nonStrictCaller(strictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
+FAIL nonStrictCaller(strictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
arv (Not doing code reviews)
2015/04/07 16:18:40
Maybe update the test for these?
caitp (gmail)
2015/04/07 16:29:57
Okay --- Is there a good reason this test is kept
arv (Not doing code reviews)
2015/04/07 17:00:12
We can remove it as long as we have other tests th
|
FAIL strictCaller(nonStrictCallee) should throw TypeError: Function.caller used to retrieve strict caller. Was null. |
-FAIL strictCaller(strictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
+FAIL strictCaller(strictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
PASS nonStrictCaller(boundNonStrictCallee) is nonStrictCaller |
-FAIL nonStrictCaller(boundStrictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
+FAIL nonStrictCaller(boundStrictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
FAIL strictCaller(boundNonStrictCallee) should throw TypeError: Function.caller used to retrieve strict caller. Was null. |
-FAIL strictCaller(boundStrictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
+FAIL strictCaller(boundStrictCallee) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
PASS nonStrictGetter(nonStrictAccessor) is nonStrictGetter |
PASS nonStrictSetter(nonStrictAccessor) is true |
-FAIL nonStrictGetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
-FAIL nonStrictSetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
+FAIL nonStrictGetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
+FAIL nonStrictSetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
FAIL strictGetter(nonStrictAccessor) should throw TypeError: Function.caller used to retrieve strict caller. Was null. |
FAIL strictSetter(nonStrictAccessor) should throw TypeError: Function.caller used to retrieve strict caller. Was undefined. |
-FAIL strictGetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
-FAIL strictSetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them. |
+FAIL strictGetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
+FAIL strictSetter(strictAccessor) should throw TypeError: Type error. Threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.. |
PASS successfullyParsed is true |
TEST COMPLETE |