Index: test/mjsunit/accessors-on-global-object.js |
=================================================================== |
--- test/mjsunit/accessors-on-global-object.js (revision 7143) |
+++ test/mjsunit/accessors-on-global-object.js (working copy) |
@@ -28,7 +28,7 @@ |
// Test that installing a getter on the global object instead of a |
// normal property works. |
-x = 0; |
+var x = 0; |
function getX() { return x; } |
@@ -41,7 +41,7 @@ |
// Test that installing a setter on the global object instead of a |
// normal property works. |
-y = 0; |
+var y = 0; |
var setter_y; |
function setY(value) { y = value; } |
@@ -67,6 +67,6 @@ |
assertEquals(i < 5 ? 42 : 0, getZ()); |
if (i == 4) { |
delete z; |
- z = 0; |
+ var z = 0; |
} |
} |