diff options
Diffstat (limited to 'test/suite/ch07/7.6')
271 files changed, 3068 insertions, 2953 deletions
diff --git a/test/suite/ch07/7.6/7.6-1.js b/test/suite/ch07/7.6/7.6-1.js index b4bc37326..99254e006 100644 --- a/test/suite/ch07/7.6/7.6-1.js +++ b/test/suite/ch07/7.6/7.6-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-1.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: null (null)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: null (null) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u006eull = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-10.js b/test/suite/ch07/7.6/7.6-10.js index 36e6ea699..e5149379c 100644 --- a/test/suite/ch07/7.6/7.6-10.js +++ b/test/suite/ch07/7.6/7.6-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-10.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: new (new)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: new (new) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var n\u0065w = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-11.js b/test/suite/ch07/7.6/7.6-11.js index 4e5fee3be..e9af09dc6 100644 --- a/test/suite/ch07/7.6/7.6-11.js +++ b/test/suite/ch07/7.6/7.6-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-11.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: var (var)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: var (var) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var va\u0072 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-12.js b/test/suite/ch07/7.6/7.6-12.js index 3d939c8a9..f064b7cb9 100644 --- a/test/suite/ch07/7.6/7.6-12.js +++ b/test/suite/ch07/7.6/7.6-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-12.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: try (try)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: try (try) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0074\u0072\u0079 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-13.js b/test/suite/ch07/7.6/7.6-13.js index bde18e099..e18005f17 100644 --- a/test/suite/ch07/7.6/7.6-13.js +++ b/test/suite/ch07/7.6/7.6-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-13.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: catch (catch)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: catch (catch) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0063atch = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-14.js b/test/suite/ch07/7.6/7.6-14.js index d9c6d794f..aecf17902 100644 --- a/test/suite/ch07/7.6/7.6-14.js +++ b/test/suite/ch07/7.6/7.6-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-14.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: finally (finally)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: finally (finally) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var fina\u006cly = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-15.js b/test/suite/ch07/7.6/7.6-15.js index b2f034760..3193cee24 100644 --- a/test/suite/ch07/7.6/7.6-15.js +++ b/test/suite/ch07/7.6/7.6-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-15.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: return (return)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: return (return) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var retur\u006e = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-16.js b/test/suite/ch07/7.6/7.6-16.js index ba98c547b..fa82eef2c 100644 --- a/test/suite/ch07/7.6/7.6-16.js +++ b/test/suite/ch07/7.6/7.6-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-16.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: void (void)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: void (void) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0076\u006f\u0069\u0064 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-17.js b/test/suite/ch07/7.6/7.6-17.js index 93a309cbd..42f1b11ad 100644 --- a/test/suite/ch07/7.6/7.6-17.js +++ b/test/suite/ch07/7.6/7.6-17.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-17.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: continue (continue)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: continue (continue) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0063ontinue = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-18.js b/test/suite/ch07/7.6/7.6-18.js index aba469e60..aaa18aab4 100644 --- a/test/suite/ch07/7.6/7.6-18.js +++ b/test/suite/ch07/7.6/7.6-18.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-18.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: for (for)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: for (for) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var f\u006fr = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-19.js b/test/suite/ch07/7.6/7.6-19.js index b6df7be44..7a1d06dee 100644 --- a/test/suite/ch07/7.6/7.6-19.js +++ b/test/suite/ch07/7.6/7.6-19.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-19.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: switch (switch)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: switch (switch) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var switc\u0068 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-2.js b/test/suite/ch07/7.6/7.6-2.js index c6ecd7172..c706f39ec 100644 --- a/test/suite/ch07/7.6/7.6-2.js +++ b/test/suite/ch07/7.6/7.6-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-2.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: true (true)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: true (true) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var tr\u0075e = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-20.js b/test/suite/ch07/7.6/7.6-20.js index 1eefcf064..dc01317fd 100644 --- a/test/suite/ch07/7.6/7.6-20.js +++ b/test/suite/ch07/7.6/7.6-20.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-20.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: while (while)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: while (while) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0077\u0068\u0069\u006c\u0065 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-21.js b/test/suite/ch07/7.6/7.6-21.js index c1cc483ec..dd8ef8040 100644 --- a/test/suite/ch07/7.6/7.6-21.js +++ b/test/suite/ch07/7.6/7.6-21.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-21.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: debugger (debugger)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: debugger (debugger) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0064ebugger = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-22.js b/test/suite/ch07/7.6/7.6-22.js index a050ca989..7a2bd8c10 100644 --- a/test/suite/ch07/7.6/7.6-22.js +++ b/test/suite/ch07/7.6/7.6-22.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-22.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: function (function)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: function (function) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var func\u0074ion = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-23.js b/test/suite/ch07/7.6/7.6-23.js index df98f3815..1b9cdffcb 100644 --- a/test/suite/ch07/7.6/7.6-23.js +++ b/test/suite/ch07/7.6/7.6-23.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-23.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: this (this)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: this (this) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var thi\u0073 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-24.js b/test/suite/ch07/7.6/7.6-24.js index d5773ebf2..fae50ce62 100644 --- a/test/suite/ch07/7.6/7.6-24.js +++ b/test/suite/ch07/7.6/7.6-24.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-24.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: if (if)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: if (if) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0069\u0066 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-25.js b/test/suite/ch07/7.6/7.6-25.js index ff25f3e02..86d984abc 100644 --- a/test/suite/ch07/7.6/7.6-25.js +++ b/test/suite/ch07/7.6/7.6-25.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-25.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: with (with)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: with (with) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0077ith = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-26.js b/test/suite/ch07/7.6/7.6-26.js index c740431cb..6289e1374 100644 --- a/test/suite/ch07/7.6/7.6-26.js +++ b/test/suite/ch07/7.6/7.6-26.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-26.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: default (default)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: default (default) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var def\u0061ult = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-27.js b/test/suite/ch07/7.6/7.6-27.js index e51bb26d8..d4ebd2fde 100644 --- a/test/suite/ch07/7.6/7.6-27.js +++ b/test/suite/ch07/7.6/7.6-27.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-27.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: throw (throw)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: throw (throw) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var thro\u0077 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-28.js b/test/suite/ch07/7.6/7.6-28.js index 8f4dd26cf..0bb46f493 100644 --- a/test/suite/ch07/7.6/7.6-28.js +++ b/test/suite/ch07/7.6/7.6-28.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-28.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: in (in)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: in (in) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0069\u006e = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-29.js b/test/suite/ch07/7.6/7.6-29.js index 9e97c02ba..5f7b9f73e 100644 --- a/test/suite/ch07/7.6/7.6-29.js +++ b/test/suite/ch07/7.6/7.6-29.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-29.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: delete (delete)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: delete (delete) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0064elete = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-3.js b/test/suite/ch07/7.6/7.6-3.js index d14357042..376996c12 100644 --- a/test/suite/ch07/7.6/7.6-3.js +++ b/test/suite/ch07/7.6/7.6-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-3.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: false (false)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: false (false) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var fals\u0065 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-30.js b/test/suite/ch07/7.6/7.6-30.js index 6e4af63b4..71136892c 100644 --- a/test/suite/ch07/7.6/7.6-30.js +++ b/test/suite/ch07/7.6/7.6-30.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-30.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: class (class)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: class (class) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var cla\u0073s = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-31.js b/test/suite/ch07/7.6/7.6-31.js index c9fb1089e..eeb57f89d 100644 --- a/test/suite/ch07/7.6/7.6-31.js +++ b/test/suite/ch07/7.6/7.6-31.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-31.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: extends (extends)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: extends (extends) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var extend\u0073 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-32.js b/test/suite/ch07/7.6/7.6-32.js index 86ea96417..6a0e70534 100644 --- a/test/suite/ch07/7.6/7.6-32.js +++ b/test/suite/ch07/7.6/7.6-32.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-32.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: enum (enum)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: enum (enum) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0065\u006e\u0075\u006d = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-33.js b/test/suite/ch07/7.6/7.6-33.js index 3d6c8dbe3..6ebaeea9e 100644 --- a/test/suite/ch07/7.6/7.6-33.js +++ b/test/suite/ch07/7.6/7.6-33.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-33.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: super (super)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: super (super) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0073uper = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-34.js b/test/suite/ch07/7.6/7.6-34.js index 391fa0191..32b4c1d66 100644 --- a/test/suite/ch07/7.6/7.6-34.js +++ b/test/suite/ch07/7.6/7.6-34.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-34.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: const (const)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: const (const) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var co\u006est = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-35.js b/test/suite/ch07/7.6/7.6-35.js index 5a729ad00..db302dc4b 100644 --- a/test/suite/ch07/7.6/7.6-35.js +++ b/test/suite/ch07/7.6/7.6-35.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-35.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: export (export)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: export (export) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var expor\u0074 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-36.js b/test/suite/ch07/7.6/7.6-36.js index afc680a0e..c12e5ca6b 100644 --- a/test/suite/ch07/7.6/7.6-36.js +++ b/test/suite/ch07/7.6/7.6-36.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-36.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: import (import)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: import (import) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0069\u006d\u0070\u006f\u0072\u0074 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-4.js b/test/suite/ch07/7.6/7.6-4.js index b621b8d7e..88f8b4f7c 100644 --- a/test/suite/ch07/7.6/7.6-4.js +++ b/test/suite/ch07/7.6/7.6-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-4.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: break (break)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: break (break) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0062\u0072\u0065\u0061\u006b = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-5.js b/test/suite/ch07/7.6/7.6-5.js index 5889b2fc6..2523b31b1 100644 --- a/test/suite/ch07/7.6/7.6-5.js +++ b/test/suite/ch07/7.6/7.6-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-5.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: case (case)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: case (case) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0063ase = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-6.js b/test/suite/ch07/7.6/7.6-6.js index d70805344..40b590e1f 100644 --- a/test/suite/ch07/7.6/7.6-6.js +++ b/test/suite/ch07/7.6/7.6-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-6.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: instanceof (instanceof)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: instanceof (instanceof) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var insta\u006eceof = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-7.js b/test/suite/ch07/7.6/7.6-7.js index f388e1302..862f04e07 100644 --- a/test/suite/ch07/7.6/7.6-7.js +++ b/test/suite/ch07/7.6/7.6-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-7.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: typeof (typeof)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: typeof (typeof) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var typeo\u0066 = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-8.js b/test/suite/ch07/7.6/7.6-8.js index ab4f25978..fc7a0d84c 100644 --- a/test/suite/ch07/7.6/7.6-8.js +++ b/test/suite/ch07/7.6/7.6-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-8.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: do (do)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: do (do) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0064\u006f = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6-9.js b/test/suite/ch07/7.6/7.6-9.js index 2e9f07b03..238e1009f 100644 --- a/test/suite/ch07/7.6/7.6-9.js +++ b/test/suite/ch07/7.6/7.6-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6-9.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: else (else) (null)
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: else (else) (null) +includes: [runTestCase.js] +---*/ + function testcase() {
try {
eval("var \u0065lse = 123;");
@@ -17,4 +19,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-1.js index 20be0698f..e152888de 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-1.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: null, true, false +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
null: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-10.js index 08f1d0026..81bdb897c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-10.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: in, try, class +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
in: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-11.js index 6875887d9..4fec3d3d9 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-11.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
enum: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-12.js index 52940898d..ff2cc2bfa 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-12.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: const, export, import +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
const: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-13.js index d35543629..fc5a9f30e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-13.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
implements: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-14.js index 6d9270d3e..b58df6880 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-14.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
public: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-15.js index 4585126a0..6b02595c8 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-15.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
package: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-16.js index 20b61eccf..06e7e2542 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-16.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: undeefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: undeefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
undefined: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-2.js index 8b0ca79ea..dc834d144 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-2.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: break, case, do +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
break: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-3.js index 5254fdfa3..6ee8dc2cb 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-3.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
instanceof: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-4.js index 5391b5be8..305e31b44 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-4.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
new: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-5.js index cc65a2bd2..88fae4fa0 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-5.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
finally: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-6.js index 157b2fec9..b29505d0f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-6.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
continue: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-7.js index 227e58d5a..3b682c6f8 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-7.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
while: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-8.js index 0045ead1d..60a55d7a9 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-8.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: this, with, default +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
this: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-1-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-1-9.js index 285d14ec9..411410f57 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-1-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-1-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-1-9.js
- * @description Allow reserved words as property names at object initialization, verified with hasOwnProperty: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + verified with hasOwnProperty: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase(){
var tokenCodes = {
if: 0,
@@ -31,4 +33,4 @@ function testcase(){ }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-1.js index d652a22a4..e82407601 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-1.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.null = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-10.js index 2d8ed66f1..629e5ed01 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-10.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.in = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-11.js index 2185f2de0..321739a62 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-11.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.enum = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-12.js index 622ec9067..45a0c65ec 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-12.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.const = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-13.js index 169cbc798..a5ea81a9c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-13.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.implements = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-14.js index 3343b2670..a18af7cbe 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-14.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.public = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-15.js index ce04d2900..f681cb947 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-15.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.package = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-16.js index e078859fc..a2b8e200c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-16.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.undefined = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js index 3a8997852..8a2c3f8ba 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-2.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.break = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-3.js index 30e4bc139..b352d2640 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-3.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.instanceof = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-4.js index 0d43d0373..4f541b013 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-4.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.new = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js index 542175c02..d1f4ee984 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-5.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.finally = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-6.js index 20a949a70..031ac69da 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-6.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.continue = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-7.js index 83f526468..75c500fe1 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-7.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.while = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-8.js index 62e39d18a..8cec3d552 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-8.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.this = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-9.js index 99678952f..c899ff219 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-9.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.if = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-1.js index 7f890eb5d..7c591a92a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-1.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['null'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-10.js index 83dddc14e..9328a5970 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-10.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['in'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-11.js index 4b1f58b41..dd94c2a6b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-11.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['enum'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-12.js index 72cc76dbe..2b909d357 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-12.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['const'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-13.js index 6bd557357..4a896b7c6 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-13.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['implements'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-14.js index b70990d6c..934b949b1 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-14.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['public'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-15.js index f5b7664b8..cafad39ff 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-15.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['package'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-16.js index afd96393c..bc9e831e7 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-16.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['undefined'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-2.js index 351e26392..61b59bb83 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-2.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['break'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-3.js index c756355fe..6422421f0 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-3.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['instanceof'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-4.js index 15de6619b..851e749ac 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-4.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['new'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-5.js index cae2bb6e6..d5552134b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-5.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['finally'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-6.js index 452072295..485c5a5ae 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-6.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['continue'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-7.js index 15092a0cf..4367b1a0e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-7.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['while'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-8.js index 19db5267f..c860b73bc 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-8.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['this'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-3-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-3-9.js index 856cdb104..db900be78 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-3-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-3-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-3-9.js
- * @description Allow reserved words as property names by index assignment,verified with hasOwnProperty: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index + assignment,verified with hasOwnProperty: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['if'] = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-1.js index 8f81d173c..4c79ecd65 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-1.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-10.js index ae2445a25..a389be91e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-10.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-11.js index 081d81170..77413732f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-11.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-12.js index 3c16683f7..a14257b0b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-12.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-13.js index 47dd6e266..d6ad18813 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-13.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-14.js index 0d1e1aa4f..53f620d31 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-14.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-15.js index 111f00706..dcc6c3874 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-15.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-16.js index 0edafa8e3..218dc1938 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-16.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-2.js index 8569c9cea..396e4c7d6 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-2.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-3.js index 3ef8ea7aa..b7234d85c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-3.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-4.js index afb165ed1..7b424f4ea 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-4.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-5.js index e4c6badae..0252606ae 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-5.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-6.js index f240ded36..ee2ce3350 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-6.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-7.js index 6134976c8..6ef4ca018 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-7.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-8.js index a027cf608..415731dd2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-8.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-4-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-4-9.js index 1828b0d9a..881371129 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-4-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-4-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-4-9.js
- * @description Allow reserved words as property names by set function within an object, verified with hasOwnProperty: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, verified with hasOwnProperty: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -47,4 +49,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-1.js index 88eb2869f..7ee7d8e92 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-1.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
null: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-10.js index a00ce7096..d68d0f617 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-10.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
in: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-11.js index 7a3a3af0c..d3425cb69 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-11.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
enum: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-12.js index b2b7645f5..324825868 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-12.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
const : 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-13.js index a7b03b95c..c366336f3 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-13.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
implements: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-14.js index f24467c8f..82464e994 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-14.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
public: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-15.js index 498e5e7d5..fb0fd186e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-15.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
package: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-16.js index 8bf471549..83079aa1d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-16.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
undefined: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-2.js index 79ccb65b9..bcb52fae5 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-2.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
break: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-3.js index 643fce68f..ff53dc5e1 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-3.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
instanceof: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-4.js index 8080248a2..6287ed7fc 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-4.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
new: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-5.js index bb3280732..d2432c88b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-5.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
finally: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-6.js index c9dc5a146..e7fea4674 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-6.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
continue: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-7.js index a0a5a977b..f040c5588 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-7.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
while: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-8.js index d659f6acd..00bd68a35 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-8.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
this: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-5-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-5-9.js index 6e21dfd78..30f3454be 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-5-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-5-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-5-9.js
- * @description Allow reserved words as property names at object initialization, accessed via indexing: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names at object initialization, + accessed via indexing: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {
if: 0,
@@ -27,4 +29,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-1.js index b2c98910a..aa951aad2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-1.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.null = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-10.js index 3099c4abc..423efca67 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-10.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.in = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-11.js index 9fda29ca4..055c39b18 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-11.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.enum = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-12.js index 7cfb6643a..4c2638547 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-12.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.const = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-13.js index ff4bf38cf..44a061d05 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-13.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.implements = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-14.js index 4bea56fe5..892cf26c3 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-14.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.public = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-15.js index 0021da41b..7aefd5f05 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-15.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.package = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-16.js index bc98a8a5f..aa6ba7bd1 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-16.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.undefined = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-2.js index 65c06c957..149dd010c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-2.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.break = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-3.js index b403a3efe..834e7d381 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-3.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.instanceof = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-4.js index cbe85b25e..875693a88 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-4.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.new = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-5.js index 5d2e1b6f6..9360d3a58 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-5.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.finally = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-6.js index df407917b..1846c8410 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-6.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.continue = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-7.js index 1c4ca549c..aa5d81404 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-7.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.while = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-8.js index 945eecf73..33dcb3d72 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-8.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.this = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-6-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-6-9.js index ae8bbbcd2..d8568e027 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-6-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-6-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-6-9.js
- * @description Allow reserved words as property names by dot operator assignment, accessed via indexing: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + accessed via indexing: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.if = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-1.js index 060d98cb9..f5d887e07 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-1.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['null'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-10.js index 22a2e32fb..4a1fec0af 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-10.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['in'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-11.js index 0c0176399..36bee196c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-11.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['enum'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-12.js index 56eb9d318..c20dcc5f2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-12.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['const'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-13.js index fd8beb9a2..0d08da554 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-13.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['implements'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js index 295abc5d1..3e3df39c1 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-14.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['public'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-15.js index 5c95f6db6..af262c31d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-15.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['package'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-16.js index f8146c5ab..7e20d489b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-16.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['undefined'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-2.js index 62df8ea1d..d893d4e1f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-2.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['break'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-3.js index 772c108b4..f7965a8ff 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-3.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['instanceof'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-4.js index 99d7868b9..1f47ed943 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-4.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['new'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-5.js index 3543e4f25..625b6fd49 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-5.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['finally'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-6.js index 652fc97d7..61fadac94 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-6.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['continue'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-7.js index 1605d5d0b..33973e848 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-7.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['while'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-8.js index eab4c423a..4a3a7f690 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-8.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['this'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-9.js index 9f018dfa6..ed8dcdecd 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-9.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by index assignment, + accessed via indexing: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes['if'] = 0;
@@ -26,4 +28,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-1.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-1.js index 7d816111d..00ab69388 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-1.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-1.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: null, true, false
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: null, true, false +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-10.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-10.js index 3b48de443..7866690c2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-10.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-10.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: in, try, class
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: in, try, class +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-11.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-11.js index ff92952e1..fab1a9f85 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-11.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-11.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: enum, extends, super
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: enum, extends, super +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-12.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-12.js index 2a4a1d170..62da332a4 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-12.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-12.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: const, export, import
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: const, export, import +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-13.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-13.js index a2f46d570..89f76f312 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-13.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-13.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: implements, let, private
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: implements, let, private +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-14.js index 393ae46b0..475e094ad 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-14.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-14.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: public, yield, interface +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-15.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-15.js index 81d5f4b7f..7fa893a99 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-15.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-15.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: package, protected, static
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: package, protected, static +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-16.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-16.js index 91ff6b9c8..d5b60c494 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-16.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-16.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: undefined, NaN, Infinity
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: undefined, NaN, Infinity +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-2.js index 9af600938..e9f991e05 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-2.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-2.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: break, case, do +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-3.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-3.js index b26b4d020..de828f912 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-3.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-3.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: instanceof, typeof, else
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: instanceof, typeof, else +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-4.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-4.js index b8de25452..38af7ca50 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-4.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-4.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: new, var, catch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: new, var, catch +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-5.js index 26d5f3aac..5f72f854d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-5.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-6.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-6.js index 4b5f217f4..f8c762cb3 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-6.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-6.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: continue, for, switch
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: continue, for, switch +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-7.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-7.js index 58555e62e..ff78b0a3a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-7.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-7.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: while, debugger, function
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: while, debugger, function +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-8.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-8.js index c6c39dd22..3ab8f4a83 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-8.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-8.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: this, with, default
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: this, with, default +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-8-9.js b/test/suite/ch07/7.6/7.6.1/7.6.1-8-9.js index f61ec565b..bfd6b8226 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-8-9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-8-9.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-8-9.js
- * @description Allow reserved words as property names by set function within an object, accessed via indexing: if, throw, delete
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by set function within an + object, accessed via indexing: if, throw, delete +includes: [runTestCase.js] +---*/ + function testcase() {
var test0 = 0, test1 = 1, test2 = 2;
var tokenCodes = {
@@ -43,4 +45,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.1.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.1.js index 89653b5cd..6297d2c81 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.1.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "break" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.1.js - * @description Checking if execution of "break=1" fails - * @negative - */ +/*--- +info: The "break" token can not be used as identifier +description: Checking if execution of "break=1" fails +flags: [negative] +---*/ break = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js index 0511807b6..2d08967b2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "for" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js - * @description Checking if execution of "for=1" fails - * @negative - */ +/*--- +info: The "for" token can not be used as identifier +description: Checking if execution of "for=1" fails +flags: [negative] +---*/ for = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.11.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.11.js index 39d4b7efa..e2c51c87f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.11.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "function" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.11.js - * @description Checking if execution of "function=1" fails - * @negative - */ +/*--- +info: The "function" token can not be used as identifier +description: Checking if execution of "function=1" fails +flags: [negative] +---*/ function = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.12.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.12.js index 43433a6b5..35a397443 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.12.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "if" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.12.js - * @description Checking if execution of "if=1" fails - * @negative - */ +/*--- +info: The "if" token can not be used as identifier +description: Checking if execution of "if=1" fails +flags: [negative] +---*/ if = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.13.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.13.js index 2e52df961..e018c9e4d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.13.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "in" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.13.js - * @description Checking if execution of "in=1" fails - * @negative - */ +/*--- +info: The "in" token can not be used as identifier +description: Checking if execution of "in=1" fails +flags: [negative] +---*/ in = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.14.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.14.js index 5867436c7..7060f8beb 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.14.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "instanceof" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.14.js - * @description Checking if execution of "instanceof=1" fails - * @negative - */ +/*--- +info: The "instanceof" token can not be used as identifier +description: Checking if execution of "instanceof=1" fails +flags: [negative] +---*/ instanceof = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.15.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.15.js index 56ec3af72..e62727f28 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.15.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "new" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.15.js - * @description Checking if execution of "new=1" fails - * @negative - */ +/*--- +info: The "new" token can not be used as identifier +description: Checking if execution of "new=1" fails +flags: [negative] +---*/ new = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.16.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.16.js index 7f6a21a7c..81dd89743 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.16.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "return" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.16.js - * @description Checking if execution of "return=1" fails - * @negative - */ +/*--- +info: The "return" token can not be used as identifier +description: Checking if execution of "return=1" fails +flags: [negative] +---*/ return = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.17.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.17.js index 34024b4d4..0521b0548 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.17.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.17.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "switch" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.17.js - * @description Checking if execution of "switch=1" fails - * @negative - */ +/*--- +info: The "switch" token can not be used as identifier +description: Checking if execution of "switch=1" fails +flags: [negative] +---*/ switch = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.18.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.18.js index 6068789b6..69a5010d9 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.18.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.18.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "this" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.18.js - * @description Checking if execution of "this=1" fails - * @negative - */ +/*--- +info: The "this" token can not be used as identifier +description: Checking if execution of "this=1" fails +flags: [negative] +---*/ this = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.19.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.19.js index bb5ce8b7d..56449d9f7 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.19.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.19.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "throw" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.19.js - * @description Checking if execution of "throw=1" fails - * @negative - */ +/*--- +info: The "throw" token can not be used as identifier +description: Checking if execution of "throw=1" fails +flags: [negative] +---*/ throw = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.2.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.2.js index fa0b3a8fd..291bbac53 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.2.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "case" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.2.js - * @description Checking if execution of "case=1" fails - * @negative - */ +/*--- +info: The "case" token can not be used as identifier +description: Checking if execution of "case=1" fails +flags: [negative] +---*/ case = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.20.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.20.js index 62ce326f6..f2a5e66d0 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.20.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.20.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "try" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.20.js - * @description Checking if execution of "try=1" fails - * @negative - */ +/*--- +info: The "try" token can not be used as identifier +description: Checking if execution of "try=1" fails +flags: [negative] +---*/ try = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.21.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.21.js index d2aeca3fc..6111f4919 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.21.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.21.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "typeof" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.21.js - * @description Checking if execution of "typeof=1" fails - * @negative - */ +/*--- +info: The "typeof" token can not be used as identifier +description: Checking if execution of "typeof=1" fails +flags: [negative] +---*/ typeof = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.22.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.22.js index 2530ab8e7..3cfdf4038 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.22.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.22.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "var" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.22.js - * @description Checking if execution of "var=1" fails - * @negative - */ +/*--- +info: The "var" token can not be used as identifier +description: Checking if execution of "var=1" fails +flags: [negative] +---*/ var = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.23.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.23.js index 61f99bce1..0cbd7da1a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.23.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.23.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "void" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.23.js - * @description Checking if execution of "void=1" fails - * @negative - */ +/*--- +info: The "void" token can not be used as identifier +description: Checking if execution of "void=1" fails +flags: [negative] +---*/ void = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.24.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.24.js index 8c6c2816d..8f50c109e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.24.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.24.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "while" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.24.js - * @description Checking if execution of "while=1" fails - * @negative - */ +/*--- +info: The "while" token can not be used as identifier +description: Checking if execution of "while=1" fails +flags: [negative] +---*/ while = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.25.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.25.js index 15a7745b1..c76a85862 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.25.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.25.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "with" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.25.js - * @description Checking if execution of "with=1" fails - * @negative - */ +/*--- +info: The "with" token can not be used as identifier +description: Checking if execution of "with=1" fails +flags: [negative] +---*/ with = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.3.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.3.js index f69193845..a7bfec04c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.3.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "catch" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.3.js - * @description Checking if execution of "catch=1" fails - * @negative - */ +/*--- +info: The "catch" token can not be used as identifier +description: Checking if execution of "catch=1" fails +flags: [negative] +---*/ catch = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js index 86c02078d..c56c8b137 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "continue" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js - * @description Checking if execution of "contunue=1" fails - * @negative - */ +/*--- +info: The "continue" token can not be used as identifier +description: Checking if execution of "contunue=1" fails +flags: [negative] +---*/ continue = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.5.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.5.js index 52ad11b46..5e6127397 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.5.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "default" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.5.js - * @description Checking if execution of "default=1" fails - * @negative - */ +/*--- +info: The "default" token can not be used as identifier +description: Checking if execution of "default=1" fails +flags: [negative] +---*/ default = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.6.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.6.js index b6c24d8bf..0cf56e2af 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.6.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "delete" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.6.js - * @description Checking if execution of "delete=1" fails - * @negative - */ +/*--- +info: The "delete" token can not be used as identifier +description: Checking if execution of "delete=1" fails +flags: [negative] +---*/ delete = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.7.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.7.js index bce1d54ec..74a1eef2e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.7.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "do" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.7.js - * @description Checking if execution of "do=1" fails - * @negative - */ +/*--- +info: The "do" token can not be used as identifier +description: Checking if execution of "do=1" fails +flags: [negative] +---*/ do = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.8.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.8.js index b51909070..2e9696160 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.8.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "else" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.8.js - * @description Checking if execution of "else=1" fails - * @negative - */ +/*--- +info: The "else" token can not be used as identifier +description: Checking if execution of "else=1" fails +flags: [negative] +---*/ else = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.9.js b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.9.js index cea582656..36371fa9a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.9.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "finally" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.9.js - * @description Checking if execution of "finally=1" fails - * @negative - */ +/*--- +info: The "finally" token can not be used as identifier +description: Checking if execution of "finally=1" fails +flags: [negative] +---*/ finally = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2-1gs.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2-1gs.js index b76c692e7..496a1595a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2-1gs.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2-1gs.js @@ -1,16 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2-1gs.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'implements' occurs in strict mode code
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'implements' occurs in strict mode code +negative: ^((?!NotEarlyError).)*$ +flags: [onlyStrict] +---*/ + "use strict";
throw NotEarlyError;
-var implements = 1;
+var implements = 1; diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-17-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-17-s.js index 99014065a..ea3236c5d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-17-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-17-s.js @@ -1,15 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-17-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: implements (implements)
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: implements (implements) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -20,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-18-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-18-s.js index 3327995db..e4f3adc95 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-18-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-18-s.js @@ -1,15 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-18-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: l\u0065t (let)
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: l\u0065t (let) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -20,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-19-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-19-s.js index 14a5183d8..ce2ae6093 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-19-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-19-s.js @@ -1,14 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-19-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: privat\u0065 (private)
- * @onlyStrict
- */
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: privat\u0065 (private) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -19,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-20-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-20-s.js index 846805b69..172ae913b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-20-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-20-s.js @@ -1,14 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-20-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: \u0070\u0075\u0062\u006c\u0069\u0063 (public)
- * @onlyStrict
- */
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: \u0070\u0075\u0062\u006c\u0069\u0063 (public) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -19,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-21-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-21-s.js index f0536eac3..6d4525a0c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-21-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-21-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-21-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: \u0079ield (yield)
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: \u0079ield (yield) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-22-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-22-s.js index 5eb6d1ec6..07b32dded 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-22-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-22-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-22-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: inte\u0072face (interface)
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: inte\u0072face (interface) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-23-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-23-s.js index db11bad05..b193ecbdb 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-23-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-23-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-23-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: packag\u0065 (package)
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: packag\u0065 (package) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-24-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-24-s.js index f2c7e9f90..52f300399 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-24-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-24-s.js @@ -1,17 +1,18 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-24-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: \u0070\u0072\u006f\u0074\u0065\u0063\u0074\u0065\u0064 (protected)
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: + \u0070\u0072\u006f\u0074\u0065\u0063\u0074\u0065\u0064 (protected) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +23,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-25-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-25-s.js index b6ca63f82..4a82d5e7f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-25-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1-25-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1-25-s.js
- * @description 7.6 - SyntaxError expected: reserved words used as Identifier Names in UTF8: \u0073\u0074\u0061\u0074\u0069\u0063 (static)
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + 7.6 - SyntaxError expected: reserved words used as Identifier + Names in UTF8: \u0073\u0074\u0061\u0074\u0069\u0063 (static) +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-1-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-1-s.js index 3c34bc7cb..c8ddd5c89 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-1-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-1-s.js @@ -1,15 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-1-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'implements' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'implements' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -20,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-10-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-10-s.js index 8c5004d91..c04cb2da9 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-10-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-10-s.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-10-s.js
- * @description Strict Mode - SyntaxError isn't thrown when 'IMPLEMENTS' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError isn't thrown when 'IMPLEMENTS' occurs in + strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
var IMPLEMENTS = 1;
return IMPLEMENTS === 1;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-11-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-11-s.js index 34a017854..dee51e059 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-11-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-11-s.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-11-s.js
- * @description Strict Mode - SyntaxError isn't thrown when 'Implements' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError isn't thrown when 'Implements' occurs in + strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
var Implements = 1;
return Implements === 1;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-12-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-12-s.js index 14796c164..f837c1bf2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-12-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-12-s.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-12-s.js
- * @description Strict Mode - SyntaxError isn't thrown when 'implement' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError isn't thrown when 'implement' occurs in + strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
var implement = 1;
return implement === 1;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-13-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-13-s.js index 4513e1222..f1934a9f0 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-13-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-13-s.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-13-s.js
- * @description Strict Mode - SyntaxError isn't thrown when 'implementss' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError isn't thrown when 'implementss' occurs + in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
var implementss = 1;
return implementss === 1;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-14-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-14-s.js index 4863705c0..db304fe2a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-14-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-14-s.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-14-s.js
- * @description Strict Mode - SyntaxError isn't thrown when 'implements0' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError isn't thrown when 'implements0' occurs + in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
var implements0 = 1;
return implements0 === 1;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-16-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-16-s.js index 16f6bc191..0a4e3ce24 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-16-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-16-s.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-16-s.js
- * @description Strict Mode - SyntaxError isn't thrown when '_implements' occurs in strict mode code
- * @onlyStrict
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError isn't thrown when '_implements' occurs + in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
var _implements = 1;
return _implements === 1;
}
-runTestCase(testcase);
+runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-2-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-2-s.js index 9f922e41d..2d1615a96 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-2-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-2-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-2-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'let' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord 'let' + occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-3-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-3-s.js index 77530dd7b..2b135f936 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-3-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-3-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-3-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'private' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'private' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-4-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-4-s.js index 6f021380b..50263d2da 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-4-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-4-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-4-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'public' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'public' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-5-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-5-s.js index f6a798385..cfe7d306b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-5-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-5-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-5-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'yield' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'yield' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-6-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-6-s.js index 3e1e35ccd..a4a09d5fe 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-6-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-6-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-6-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'interface' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'interface' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-7-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-7-s.js index 6d2487376..dc47f5d9c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-7-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-7-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-7-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'package' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'package' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-8-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-8-s.js index 8e2f8e8fe..f7b679a9a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-8-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-8-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-8-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'protected' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'protected' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-9-s.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-9-s.js index 6e5ebfd21..1796ea0c6 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-9-s.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-9-s.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1.2/7.6.1.2-9-s.js
- * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'static' occurs in strict mode code
- * @onlyStrict
- */
-
-
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Strict Mode - SyntaxError is thrown when FutureReservedWord + 'static' occurs in strict mode code +flags: [onlyStrict] +includes: [runTestCase.js] +---*/ + function testcase() {
"use strict";
@@ -22,4 +22,4 @@ function testcase() { return e instanceof SyntaxError;
}
}
-runTestCase(testcase);
\ No newline at end of file +runTestCase(testcase); diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.1.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.1.js index 4b7573d26..dab17123b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.1.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.1.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "abstract" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.1.js - * @description Checking if execution of "abstract=1" succeeds - */ +/*--- +info: The "abstract" token can be used as identifier +description: Checking if execution of "abstract=1" succeeds +---*/ var abstract = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.10.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.10.js index d255891bb..c90e16dd5 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.10.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.10.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "export" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.10.js - * @description Checking if execution of "export=1" fails - * @negative - */ +/*--- +info: The "export" token can not be used as identifier +description: Checking if execution of "export=1" fails +flags: [negative] +---*/ var export = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.11.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.11.js index f95dbf77e..572942674 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.11.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.11.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "extends" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.11.js - * @description Checking if execution of "extends=1" fails - * @negative - */ +/*--- +info: The "extends" token can not be used as identifier +description: Checking if execution of "extends=1" fails +flags: [negative] +---*/ var extends = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.12.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.12.js index 41d1a2aa3..56e2ceced 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.12.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.12.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "final" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.12.js - * @description Checking if execution of "final=1" succeeds - */ +/*--- +info: The "final" token can be used as identifier +description: Checking if execution of "final=1" succeeds +---*/ var final = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.13.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.13.js index fcea14220..599479e87 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.13.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.13.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "float" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.13.js - * @description Checking if execution of "float=1" succeeds - */ +/*--- +info: The "float" token can be used as identifier +description: Checking if execution of "float=1" succeeds +---*/ var float = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.14.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.14.js index a8c81aef6..b0238049b 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.14.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.14.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "goto" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.14.js - * @description Checking if execution of "goto=1" succeeds - */ +/*--- +info: The "goto" token can be used as identifier +description: Checking if execution of "goto=1" succeeds +---*/ var goto = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15.js index b1d3adb8a..e970fdd7c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "implements" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15.js - * @description Checking if execution of "implements=1" fails in strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "implements" token can not be used as identifier in strict code +description: Checking if execution of "implements=1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15ns.js index 845f7914a..c3e177e68 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15ns.js @@ -1,13 +1,10 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "implements" token can be used as identifier in non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.15ns.js - * @description Checking if execution of "implements=1" succeeds in non-strict code - * @noStrict - */ +/*--- +info: The "implements" token can be used as identifier in non-strict code +description: Checking if execution of "implements=1" succeeds in non-strict code +flags: [noStrict] +---*/ var implements = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.16.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.16.js index 0e28098f0..7f8b5d75d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.16.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.16.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "import" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.16.js - * @description Checking if execution of "import=1" fails - * @negative - */ +/*--- +info: The "import" token can not be used as identifier +description: Checking if execution of "import=1" fails +flags: [negative] +---*/ var import = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.17.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.17.js index 97bd27342..e55c4ef6e 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.17.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.17.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "int" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.17.js - * @description Checking if execution of "int=1" succeeds - */ +/*--- +info: The "int" token can be used as identifier +description: Checking if execution of "int=1" succeeds +---*/ var int = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js index e8dd1ff42..6b5dcd5a0 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js @@ -1,16 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "interface" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js - * @description Checking if execution of "interface = 1" fails in - * strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "interface" token can not be used as identifier in strict code +description: Checking if execution of "interface = 1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; var interface = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18ns.js index 878a7cd42..ad7db6163 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18ns.js @@ -1,15 +1,14 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "interface" token can be used as identifier in - * non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18ns.js - * @description Checking if execution of "interface = 1" succeeds in - * non-strict code - * @noStrict - */ +/*--- +info: > + The "interface" token can be used as identifier in + non-strict code +description: > + Checking if execution of "interface = 1" succeeds in non-strict + code +flags: [noStrict] +---*/ var interface = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.19.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.19.js index d4905b5aa..737b77e1a 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.19.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.19.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "long" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.19.js - * @description Checking if execution of "long=1" succeeds - */ +/*--- +info: The "long" token can be used as identifier +description: Checking if execution of "long=1" succeeds +---*/ var long = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.2.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.2.js index 16f86cd48..550dc2551 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.2.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.2.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "boolean" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.2.js - * @description Checking if execution of "boolean=1" succeeds - */ +/*--- +info: The "boolean" token can be used as identifier +description: Checking if execution of "boolean=1" succeeds +---*/ var boolean = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.20.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.20.js index 1646a5a8f..a4b0900ad 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.20.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.20.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "native" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.20.js - * @description Checking if execution of "native=1" succeeds - */ +/*--- +info: The "native" token can be used as identifier +description: Checking if execution of "native=1" succeeds +---*/ var native = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21.js index ef2d1dacc..806f34443 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21.js @@ -1,15 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "package" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21.js - * @description Checking if execution of "package=1" fails in strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "package" token can not be used as identifier in strict code +description: Checking if execution of "package=1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; var package = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21ns.js index 3a33532fe..7628dd90c 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21ns.js @@ -1,13 +1,10 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "package" token can be used as identifier in non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.21ns.js - * @description Checking if execution of "package=1" succeeds in non-strict code - * @noStrict - */ +/*--- +info: The "package" token can be used as identifier in non-strict code +description: Checking if execution of "package=1" succeeds in non-strict code +flags: [noStrict] +---*/ var package = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22.js index 45fc83f29..a78790f8f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22.js @@ -1,15 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "private" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22.js - * @description Checking if execution of "private=1" fails in strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "private" token can not be used as identifier in strict code +description: Checking if execution of "private=1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; var private = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22ns.js index 0562ca843..0826add49 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22ns.js @@ -1,13 +1,10 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "private" token can be used as identifier in non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.22ns.js - * @description Checking if execution of "private=1" succeeds in non-strict code - * @noStrict - */ +/*--- +info: The "private" token can be used as identifier in non-strict code +description: Checking if execution of "private=1" succeeds in non-strict code +flags: [noStrict] +---*/ var private = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23.js index c04b13172..6fd37e8b3 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23.js @@ -1,16 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "protected" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23.js - * @description Checking if execution of "protected=1" fails in - * strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "protected" token can not be used as identifier in strict code +description: Checking if execution of "protected=1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; var protected = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23ns.js index 499512d5b..0efc31264 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23ns.js @@ -1,13 +1,10 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "protected" token can be used as identifier in non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23ns.js - * @description Checking if execution of "protected=1" succeeds in non-strict code - * @noStrict - */ +/*--- +info: The "protected" token can be used as identifier in non-strict code +description: Checking if execution of "protected=1" succeeds in non-strict code +flags: [noStrict] +---*/ var protected = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24.js index 55f99e8fd..bfa0a47f2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24.js @@ -1,15 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "public" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24.js - * @description Checking if execution of "public=1" fails in strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "public" token can not be used as identifier in strict code +description: Checking if execution of "public=1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; var public = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24ns.js index 7090147cd..3205e58ed 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24ns.js @@ -1,13 +1,10 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "public" token can be used as identifier in non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.24ns.js - * @description Checking if execution of "public=1" succeeds in non-strict code - * @noStrict - */ +/*--- +info: The "public" token can be used as identifier in non-strict code +description: Checking if execution of "public=1" succeeds in non-strict code +flags: [noStrict] +---*/ var public = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.25.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.25.js index 0c11e3cf3..34860c4b7 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.25.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.25.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "short" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.25.js - * @description Checking if execution of "short=1" succeeds - */ +/*--- +info: The "short" token can be used as identifier +description: Checking if execution of "short=1" succeeds +---*/ var short = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26.js index a1f336935..a9ff7f065 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26.js @@ -1,15 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "static" token can not be used as identifier in strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26.js - * @description Checking if execution of "static=1" fails in strict code - * @onlyStrict - * @negative - */ +/*--- +info: The "static" token can not be used as identifier in strict code +description: Checking if execution of "static=1" fails in strict code +flags: + - onlyStrict + - negative +---*/ "use strict"; var static = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26ns.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26ns.js index 2e7e1f7b7..7fa053b8f 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26ns.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26ns.js @@ -1,13 +1,10 @@ // Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "static" token can be used as identifier in non-strict code - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.26ns.js - * @description Checking if execution of "static=1" succeeds in non-strict code - * @noStrict - */ +/*--- +info: The "static" token can be used as identifier in non-strict code +description: Checking if execution of "static=1" succeeds in non-strict code +flags: [noStrict] +---*/ var static = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.27.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.27.js index c78862fb9..67c389bf3 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.27.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.27.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "super" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.27.js - * @description Checking if execution of "super=1" fails - * @negative - */ +/*--- +info: The "super" token can not be used as identifier +description: Checking if execution of "super=1" fails +flags: [negative] +---*/ var super = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.28.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.28.js index 515372a7a..83e68bc03 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.28.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.28.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "synchronized" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.28.js - * @description Checking if execution of "synchronized=1" succeeds - */ +/*--- +info: The "synchronized" token can be used as identifier +description: Checking if execution of "synchronized=1" succeeds +---*/ var synchronized = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.29.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.29.js index 54dec6155..f25593d31 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.29.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.29.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "throws" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.29.js - * @description Checking if execution of "throws=1" succeeds - */ +/*--- +info: The "throws" token can be used as identifier +description: Checking if execution of "throws=1" succeeds +---*/ var throws = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.3.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.3.js index 50c5d7885..4ccbe77c2 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.3.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.3.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "byte" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.3.js - * @description Checking if execution of "byte=1" succeeds - */ +/*--- +info: The "byte" token can be used as identifier +description: Checking if execution of "byte=1" succeeds +---*/ var byte = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.30.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.30.js index 37128f047..290d11df1 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.30.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.30.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "transient" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.30.js - * @description Checking if execution of "transient=1" succeeds - */ +/*--- +info: The "transient" token can be used as identifier +description: Checking if execution of "transient=1" succeeds +---*/ var transient = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.31.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.31.js index 57fb357d8..aa6e673d3 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.31.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.31.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "volatile" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.31.js - * @description Checking if execution of "volatile=1" succeeds - */ +/*--- +info: The "volatile" token can be used as identifier +description: Checking if execution of "volatile=1" succeeds +---*/ var volatile = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.4.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.4.js index 1af1677e4..5f5a01b08 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.4.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.4.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "char" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.4.js - * @description Checking if execution of "char=1" succeeds - */ +/*--- +info: The "char" token can be used as identifier +description: Checking if execution of "char=1" succeeds +---*/ var char = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.5.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.5.js index b84b44248..a6f5e70fe 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.5.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "class" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.5.js - * @description Checking if execution of "class=1" fails - * @negative - */ +/*--- +info: The "class" token can not be used as identifier +description: Checking if execution of "class=1" fails +flags: [negative] +---*/ var class = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.6.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.6.js index da95d7ebf..60a703308 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.6.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.6.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "const" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.6.js - * @description Checking if execution of "const=1" fails - * @negative - */ +/*--- +info: The "const" token can not be used as identifier +description: Checking if execution of "const=1" fails +flags: [negative] +---*/ var const = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.7.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.7.js index ed4c3f0fc..00b3550c6 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.7.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.7.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "debugger" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.7.js - * @description Checking if execution of "debugger=1" fails - * @negative - */ +/*--- +info: The "debugger" token can not be used as identifier +description: Checking if execution of "debugger=1" fails +flags: [negative] +---*/ var debugger = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.8.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.8.js index 70a0a0a49..51dc3470d 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.8.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.8.js @@ -1,12 +1,9 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "double" token can be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.8.js - * @description Checking if execution of "double=1" succeeds - */ +/*--- +info: The "double" token can be used as identifier +description: Checking if execution of "double=1" succeeds +---*/ var double = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.9.js b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.9.js index 5294cb0d0..4dcdb9949 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.9.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.9.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "enum" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.9.js - * @description Checking if execution of "enum=1" fails - * @negative - */ +/*--- +info: The "enum" token can not be used as identifier +description: Checking if execution of "enum=1" fails +flags: [negative] +---*/ var enum = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.1.js b/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.1.js index d97c7843a..a7eb547fa 100644 --- a/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.1.js +++ b/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.1.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "null" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/S7.6.1_A1.1.js - * @description Checking if execution of "null = 1" fails - * @negative - */ +/*--- +info: The "null" token can not be used as identifier +description: Checking if execution of "null = 1" fails +flags: [negative] +---*/ null = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.2.js b/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.2.js index 2c49731cb..f4545d92c 100644 --- a/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.2.js +++ b/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.2.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "true" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/S7.6.1_A1.2.js - * @description Checking if execution of "true=1" fails - * @negative - */ +/*--- +info: The "true" token can not be used as identifier +description: Checking if execution of "true=1" fails +flags: [negative] +---*/ true = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.3.js b/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.3.js index 01cf52f75..602fa3f9a 100644 --- a/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.3.js +++ b/test/suite/ch07/7.6/7.6.1/S7.6.1_A1.3.js @@ -1,13 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The "false" token can not be used as identifier - * - * @path ch07/7.6/7.6.1/S7.6.1_A1.3.js - * @description Checking if execution of "false=1" fails - * @negative - */ +/*--- +info: The "false" token can not be used as identifier +description: Checking if execution of "false=1" fails +flags: [negative] +---*/ false = 1; - diff --git a/test/suite/ch07/7.6/7.6.1/S7.6.1_A2.js b/test/suite/ch07/7.6/7.6.1/S7.6.1_A2.js index e123f067f..d37a1482a 100644 --- a/test/suite/ch07/7.6/7.6.1/S7.6.1_A2.js +++ b/test/suite/ch07/7.6/7.6.1/S7.6.1_A2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * List of words that are not reserved - * - * @path ch07/7.6/7.6.1/S7.6.1_A2.js - * @description Try assign 1 for not reserved words - */ +/*--- +info: List of words that are not reserved +description: Try assign 1 for not reserved words +---*/ // a var and = 1; @@ -118,4 +116,3 @@ var xor = 1; var xor_eq = 1; // y // z - diff --git a/test/suite/ch07/7.6/S7.6_A1.2_T1.js b/test/suite/ch07/7.6/S7.6_A1.2_T1.js index 54aee1064..f4343bbe7 100644 --- a/test/suite/ch07/7.6/S7.6_A1.2_T1.js +++ b/test/suite/ch07/7.6/S7.6_A1.2_T1.js @@ -1,16 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierStart :: $ - * - * @path ch07/7.6/S7.6_A1.2_T1.js - * @description Create variable $ - */ +/*--- +info: "IdentifierStart :: $" +description: Create variable $ +---*/ //CHECK#1 var $ = 1; if ($ !== 1) { $ERROR('#1: var $ = 1; $ === 1. Actual: ' + ($)); } - diff --git a/test/suite/ch07/7.6/S7.6_A1.2_T2.js b/test/suite/ch07/7.6/S7.6_A1.2_T2.js index d6474ac41..23c8fad4e 100644 --- a/test/suite/ch07/7.6/S7.6_A1.2_T2.js +++ b/test/suite/ch07/7.6/S7.6_A1.2_T2.js @@ -1,16 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierStart :: $ - * - * @path ch07/7.6/S7.6_A1.2_T2.js - * @description The $ as unicode character \u0024 - */ +/*--- +info: "IdentifierStart :: $" +description: The $ as unicode character \u0024 +---*/ //CHECK#1 var \u0024 = 1; if ($ !== 1) { $ERROR('#1: var \\u0024 = 1; $ === 1. Actual: ' + ($)); } - diff --git a/test/suite/ch07/7.6/S7.6_A1.2_T3.js b/test/suite/ch07/7.6/S7.6_A1.2_T3.js index 571075a76..8cdbd8a40 100644 --- a/test/suite/ch07/7.6/S7.6_A1.2_T3.js +++ b/test/suite/ch07/7.6/S7.6_A1.2_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierStart :: $ - * - * @path ch07/7.6/S7.6_A1.2_T3.js - * @description The $ as unicode character \u0024 - */ +/*--- +info: "IdentifierStart :: $" +description: The $ as unicode character \u0024 +---*/ //CHECK#1 var identifier = String.fromCharCode(0x0024); @@ -19,4 +17,3 @@ if (eval(identifier + "===1") !== true) { if ("$" !== String.fromCharCode(0x0024)) { $ERROR('#2: "$" === String.fromCharCode(0x0024)'); } - diff --git a/test/suite/ch07/7.6/S7.6_A1.3_T1.js b/test/suite/ch07/7.6/S7.6_A1.3_T1.js index 8d1164d2b..90a9b924a 100644 --- a/test/suite/ch07/7.6/S7.6_A1.3_T1.js +++ b/test/suite/ch07/7.6/S7.6_A1.3_T1.js @@ -1,16 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierStart :: _ - * - * @path ch07/7.6/S7.6_A1.3_T1.js - * @description Create variable _ - */ +/*--- +info: "IdentifierStart :: _" +description: Create variable _ +---*/ //CHECK#1 var _ = 1; if (_ !== 1) { $ERROR('#1: var _ = 1; _ === 1. Actual: ' + (_)); } - diff --git a/test/suite/ch07/7.6/S7.6_A1.3_T2.js b/test/suite/ch07/7.6/S7.6_A1.3_T2.js index ba300f76d..223b09d91 100644 --- a/test/suite/ch07/7.6/S7.6_A1.3_T2.js +++ b/test/suite/ch07/7.6/S7.6_A1.3_T2.js @@ -1,16 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierStart :: _ - * - * @path ch07/7.6/S7.6_A1.3_T2.js - * @description The _ as unicode character \u005F - */ +/*--- +info: "IdentifierStart :: _" +description: The _ as unicode character \u005F +---*/ //CHECK#1 var \u005F = 1; if (_ !== 1) { $ERROR('#1: var \\u005F = 1; _ === 1. Actual: ' + (_)); } - diff --git a/test/suite/ch07/7.6/S7.6_A1.3_T3.js b/test/suite/ch07/7.6/S7.6_A1.3_T3.js index e3a8361c2..a5213ec30 100644 --- a/test/suite/ch07/7.6/S7.6_A1.3_T3.js +++ b/test/suite/ch07/7.6/S7.6_A1.3_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierStart :: _ - * - * @path ch07/7.6/S7.6_A1.3_T3.js - * @description The _ as unicode character \u005F - */ +/*--- +info: "IdentifierStart :: _" +description: The _ as unicode character \u005F +---*/ //CHECK#1 var identifier = String.fromCharCode(0x005F); @@ -19,4 +17,3 @@ if (eval(identifier + "===1") !== true) { if ("_" !== String.fromCharCode(0x005F)) { $ERROR('#2: "_" === String.fromCharCode(0x005F)'); } - diff --git a/test/suite/ch07/7.6/S7.6_A2.1_T1.js b/test/suite/ch07/7.6/S7.6_A2.1_T1.js index 5ef24abef..f62aaf81a 100644 --- a/test/suite/ch07/7.6/S7.6_A2.1_T1.js +++ b/test/suite/ch07/7.6/S7.6_A2.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierPart :: IdentifierStart - * - * @path ch07/7.6/S7.6_A2.1_T1.js - * @description IdentifierStart :: UnicodeLetter - */ +/*--- +info: "IdentifierPart :: IdentifierStart" +description: "IdentifierStart :: UnicodeLetter" +---*/ //CHECK#1 try { @@ -72,4 +70,3 @@ try { } catch (e) { $ERROR('#6.2: var \\u0078x = 1; xx === 6. Actual: ' + (xx)); } - diff --git a/test/suite/ch07/7.6/S7.6_A2.1_T2.js b/test/suite/ch07/7.6/S7.6_A2.1_T2.js index 3d595b566..39d95ccf7 100644 --- a/test/suite/ch07/7.6/S7.6_A2.1_T2.js +++ b/test/suite/ch07/7.6/S7.6_A2.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierPart :: IdentifierStart - * - * @path ch07/7.6/S7.6_A2.1_T2.js - * @description IdentifierStart :: $ - */ +/*--- +info: "IdentifierPart :: IdentifierStart" +description: "IdentifierStart :: $" +---*/ //CHECK#1 try { @@ -72,4 +70,3 @@ try { } catch (e) { $ERROR('#6.2: var \\u0078$ = 1; x$ === 6. Actual: ' + (x$)); } - diff --git a/test/suite/ch07/7.6/S7.6_A2.1_T3.js b/test/suite/ch07/7.6/S7.6_A2.1_T3.js index 9c1032169..efe9b954e 100644 --- a/test/suite/ch07/7.6/S7.6_A2.1_T3.js +++ b/test/suite/ch07/7.6/S7.6_A2.1_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierPart :: IdentifierStart - * - * @path ch07/7.6/S7.6_A2.1_T3.js - * @description IdentifierStart :: _ - */ +/*--- +info: "IdentifierPart :: IdentifierStart" +description: "IdentifierStart :: _" +---*/ //CHECK#1 try { @@ -72,4 +70,3 @@ try { } catch (e) { $ERROR('#6.2: var \\u0078_ = 1; x_ === 6. Actual: ' + (x_)); } - diff --git a/test/suite/ch07/7.6/S7.6_A2.1_T4.js b/test/suite/ch07/7.6/S7.6_A2.1_T4.js index a03182254..bcef91b20 100644 --- a/test/suite/ch07/7.6/S7.6_A2.1_T4.js +++ b/test/suite/ch07/7.6/S7.6_A2.1_T4.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * IdentifierPart :: IdentifierStart - * - * @path ch07/7.6/S7.6_A2.1_T4.js - * @description IdentifierStart :: \UnicodeEscapeSequence - */ +/*--- +info: "IdentifierPart :: IdentifierStart" +description: "IdentifierStart :: \\UnicodeEscapeSequence" +---*/ //CHECK#1 try { @@ -47,4 +45,3 @@ try { } catch (e) { $ERROR('#4.2: var \\u005F\\u005F = 1; __ === 4. Actual: ' + (__)); } - diff --git a/test/suite/ch07/7.6/S7.6_A4.1_T1.js b/test/suite/ch07/7.6/S7.6_A4.1_T1.js index 1e18ed18d..9b0c3d719 100644 --- a/test/suite/ch07/7.6/S7.6_A4.1_T1.js +++ b/test/suite/ch07/7.6/S7.6_A4.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Correct interpretation of ENGLISH ALPHABET - * - * @path ch07/7.6/S7.6_A4.1_T1.js - * @description Check ENGLISH CAPITAL ALPHABET - */ +/*--- +info: Correct interpretation of ENGLISH ALPHABET +description: Check ENGLISH CAPITAL ALPHABET +---*/ //CHECK#A-Z var \u0041 = 1; @@ -113,4 +111,3 @@ var \u005A = 1; if (Z !== 1) { $ERROR('#Z'); } - diff --git a/test/suite/ch07/7.6/S7.6_A4.1_T2.js b/test/suite/ch07/7.6/S7.6_A4.1_T2.js index 20003197e..9fad09c5f 100644 --- a/test/suite/ch07/7.6/S7.6_A4.1_T2.js +++ b/test/suite/ch07/7.6/S7.6_A4.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Correct interpretation of ENGLISH ALPHABET - * - * @path ch07/7.6/S7.6_A4.1_T2.js - * @description Check ENGLISH SMALL ALPHABET - */ +/*--- +info: Correct interpretation of ENGLISH ALPHABET +description: Check ENGLISH SMALL ALPHABET +---*/ //CHECK#a-z var \u0061 = 1; @@ -113,5 +111,3 @@ var \u007A = 1; if (z !== 1) { $ERROR('#z'); } - - diff --git a/test/suite/ch07/7.6/S7.6_A4.2_T1.js b/test/suite/ch07/7.6/S7.6_A4.2_T1.js index e588b8c15..d09b4c0ab 100644 --- a/test/suite/ch07/7.6/S7.6_A4.2_T1.js +++ b/test/suite/ch07/7.6/S7.6_A4.2_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Correct interpretation of RUSSIAN ALPHABET - * - * @path ch07/7.6/S7.6_A4.2_T1.js - * @description Check RUSSIAN CAPITAL ALPHABET - */ +/*--- +info: Correct interpretation of RUSSIAN ALPHABET +description: Check RUSSIAN CAPITAL ALPHABET +---*/ //CHECK#А-Я var \u0410 = 1; @@ -141,4 +139,3 @@ var \u0401 = 1; if (Ё !== 1) { $ERROR('#Ё'); } - diff --git a/test/suite/ch07/7.6/S7.6_A4.2_T2.js b/test/suite/ch07/7.6/S7.6_A4.2_T2.js index 119b94918..5d7cd5617 100644 --- a/test/suite/ch07/7.6/S7.6_A4.2_T2.js +++ b/test/suite/ch07/7.6/S7.6_A4.2_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Correct interpretation of RUSSIAN ALPHABET - * - * @path ch07/7.6/S7.6_A4.2_T2.js - * @description Check RUSSIAN SMALL ALPHABET - */ +/*--- +info: Correct interpretation of RUSSIAN ALPHABET +description: Check RUSSIAN SMALL ALPHABET +---*/ //CHECK#а-я var \u0430 = 1; @@ -141,4 +139,3 @@ var \u0451 = 1; if (ё !== 1) { $ERROR('#ё'); } - diff --git a/test/suite/ch07/7.6/S7.6_A4.3_T1.js b/test/suite/ch07/7.6/S7.6_A4.3_T1.js index ab13aa253..8dea7bc35 100644 --- a/test/suite/ch07/7.6/S7.6_A4.3_T1.js +++ b/test/suite/ch07/7.6/S7.6_A4.3_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Correct interpretation of DIGITS - * - * @path ch07/7.6/S7.6_A4.3_T1.js - * @description Identifier is $+ANY_DIGIT - */ +/*--- +info: Correct interpretation of DIGITS +description: Identifier is $+ANY_DIGIT +---*/ //CHECK#0-9 var $\u0030 = 0; @@ -49,4 +47,3 @@ var $\u0039 = 9; if ($9 !== 9) { $ERROR('#9: $\\u0039 = 9; $9 === 9'); } - |