diff options
Diffstat (limited to 'test/suite/ch15/15.6/15.6.3/15.6.3.1')
4 files changed, 18 insertions, 29 deletions
diff --git a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A1.js b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A1.js index dc02388d8..7ae52739b 100644 --- a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A1.js +++ b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A1.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The initial value of Boolean.prototype is the Boolean - * prototype object - * - * @path ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A1.js - * @description Checking Boolean.prototype property - */ +/*--- +info: > + The initial value of Boolean.prototype is the Boolean + prototype object +description: Checking Boolean.prototype property +---*/ //CHECK#1 if (typeof Boolean.prototype !== "object") { @@ -24,4 +23,3 @@ delete Boolean.prototype.toString; if (Boolean.prototype.toString() !== "[object Boolean]") { $ERROR('#3: The [[Class]] property of the Boolean prototype object is set to "Boolean"'); } - diff --git a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A2.js b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A2.js index 5a18d22ac..758811e8d 100644 --- a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A2.js +++ b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Boolean.prototype has the attribute ReadOnly - * - * @path ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A2.js - * @description Checking if varying the Boolean.prototype property fails - */ +/*--- +info: Boolean.prototype has the attribute ReadOnly +description: Checking if varying the Boolean.prototype property fails +---*/ // CHECK#1 x = Boolean.prototype; @@ -14,4 +12,3 @@ Boolean.prototype = 1; if (Boolean.prototype !== x) { $ERROR('#1: Boolean.prototype has the attribute ReadOnly'); } - diff --git a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A3.js b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A3.js index 7b9c12669..293e776fc 100644 --- a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A3.js +++ b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A3.js @@ -1,15 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Boolean.prototype has the attribute DontDelete - * - * @path ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A3.js - * @description Checking if deleting the Boolean.prototype property fails - */ +/*--- +info: Boolean.prototype has the attribute DontDelete +description: Checking if deleting the Boolean.prototype property fails +---*/ // CHECK#1 if (delete Boolean.prototype !== false) { $ERROR('#1: Boolean.prototype has the attribute DontDelete'); } - diff --git a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A4.js b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A4.js index e4d13be3d..cf9f213d7 100644 --- a/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A4.js +++ b/test/suite/ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A4.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Boolean.prototype has the attribute DontEnum - * - * @path ch15/15.6/15.6.3/15.6.3.1/S15.6.3.1_A4.js - * @description Checking if enumerating the Boolean.prototype property fails - */ +/*--- +info: Boolean.prototype has the attribute DontEnum +description: Checking if enumerating the Boolean.prototype property fails +---*/ //CHECK#1 for(x in Boolean) { @@ -18,4 +16,3 @@ for(x in Boolean) { if (Boolean.propertyIsEnumerable('prototype')) { $ERROR('#2: Boolean.prototype has the attribute DontEnum'); } - |