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

Unified Diff: test/mjsunit/indexed-accessors.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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 | « test/mjsunit/if-in-undefined.js ('k') | test/mjsunit/indexed-value-properties.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/indexed-accessors.js
diff --git a/test/mjsunit/indexed-accessors.js b/test/mjsunit/indexed-accessors.js
index b69695a99f11d0ee075120c84ac2f9632c781c9b..decdb91356cb4fd785d7450b2ccaf8a7562ae7b9 100644
--- a/test/mjsunit/indexed-accessors.js
+++ b/test/mjsunit/indexed-accessors.js
@@ -44,7 +44,7 @@ assertEquals(7, o.x);
function Pair(x, y) {
this.x = x;
this.y = y;
-};
+}
Pair.prototype.__defineGetter__('0', function() { return this.x; });
Pair.prototype.__defineGetter__('1', function() { return this.y; });
Pair.prototype.__defineSetter__('0', function(x) { this.x = x; });
@@ -102,7 +102,7 @@ assertEquals(q1.b, 17);
a = function() {};
__defineSetter__("0", function() {});
-if (a |= '') {};
+if (a |= '') {}
assertThrows('this[a].__parent__');
assertEquals(a, 0);
assertEquals(this[a], undefined);
« no previous file with comments | « test/mjsunit/if-in-undefined.js ('k') | test/mjsunit/indexed-value-properties.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698