Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1282)

Unified Diff: test/mjsunit/accessors-on-global-object.js

Issue 6673019: Revert revision 7143, this causes a number of webkit tests to fail.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/v8natives.js ('k') | test/mjsunit/regress/regress-1240.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « src/v8natives.js ('k') | test/mjsunit/regress/regress-1240.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698