Index: test/mjsunit/arguments-apply.js |
=================================================================== |
--- test/mjsunit/arguments-apply.js (revision 2256) |
+++ test/mjsunit/arguments-apply.js (working copy) |
@@ -80,6 +80,13 @@ |
assertTrue(this === NonObjectReceiver(void 0)); |
+function FunctionReceiver() { |
+ return ReturnReceiver.apply(Object, arguments); |
+} |
+ |
+assertTrue(Object === FunctionReceiver()); |
+ |
+ |
function ShadowApply() { |
function f() { return 42; } |
f.apply = function() { return 87; } |