Index: test/mjsunit/regress/regress-124.js |
diff --git a/test/mjsunit/regress/regress-124.js b/test/mjsunit/regress/regress-124.js |
index 0b3aae5358605c14156e20d4feee581d66d39fcd..e0df6f54a4742837a686b989b360afd63b230a1f 100644 |
--- a/test/mjsunit/regress/regress-124.js |
+++ b/test/mjsunit/regress/regress-124.js |
@@ -26,13 +26,13 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
assertEquals("[object global]", this.toString()); |
-assertEquals("[object global]", toString()); |
+assertEquals("[object Undefined]", toString()); |
assertEquals("[object global]", eval("this.toString()")); |
-assertEquals("[object global]", eval("toString()")); |
+assertEquals("[object Undefined]", eval("toString()")); |
assertEquals("[object global]", eval("var f; this.toString()")); |
-assertEquals("[object global]", eval("var f; toString()")); |
+assertEquals("[object Undefined]", eval("var f; toString()")); |
function F(f) { |
@@ -45,7 +45,7 @@ function F(f) { |
assertEquals("[object global]", eval("var f; this.toString()")); |
assertEquals("[object global]", eval("var f; toString()")); |
- assertEquals("[object global]", eval("f()")); |
+ assertEquals("[object Undefined]", eval("f()")); |
// Receiver should be the arguments object here. |
assertEquals("[object Arguments]", eval("arguments[0]()")); |