Index: test/mjsunit/regress/regress-1387.js |
diff --git a/test/mjsunit/regress/regress-1387.js b/test/mjsunit/regress/regress-1387.js |
index d171d381ad27f2ac101105dbe0419211adf10b46..0d58eab4994956553a8c5301a1565aebe9f7cf05 100644 |
--- a/test/mjsunit/regress/regress-1387.js |
+++ b/test/mjsunit/regress/regress-1387.js |
@@ -26,13 +26,13 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// Tests that we always return the same type error function when trying to |
-// access strict mode caller and callee. |
+// access or set strict mode callee. |
function foo() { |
'use strict'; |
return arguments; |
} |
-var get1 = Object.getOwnPropertyDescriptor(foo(), "caller").get; |
-var get2 = Object.getOwnPropertyDescriptor(foo(), "callee").get; |
-assertEquals(get1, get2); |
+var get = Object.getOwnPropertyDescriptor(foo(), "callee").get; |
+var set = Object.getOwnPropertyDescriptor(foo(), "callee").set; |
+assertEquals(get, set); |