aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch12/12.10
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch12/12.10')
-rw-r--r--test/suite/ch12/12.10/12.10-0-1.js54
-rw-r--r--test/suite/ch12/12.10/12.10-0-10.js56
-rw-r--r--test/suite/ch12/12.10/12.10-0-11.js60
-rw-r--r--test/suite/ch12/12.10/12.10-0-12.js56
-rw-r--r--test/suite/ch12/12.10/12.10-0-3.js44
-rw-r--r--test/suite/ch12/12.10/12.10-0-7.js52
-rw-r--r--test/suite/ch12/12.10/12.10-0-8.js42
-rw-r--r--test/suite/ch12/12.10/12.10-0-9.js58
-rw-r--r--test/suite/ch12/12.10/12.10-2-1.js54
-rw-r--r--test/suite/ch12/12.10/12.10-2-2.js54
-rw-r--r--test/suite/ch12/12.10/12.10-2-3.js54
-rw-r--r--test/suite/ch12/12.10/12.10-7-1.js64
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js62
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js62
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js48
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js31
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js52
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js40
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js50
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js48
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js48
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js66
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js66
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js54
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js40
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js59
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js58
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js58
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T3.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.1_T1.js16
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.1_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.1_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T1.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T2.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T3.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T4.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.6_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.6_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.6_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.9_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.9_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.9_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T1.js21
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T4.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.1_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.1_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.1_T3.js22
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T2.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T5.js22
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T3.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T4.js17
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T5.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T5.js21
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.6_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.6_T2.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.6_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T2.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.9_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.9_T2.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.9_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T1.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T2.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T3.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T4.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T5.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T6.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T1.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T2.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T3.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T4.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T5.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T6.js13
147 files changed, 1784 insertions, 1844 deletions
diff --git a/test/suite/ch12/12.10/12.10-0-1.js b/test/suite/ch12/12.10/12.10-0-1.js
index b1da0a5b7..7f60793eb 100644
--- a/test/suite/ch12/12.10/12.10-0-1.js
+++ b/test/suite/ch12/12.10/12.10-0-1.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-1.js
- * @description with does not change declaration scope - vars in with are visible outside
- */
-
-
-function testcase() {
- var o = {};
- var f = function () {
- /* capture foo binding before executing with */
- return foo;
- }
-
- with (o) {
- var foo = "12.10-0-1";
- }
-
- return f()==="12.10-0-1"
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with does not change declaration scope - vars in with are visible
+ outside
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+ var f = function () {
+ /* capture foo binding before executing with */
+ return foo;
+ }
+
+ with (o) {
+ var foo = "12.10-0-1";
+ }
+
+ return f()==="12.10-0-1"
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-10.js b/test/suite/ch12/12.10/12.10-0-10.js
index 60e67f5aa..c9bcd7999 100644
--- a/test/suite/ch12/12.10/12.10-0-10.js
+++ b/test/suite/ch12/12.10/12.10-0-10.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-10.js
- * @description with introduces scope - name lookup finds function parameter
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o, x) {
- with (o) {
- return x;
- }
- }
-
- return innerf(o, 42);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - name lookup finds function parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o, x) {
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o, 42);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-11.js b/test/suite/ch12/12.10/12.10-0-11.js
index 183ee45f7..79a9934df 100644
--- a/test/suite/ch12/12.10/12.10-0-11.js
+++ b/test/suite/ch12/12.10/12.10-0-11.js
@@ -1,30 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-11.js
- * @description with introduces scope - name lookup finds inner variable
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o) {
- var x = 42;
-
- with (o) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - name lookup finds inner variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o) {
+ var x = 42;
+
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-12.js b/test/suite/ch12/12.10/12.10-0-12.js
index a2a22518b..24d1c7dd2 100644
--- a/test/suite/ch12/12.10/12.10-0-12.js
+++ b/test/suite/ch12/12.10/12.10-0-12.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-12.js
- * @description with introduces scope - name lookup finds property
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o) {
- with (o) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({x:42}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - name lookup finds property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o) {
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({x:42}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-3.js b/test/suite/ch12/12.10/12.10-0-3.js
index 22d67781e..fd804c5ff 100644
--- a/test/suite/ch12/12.10/12.10-0-3.js
+++ b/test/suite/ch12/12.10/12.10-0-3.js
@@ -1,22 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-3.js
- * @description with introduces scope - that is captured by function expression
- */
-
-
-function testcase() {
- var o = {prop: "12.10-0-3 before"};
- var f;
-
- with (o) {
- f = function () { return prop; }
- }
- o.prop = "12.10-0-3 after";
- return f()==="12.10-0-3 after"
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - that is captured by function expression
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {prop: "12.10-0-3 before"};
+ var f;
+
+ with (o) {
+ f = function () { return prop; }
+ }
+ o.prop = "12.10-0-3 after";
+ return f()==="12.10-0-3 after"
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-7.js b/test/suite/ch12/12.10/12.10-0-7.js
index 0f780d59e..11a6f40d3 100644
--- a/test/suite/ch12/12.10/12.10-0-7.js
+++ b/test/suite/ch12/12.10/12.10-0-7.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-7.js
- * @description with introduces scope - scope removed when exiting with statement
- */
-
-
-function testcase() {
- var o = {foo: 1};
-
- with (o) {
- foo = 42;
- }
-
- try {
- foo;
- }
- catch (e) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - scope removed when exiting with statement
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo: 1};
+
+ with (o) {
+ foo = 42;
+ }
+
+ try {
+ foo;
+ }
+ catch (e) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-8.js b/test/suite/ch12/12.10/12.10-0-8.js
index 613734890..997feaab8 100644
--- a/test/suite/ch12/12.10/12.10-0-8.js
+++ b/test/suite/ch12/12.10/12.10-0-8.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-8.js
- * @description with introduces scope - var initializer sets like named property
- */
-
-
-function testcase() {
- var o = {foo: 42};
-
- with (o) {
- var foo = "set in with";
- }
-
- return o.foo === "set in with";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - var initializer sets like named property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo: 42};
+
+ with (o) {
+ var foo = "set in with";
+ }
+
+ return o.foo === "set in with";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-9.js b/test/suite/ch12/12.10/12.10-0-9.js
index 746542ffa..a81513c2c 100644
--- a/test/suite/ch12/12.10/12.10-0-9.js
+++ b/test/suite/ch12/12.10/12.10-0-9.js
@@ -1,29 +1,29 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-0-9.js
- * @description with introduces scope - name lookup finds outer variable
- */
-
-
-function testcase() {
- function f(o) {
- var x = 42;
-
- function innerf(o) {
- with (o) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - name lookup finds outer variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+ var x = 42;
+
+ function innerf(o) {
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-2-1.js b/test/suite/ch12/12.10/12.10-2-1.js
index 3ba1eb1eb..34956efd1 100644
--- a/test/suite/ch12/12.10/12.10-2-1.js
+++ b/test/suite/ch12/12.10/12.10-2-1.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-2-1.js
- * @description with - expression being Number
- */
-
-
-function testcase() {
- var o = 2;
- var foo = 1;
- try
- {
- with (o) {
- foo = 42;
- }
- }
- catch(e)
- {
- }
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with - expression being Number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = 2;
+ var foo = 1;
+ try
+ {
+ with (o) {
+ foo = 42;
+ }
+ }
+ catch(e)
+ {
+ }
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-2-2.js b/test/suite/ch12/12.10/12.10-2-2.js
index a4de02221..8dadb883d 100644
--- a/test/suite/ch12/12.10/12.10-2-2.js
+++ b/test/suite/ch12/12.10/12.10-2-2.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-2-2.js
- * @description with - expression being Boolean
- */
-
-
-function testcase() {
- var o = true;
- var foo = 1;
- try
- {
- with (o) {
- foo = 42;
- }
- }
- catch(e)
- {
- }
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with - expression being Boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = true;
+ var foo = 1;
+ try
+ {
+ with (o) {
+ foo = 42;
+ }
+ }
+ catch(e)
+ {
+ }
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-2-3.js b/test/suite/ch12/12.10/12.10-2-3.js
index 07003092c..9ef0be71f 100644
--- a/test/suite/ch12/12.10/12.10-2-3.js
+++ b/test/suite/ch12/12.10/12.10-2-3.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-2-3.js
- * @description with - expression being string
- */
-
-
-function testcase() {
- var o = "str";
- var foo = 1;
- try
- {
- with (o) {
- foo = 42;
- }
- }
- catch(e)
- {
- }
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with - expression being string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = "str";
+ var foo = 1;
+ try
+ {
+ with (o) {
+ foo = 42;
+ }
+ }
+ catch(e)
+ {
+ }
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-7-1.js b/test/suite/ch12/12.10/12.10-7-1.js
index 6292efd97..e5b1d7408 100644
--- a/test/suite/ch12/12.10/12.10-7-1.js
+++ b/test/suite/ch12/12.10/12.10-7-1.js
@@ -1,32 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10-7-1.js
- * @description with introduces scope - restores the earlier environment on exit
- */
-
-
-function testcase() {
- var a = 1;
-
- var o = {a : 2};
- try
- {
- with (o) {
- a = 3;
- throw 1;
- a = 4;
- }
- }
- catch(e)
- {}
-
- if (a === 1 && o.a === 3) {
- return true;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with introduces scope - restores the earlier environment on exit
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var a = 1;
+
+ var o = {a : 2};
+ try
+ {
+ with (o) {
+ a = 3;
+ throw 1;
+ a = 4;
+ }
+ }
+ catch(e)
+ {}
+
+ if (a === 1 && o.a === 3) {
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js
index 3c042e412..9d5386f08 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js
@@ -1,31 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-1-s.js
- * @description with statement in strict mode throws SyntaxError (strict function)
- * @onlyStrict
- */
-
-
-function testcase() {
-
- try {
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception.
- eval("\
- function f() {\
- \'use strict\';\
- var o = {}; \
- with (o) {};\
- }\
- ");
- return false;
- }
- catch (e) {
- return(e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with statement in strict mode throws SyntaxError (strict function)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception.
+ eval("\
+ function f() {\
+ \'use strict\';\
+ var o = {}; \
+ with (o) {};\
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return(e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js
index 4e470b517..e0128a763 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-10-s.js
- * @description with statement in strict mode throws SyntaxError (eval, where the container function is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception. Note that eval
- // inherits the strictness of its calling context.
- try {
- eval("\
- var o = {};\
- with (o) {}\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement in strict mode throws SyntaxError (eval, where the
+ container function is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception. Note that eval
+ // inherits the strictness of its calling context.
+ try {
+ eval("\
+ var o = {};\
+ with (o) {}\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js
index 3c4e81daa..86a193211 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-11-s.js
- * @description Strict Mode - SyntaxError is thrown when using WithStatement in strict mode code
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
- try {
- eval("with ({}) { throw new Error();}");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 using WithStatement in
+ strict mode code
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+ try {
+ eval("with ({}) { throw new Error();}");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js b/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js
index b40b37236..7e0ff8cea 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js
@@ -1,16 +1,15 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-11gs.js
- * @description Strict Mode - SyntaxError is thrown when using with statement
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-
-"use strict";
-throw NotEarlyError;
-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: Strict Mode - SyntaxError is thrown when using with statement
+negative: ^((?!NotEarlyError).)*$
+flags: [onlyStrict]
+---*/
+
+"use strict";
+throw NotEarlyError;
+with ({}) { }
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js
index 0f327297d..511599e5e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-12-s.js
- * @description with statement in strict mode throws SyntaxError (strict eval)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- eval("\
- 'use strict'; \
- var o = {}; \
- with (o) {}\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError) ;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with statement in strict mode throws SyntaxError (strict eval)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("\
+ 'use strict'; \
+ var o = {}; \
+ with (o) {}\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError) ;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js
index 39d56659e..a0ebf38d8 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-13-s.js
- * @description Strict Mode - SyntaxError isn't thrown when WithStatement body is in strict mode code
- * @noStrict
- */
-
-
-function testcase() {
- with ({}) {
- "use strict";
- }
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 WithStatement body is
+ in strict mode code
+flags: [noStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ with ({}) {
+ "use strict";
+ }
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js
index 0e7e685b7..85b932900 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-14-s.js
- * @description Strict Mode - SyntaxError is thrown when the getter of a literal object utilizes WithStatement
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("var obj = { get: function (a) { with(a){} } }; ");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 the getter of a literal
+ object utilizes WithStatement
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("var obj = { get: function (a) { with(a){} } }; ");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js
index 8621631f6..5ea00618e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-15-s.js
- * @description Strict Mode - SyntaxError is thrown when the RHS of a dot property assignment utilizes WithStatement
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("var obj = {}; obj.get = function (a) { with(a){} }; ");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 the RHS of a dot property
+ assignment utilizes WithStatement
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("var obj = {}; obj.get = function (a) { with(a){} }; ");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js
index e798b5715..95f03117e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-16-s.js
- * @description Strict Mode - SyntaxError is thrown when the RHS of an object indexer assignment utilizes WithStatement
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("var obj = {}; obj['get'] = function (a) { with(a){} }; ");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 the RHS of an object
+ indexer assignment utilizes WithStatement
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("var obj = {}; obj['get'] = function (a) { with(a){} }; ");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js
index 211a1386e..366ef438e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-2-s.js
- * @description with statement in strict mode throws SyntaxError (nested function where container is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception.
- eval("\
- function foo() {\
- \'use strict\'; \
- function f() {\
- var o = {}; \
- with (o) {};\
- }\
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement in strict mode throws SyntaxError (nested function
+ where container is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception.
+ eval("\
+ function foo() {\
+ \'use strict\'; \
+ function f() {\
+ var o = {}; \
+ with (o) {};\
+ }\
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js
index 8b0d2961b..e0788cded 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-3-s.js
- * @description with statement in strict mode throws SyntaxError (nested strict function)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception.
- eval("\
- function foo() {\
- function f() {\
- \'use strict\'; \
- var o = {}; \
- with (o) {};\
- }\
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement in strict mode throws SyntaxError (nested strict
+ function)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception.
+ eval("\
+ function foo() {\
+ function f() {\
+ \'use strict\'; \
+ var o = {}; \
+ with (o) {};\
+ }\
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js
index adb09673b..2c520f37e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-4-s.js
- * @description with statement in strict mode throws SyntaxError (strict Function)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- var f = Function("\
- \'use strict\'; \
- var o = {}; \
- with (o) {};\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
-
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: with statement in strict mode throws SyntaxError (strict Function)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ var f = Function("\
+ \'use strict\'; \
+ var o = {}; \
+ with (o) {};\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js
index 3a1ea1ad8..e67ad88f3 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-5-s.js
- * @description with statement allowed in nested Function even if its container Function is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
-
- Function("\'use strict\'; var f1 = Function( \"var o = {}; with (o) {};\")");
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement allowed in nested Function even if its container
+ Function is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ Function("\'use strict\'; var f1 = Function( \"var o = {}; with (o) {};\")");
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js
index 0ceb2097e..9fe0076bb 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-7-s.js
- * @description with statement in strict mode throws SyntaxError (function expression, where the container function is directly evaled from strict code)
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval("var f = function () {\
- var o = {}; \
- with (o) {}; \
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement in strict mode throws SyntaxError (function
+ expression, where the container function is directly evaled from
+ strict code)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval("var f = function () {\
+ var o = {}; \
+ with (o) {}; \
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js
index 55cfa8e4e..4c9685a89 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-8-s.js
- * @description with statement in strict mode throws SyntaxError (function expression, where the container Function is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- Function("\
- \'use strict\'; \
- var f1 = function () {\
- var o = {}; \
- with (o) {}; \
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement in strict mode throws SyntaxError (function
+ expression, where the container Function is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function("\
+ \'use strict\'; \
+ var f1 = function () {\
+ var o = {}; \
+ with (o) {}; \
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js
index b0e29e256..2ed45bd8c 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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 ch12/12.10/12.10.1/12.10.1-9-s.js
- * @description with statement in strict mode throws SyntaxError (strict function expression)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- eval("\
- var f = function () {\
- \'use strict\';\
- var o = {}; \
- with (o) {}; \
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError) ;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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: >
+ with statement in strict mode throws SyntaxError (strict function
+ expression)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("\
+ var f = function () {\
+ \'use strict\';\
+ var o = {}; \
+ with (o) {}; \
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError) ;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T1.js b/test/suite/ch12/12.10/S12.10_A1.10_T1.js
index 2256e66b7..149a19701 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T1.js
- * @description Using interation statement within "with" statement leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using interation statement within "with" statement leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T2.js b/test/suite/ch12/12.10/S12.10_A1.10_T2.js
index 35978c0d3..67c537df5 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T2.js
- * @description Using iteration statement within "with" statement leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statement within "with" statement leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -145,4 +146,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T3.js b/test/suite/ch12/12.10/S12.10_A1.10_T3.js
index b7f67f521..0af7d4fcb 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T3.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T3.js
- * @description Using iteration statment withing "with" statement leading to completion by exception
- * iteration statement inside with statement - exception completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statment withing "with" statement leading to
+ completion by exception iteration statement inside with statement
+ - exception completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,4 +149,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T4.js b/test/suite/ch12/12.10/S12.10_A1.10_T4.js
index 87ba7f654..ab6f8f42b 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T4.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T4.js
- * @description Using iteration statement witthin "with" staement leading to completion by break
- * iteration statement inside with statement - break completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statement witthin "with" staement leading to
+ completion by break iteration statement inside with statement -
+ break completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -138,4 +139,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T5.js b/test/suite/ch12/12.10/S12.10_A1.10_T5.js
index 05d7d8d04..43cdcdffd 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T5.js
- * @description Using iteration statement within "with" statement leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statement within "with" statement leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -139,4 +140,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T1.js b/test/suite/ch12/12.10/S12.10_A1.11_T1.js
index a939778d8..5761cfc6d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T1.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T2.js b/test/suite/ch12/12.10/S12.10_A1.11_T2.js
index cfbefef48..57cc3ded0 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T2.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T3.js b/test/suite/ch12/12.10/S12.10_A1.11_T3.js
index 9d68c9c9d..a8dd20333 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T3.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T4.js b/test/suite/ch12/12.10/S12.10_A1.11_T4.js
index d2fc84a75..62261c90e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T4.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T5.js b/test/suite/ch12/12.10/S12.10_A1.11_T5.js
index 9dfc0e5dc..7269d5bda 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T5.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T1.js b/test/suite/ch12/12.10/S12.10_A1.12_T1.js
index 6ccbf0ca7..cd4ff867a 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T1.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T2.js b/test/suite/ch12/12.10/S12.10_A1.12_T2.js
index bd0cbe0f8..0ee7ca77e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T2.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -147,4 +148,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T3.js b/test/suite/ch12/12.10/S12.10_A1.12_T3.js
index 39ab7d395..b5c002b05 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T3.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,5 +149,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T4.js b/test/suite/ch12/12.10/S12.10_A1.12_T4.js
index 49b58c6d5..794ef1afa 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T4.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T5.js b/test/suite/ch12/12.10/S12.10_A1.12_T5.js
index 2e3534367..37b814be8 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T5.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,5 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.1_T1.js b/test/suite/ch12/12.10/S12.10_A1.1_T1.js
index a749c9c20..1fe5ce969 100644
--- a/test/suite/ch12/12.10/S12.10_A1.1_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.1_T1.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 with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.1_T1.js
- * @description Using "with" inside of global context leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: Using "with" inside of global context leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -133,4 +132,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.1_T2.js b/test/suite/ch12/12.10/S12.10_A1.1_T2.js
index d07cb0e69..fd1bdf2b6 100644
--- a/test/suite/ch12/12.10/S12.10_A1.1_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.1_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.1_T2.js
- * @description Using "with" inside of global context leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" inside of global context leading to completion by
+ exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -142,4 +143,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.1_T3.js b/test/suite/ch12/12.10/S12.10_A1.1_T3.js
index 200209019..e41d146e5 100644
--- a/test/suite/ch12/12.10/S12.10_A1.1_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.1_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.1_T3.js
- * @description Using "with" inside of global context leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" inside of global context leading to completion by
+ exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T1.js b/test/suite/ch12/12.10/S12.10_A1.2_T1.js
index 20a344d48..562c6063e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T1.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T1.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +143,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T2.js b/test/suite/ch12/12.10/S12.10_A1.2_T2.js
index 39312c70a..6de9dbcc3 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T2.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T2.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +148,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T3.js b/test/suite/ch12/12.10/S12.10_A1.2_T3.js
index f34c7cb94..72d59861d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T3.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T3.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,5 +150,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T4.js b/test/suite/ch12/12.10/S12.10_A1.2_T4.js
index f8bff8e20..ccb9ee31e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T4.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T4.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -150,4 +152,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T5.js b/test/suite/ch12/12.10/S12.10_A1.2_T5.js
index d67f69d6d..eecd2176e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T5.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T5.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,4 +150,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T1.js b/test/suite/ch12/12.10/S12.10_A1.3_T1.js
index 3e453847b..5fa67fef9 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T1.js
- * @description Using "with" statement within function constructor, leading to normal completition
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ normal completition
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T2.js b/test/suite/ch12/12.10/S12.10_A1.3_T2.js
index 183d0dabf..fa283642a 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T2.js
- * @description Using "with" statement within function constructor, leading to normal completition by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ normal completition by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -142,4 +143,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T3.js b/test/suite/ch12/12.10/S12.10_A1.3_T3.js
index e413f3918..6adbccbba 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T3.js
- * @description Using "with" statement within function constructor, leading to normal completition by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ normal completition by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,5 +145,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T4.js b/test/suite/ch12/12.10/S12.10_A1.3_T4.js
index 7ac5823f7..50c5f9795 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T4.js
- * @description Using "with" statement within function constructor, leading to completition by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ completition by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +147,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T5.js b/test/suite/ch12/12.10/S12.10_A1.3_T5.js
index 41b85c6dc..9947b05cc 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T5.js
- * @description Using "with" statement within function constructor, leading to completition by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ completition by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,5 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T1.js b/test/suite/ch12/12.10/S12.10_A1.4_T1.js
index 2bbec00ec..289c98a5e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T1.js
- * @description Using "with" statement within iteration statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T2.js b/test/suite/ch12/12.10/S12.10_A1.4_T2.js
index 9bafbb075..02f541736 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T2.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -145,4 +146,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T3.js b/test/suite/ch12/12.10/S12.10_A1.4_T3.js
index 3b3e72f8a..43535c78c 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T3.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -147,4 +148,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T4.js b/test/suite/ch12/12.10/S12.10_A1.4_T4.js
index b9209bb67..3d531624b 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T4.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -137,4 +138,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T5.js b/test/suite/ch12/12.10/S12.10_A1.4_T5.js
index b942e2b41..7773987d6 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T5.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -139,4 +140,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T1.js b/test/suite/ch12/12.10/S12.10_A1.5_T1.js
index a45cd5df1..ffaae5d7a 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T1.js
- * @description Using "with" statement within "for-in" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T2.js b/test/suite/ch12/12.10/S12.10_A1.5_T2.js
index 4efa5a216..c9afb655f 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T2.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T3.js b/test/suite/ch12/12.10/S12.10_A1.5_T3.js
index e4cace7e1..8870e8e0d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T3.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T4.js b/test/suite/ch12/12.10/S12.10_A1.5_T4.js
index 6655901d6..d275a7a3b 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T4.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T5.js b/test/suite/ch12/12.10/S12.10_A1.5_T5.js
index 1273f5166..9e676a9ab 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T5.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.6_T1.js b/test/suite/ch12/12.10/S12.10_A1.6_T1.js
index 608ceef9f..7eb5d39d6 100644
--- a/test/suite/ch12/12.10/S12.10_A1.6_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.6_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.6_T1.js
- * @description Using "with" statement within another "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within another "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -135,4 +136,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.6_T2.js b/test/suite/ch12/12.10/S12.10_A1.6_T2.js
index 8cfae1a8b..b6ca245bc 100644
--- a/test/suite/ch12/12.10/S12.10_A1.6_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.6_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.6_T2.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.6_T3.js b/test/suite/ch12/12.10/S12.10_A1.6_T3.js
index 4774eb44d..c82daf6da 100644
--- a/test/suite/ch12/12.10/S12.10_A1.6_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.6_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.6_T3.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +147,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T1.js b/test/suite/ch12/12.10/S12.10_A1.7_T1.js
index 134af702c..ca06da099 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T1.js
- * @description Calling a function within "with" statement declared within the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T2.js b/test/suite/ch12/12.10/S12.10_A1.7_T2.js
index 3efde0328..5266281b9 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T2.js
- * @description Calling a function within "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +147,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T3.js b/test/suite/ch12/12.10/S12.10_A1.7_T3.js
index d43395763..3e14b476f 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T3.js
- * @description Calling a function within "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,4 +149,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T4.js b/test/suite/ch12/12.10/S12.10_A1.7_T4.js
index 9ca70ef1c..8dfe75650 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T4.js
- * @description Calling a function within "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -150,4 +151,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T5.js b/test/suite/ch12/12.10/S12.10_A1.7_T5.js
index d7070388b..eabad4816 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T5.js
- * @description Calling a function within "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T1.js b/test/suite/ch12/12.10/S12.10_A1.8_T1.js
index 73519377b..7414e616d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T1.js
- * @description Declaring function constructor within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T2.js b/test/suite/ch12/12.10/S12.10_A1.8_T2.js
index fd81d2bfc..fb83d3c89 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T2.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T3.js b/test/suite/ch12/12.10/S12.10_A1.8_T3.js
index 39a648266..7ab9f9398 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T3.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T4.js b/test/suite/ch12/12.10/S12.10_A1.8_T4.js
index f6eed2043..e86dc2220 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T4.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T5.js b/test/suite/ch12/12.10/S12.10_A1.8_T5.js
index c2425b1f1..28b587896 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T5.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.9_T1.js b/test/suite/ch12/12.10/S12.10_A1.9_T1.js
index 629b517b4..26fda66ed 100644
--- a/test/suite/ch12/12.10/S12.10_A1.9_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.9_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.9_T1.js
- * @description Using "for-in" statement within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.9_T2.js b/test/suite/ch12/12.10/S12.10_A1.9_T2.js
index 8e82e60eb..6e015eabf 100644
--- a/test/suite/ch12/12.10/S12.10_A1.9_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.9_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.9_T2.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.9_T3.js b/test/suite/ch12/12.10/S12.10_A1.9_T3.js
index 52ba815fc..5a89b0e81 100644
--- a/test/suite/ch12/12.10/S12.10_A1.9_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.9_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.9_T3.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T1.js b/test/suite/ch12/12.10/S12.10_A3.10_T1.js
index 17fd49b0a..4d47f48c5 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T1.js
- * @description Using iteration statement within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,7 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T2.js b/test/suite/ch12/12.10/S12.10_A3.10_T2.js
index 12c26bd86..1087c4e20 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T2.js
- * @description Using iteration statement within "with" statement, leading completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T3.js b/test/suite/ch12/12.10/S12.10_A3.10_T3.js
index 32c27cce4..d4a006d1a 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T3.js
- * @description Using iteration statement within "with" statement, leading completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T4.js b/test/suite/ch12/12.10/S12.10_A3.10_T4.js
index 5f55777e2..3c3800a9f 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T4.js
- * @description Using iteration statement within "with" statement, leading completion be break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion be break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,6 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T5.js b/test/suite/ch12/12.10/S12.10_A3.10_T5.js
index b26cd9d43..768df74b2 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T5.js
- * @description Using iteration statement within "with" statement, leading completion be break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion be break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,4 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T1.js b/test/suite/ch12/12.10/S12.10_A3.11_T1.js
index 8d15c1486..10ad5d3ef 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T1.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -32,4 +33,3 @@ if(!(p1 === "x1")){
if(!(myObj.p1 === "a")){
$ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T2.js b/test/suite/ch12/12.10/S12.10_A3.11_T2.js
index 81cdcc6af..bce1a2cf1 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T2.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -38,4 +39,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T3.js b/test/suite/ch12/12.10/S12.10_A3.11_T3.js
index 35e24fee0..d0acd3536 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T3.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -38,5 +39,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T4.js b/test/suite/ch12/12.10/S12.10_A3.11_T4.js
index 7056d6181..df1d74c40 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T4.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -42,6 +43,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T5.js b/test/suite/ch12/12.10/S12.10_A3.11_T5.js
index ebce27c9f..1039105c6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T5.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -41,5 +42,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T1.js b/test/suite/ch12/12.10/S12.10_A3.12_T1.js
index 1ec9f7607..033dd69d5 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T1.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -32,4 +33,3 @@ if(!(p1 === 1)){
if(!(myObj.p1 === "x1")){
$ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T2.js b/test/suite/ch12/12.10/S12.10_A3.12_T2.js
index 171ef5808..7f5e1f05c 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T2.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -38,4 +39,3 @@ if(!(myObj.p1 === "x1")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T3.js b/test/suite/ch12/12.10/S12.10_A3.12_T3.js
index 3cea6bc58..438e7f642 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T3.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -37,4 +38,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T4.js b/test/suite/ch12/12.10/S12.10_A3.12_T4.js
index 1049d25fe..1da166cff 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T4.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -41,5 +42,3 @@ if(!(myObj.p1 === "x1")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T5.js b/test/suite/ch12/12.10/S12.10_A3.12_T5.js
index 9d3c9fed9..c5d1576db 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T5.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -41,4 +42,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.1_T1.js b/test/suite/ch12/12.10/S12.10_A3.1_T1.js
index 58ee15b9c..4440fbfa9 100644
--- a/test/suite/ch12/12.10/S12.10_A3.1_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.1_T1.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.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.1_T1.js
- * @description Using "with" statement within global context - normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: Using "with" statement within global context - normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -40,6 +39,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.1_T2.js b/test/suite/ch12/12.10/S12.10_A3.1_T2.js
index 12b72b2c2..620fdf677 100644
--- a/test/suite/ch12/12.10/S12.10_A3.1_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.1_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.1_T2.js
- * @description Using "with" statement within global context, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within global context, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -56,4 +57,3 @@ if (myObj.p1 !== "x1") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.1_T3.js b/test/suite/ch12/12.10/S12.10_A3.1_T3.js
index f78052019..e57769e17 100644
--- a/test/suite/ch12/12.10/S12.10_A3.1_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.1_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.1_T3.js
- * @description Using "with" statement within global context, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within global context, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -51,8 +52,3 @@ if(!(myObj.p1 === "a")){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T1.js b/test/suite/ch12/12.10/S12.10_A3.2_T1.js
index 0d3e11beb..d3f60669b 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T1.js
- * @description Declaring "with" statement within a function body, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,4 +44,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T2.js b/test/suite/ch12/12.10/S12.10_A3.2_T2.js
index 2ef4889d4..f388a22e1 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T2.js
- * @description Declaring "with" statement within a function body, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,6 +45,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T3.js b/test/suite/ch12/12.10/S12.10_A3.2_T3.js
index 8f46552e7..a0ef9a859 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T3.js
- * @description Declaring "with" statement within a function body, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,4 +45,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T4.js b/test/suite/ch12/12.10/S12.10_A3.2_T4.js
index 3c5598088..381566d08 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T4.js
- * @description Declaring "with" statement within a function body, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -57,4 +58,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T5.js b/test/suite/ch12/12.10/S12.10_A3.2_T5.js
index 61d86905a..7b7ed77c6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T5.js
- * @description Declaring "with" statement within a function body, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -56,8 +57,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T1.js b/test/suite/ch12/12.10/S12.10_A3.3_T1.js
index 27a310837..160bb3773 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T1.js
- * @description Declaring "with" statement within a function constructor, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,6 +44,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T2.js b/test/suite/ch12/12.10/S12.10_A3.3_T2.js
index de6faab31..c5198aaf8 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T2.js
- * @description Declaring "with" statement within a function constructor, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,4 +45,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T3.js b/test/suite/ch12/12.10/S12.10_A3.3_T3.js
index 4a981756a..749432872 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T3.js
- * @description Declaring "with" statement within a function constructor, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,6 +45,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T4.js b/test/suite/ch12/12.10/S12.10_A3.3_T4.js
index 3eeb2ed5e..b170a5239 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T4.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement', the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T4.js
- * @description Declaring "with" statement within a function constructor, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement', the scope chain is
+ always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,4 +57,3 @@ if (myObj.p1 !== "x1") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T1.js b/test/suite/ch12/12.10/S12.10_A3.4_T1.js
index 1ef21667b..16328eed8 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T1.js
- * @description Using "with" statement within iteration statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,6 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T2.js b/test/suite/ch12/12.10/S12.10_A3.4_T2.js
index 801c592aa..dd7512f87 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T2.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T3.js b/test/suite/ch12/12.10/S12.10_A3.4_T3.js
index 56698024e..33fc1c344 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T3.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T4.js b/test/suite/ch12/12.10/S12.10_A3.4_T4.js
index 557666a9c..24d411b7c 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T4.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,6 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T5.js b/test/suite/ch12/12.10/S12.10_A3.4_T5.js
index 06816be05..9ea05e4ad 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T5.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,6 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T1.js b/test/suite/ch12/12.10/S12.10_A3.5_T1.js
index b49962dc1..3a8fb23a6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T1.js
- * @description Using "with" statement within "for-in" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,4 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T2.js b/test/suite/ch12/12.10/S12.10_A3.5_T2.js
index e1ec1d611..e538c025f 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T2.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T3.js b/test/suite/ch12/12.10/S12.10_A3.5_T3.js
index d85bca3bf..7696be8ed 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T3.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T4.js b/test/suite/ch12/12.10/S12.10_A3.5_T4.js
index f85657a82..24d82b56d 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T4.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,4 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T5.js b/test/suite/ch12/12.10/S12.10_A3.5_T5.js
index 78b526fc3..c1255af97 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T5.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,7 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.6_T1.js b/test/suite/ch12/12.10/S12.10_A3.6_T1.js
index 4042e9b71..9daea1915 100644
--- a/test/suite/ch12/12.10/S12.10_A3.6_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.6_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.6_T1.js
- * @description Using "with" statement within another "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within another "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,6 +56,3 @@ if(theirObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.6_T2.js b/test/suite/ch12/12.10/S12.10_A3.6_T2.js
index db1d04dfb..abfe9aded 100644
--- a/test/suite/ch12/12.10/S12.10_A3.6_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.6_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.6_T2.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -61,5 +62,3 @@ if(theirObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.6_T3.js b/test/suite/ch12/12.10/S12.10_A3.6_T3.js
index ade4cdc5f..78603a697 100644
--- a/test/suite/ch12/12.10/S12.10_A3.6_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.6_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.6_T3.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -62,5 +63,3 @@ if(theirObj.p1 !== true){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T1.js b/test/suite/ch12/12.10/S12.10_A3.7_T1.js
index b24f131a4..8f6f6dd64 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T1.js
- * @description Declaring and calling a function within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,6 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T2.js b/test/suite/ch12/12.10/S12.10_A3.7_T2.js
index 7494fa7f3..4ca8a954d 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T2.js
- * @description Declaring and calling a function within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -50,6 +51,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T3.js b/test/suite/ch12/12.10/S12.10_A3.7_T3.js
index d3b72e03d..984d88092 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T3.js
- * @description Declaring and calling a function within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -50,4 +51,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T4.js b/test/suite/ch12/12.10/S12.10_A3.7_T4.js
index cd97c3c1b..5de16a5c6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T4.js
- * @description Declaring and calling a function within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T5.js b/test/suite/ch12/12.10/S12.10_A3.7_T5.js
index c0d9d84a2..7750a825c 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T5.js
- * @description Declaring and calling a function within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T1.js b/test/suite/ch12/12.10/S12.10_A3.8_T1.js
index efe008e85..ff62a20ec 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T1.js
- * @description Declaring function constructor within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,4 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T2.js b/test/suite/ch12/12.10/S12.10_A3.8_T2.js
index 948270d0f..98cc460d6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T2.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,4 +44,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T3.js b/test/suite/ch12/12.10/S12.10_A3.8_T3.js
index f104c10f3..82cd88626 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T3.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,4 +44,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T4.js b/test/suite/ch12/12.10/S12.10_A3.8_T4.js
index 2f034a106..bacd7ef94 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T4.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,4 +56,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T5.js b/test/suite/ch12/12.10/S12.10_A3.8_T5.js
index 7484ca06a..527d7a21a 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T5.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,4 +56,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.9_T1.js b/test/suite/ch12/12.10/S12.10_A3.9_T1.js
index f54c2087b..6fc98e8ce 100644
--- a/test/suite/ch12/12.10/S12.10_A3.9_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.9_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.9_T1.js
- * @description Using "for-in" statement within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,6 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.9_T2.js b/test/suite/ch12/12.10/S12.10_A3.9_T2.js
index a1bb6dfe9..45f1146dd 100644
--- a/test/suite/ch12/12.10/S12.10_A3.9_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.9_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.9_T2.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,5 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.9_T3.js b/test/suite/ch12/12.10/S12.10_A3.9_T3.js
index c00200340..385072456 100644
--- a/test/suite/ch12/12.10/S12.10_A3.9_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.9_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.9_T3.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,5 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T1.js b/test/suite/ch12/12.10/S12.10_A4_T1.js
index 6deef5b1a..a64cb99f3 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T1.js
- * @description Changing string property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing string property
+flags: [noStrict]
+---*/
this.p1 = 1;
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T2.js b/test/suite/ch12/12.10/S12.10_A4_T2.js
index e31f52b84..f26fe283c 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T2.js
- * @description Changing number property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing number property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T3.js b/test/suite/ch12/12.10/S12.10_A4_T3.js
index 94c58701c..98428624e 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T3.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T3.js
- * @description Changing boolean property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing boolean property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T4.js b/test/suite/ch12/12.10/S12.10_A4_T4.js
index 042d0dfc5..475c9c4db 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T4.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T4.js
- * @description Changing object property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing object property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -39,4 +37,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T5.js b/test/suite/ch12/12.10/S12.10_A4_T5.js
index 38a743b03..e9e72b9ba 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T5.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T5.js
- * @description Changing array property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing array property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T6.js b/test/suite/ch12/12.10/S12.10_A4_T6.js
index fce451118..3d71e0be6 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T6.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T6.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T6.js
- * @description Changing function property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing function property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T1.js b/test/suite/ch12/12.10/S12.10_A5_T1.js
index 351e4bb9d..de4a2da1d 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T1.js
- * @description Deleting string property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting string property
+flags: [noStrict]
+---*/
this.p1 = 1;
var myObj = {
@@ -47,4 +45,3 @@ if(myObj.p1 === 1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T2.js b/test/suite/ch12/12.10/S12.10_A5_T2.js
index 909d79d03..ee19b8bdf 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T2.js
- * @description Deleting number property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting number property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -47,4 +45,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T3.js b/test/suite/ch12/12.10/S12.10_A5_T3.js
index cd2ec3487..74c284164 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T3.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T3.js
- * @description Deleting boolean property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting boolean property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -48,4 +46,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T4.js b/test/suite/ch12/12.10/S12.10_A5_T4.js
index 96f2ded29..7b711b8a5 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T4.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T4.js
- * @description Deleting object property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting object property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -52,4 +50,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T5.js b/test/suite/ch12/12.10/S12.10_A5_T5.js
index f0b52d07a..e89ad1967 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T5.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T5.js
- * @description Deleting array property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting array property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -52,4 +50,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T6.js b/test/suite/ch12/12.10/S12.10_A5_T6.js
index 67c79398a..e635748ff 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T6.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T6.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T6.js
- * @description Deleting function property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting function property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -52,4 +50,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-