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

Unified Diff: test/mjsunit/object-literal.js

Issue 7206020: Make "native" not a keyword. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
Index: test/mjsunit/object-literal.js
diff --git a/test/mjsunit/object-literal.js b/test/mjsunit/object-literal.js
index 5dcbb3bc7c9c08d52bbe192904f104dddfbbdd44..3d0b33bd99195584829d67db2af31ed123ce6d31 100644
--- a/test/mjsunit/object-literal.js
+++ b/test/mjsunit/object-literal.js
@@ -105,7 +105,7 @@ assertFalse(a.a.b === b.a.b);
assertFalse(a.a.c === b.a.c);
-// Test keywords valid as property names in initializers and dot-access.
+// Test keywords are valid as property names in initializers and dot-access.
var keywords = [
"break",
"case",
@@ -124,7 +124,6 @@ var keywords = [
"if",
"in",
"instanceof",
- "native",
"new",
"null",
"return",
@@ -137,7 +136,7 @@ var keywords = [
"var",
"void",
"while",
- "with",
+ "with"
];
function testKeywordProperty(keyword) {

Powered by Google App Engine
This is Rietveld 408576698