summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-15 15:25:21 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 15:25:21 -0500
commit6e7ba5060ccf4a3037dce5462d75831076b6a7c8 (patch)
tree934b4b0dee90db909eada8d410c8d5e754e170bb
parent7108616b8e50311594a2697627556bc50ef91e66 (diff)
downloadqtdeclarative-testsuites-6e7ba5060ccf4a3037dce5462d75831076b6a7c8.tar.gz
built-ins/global/*: make all indentation consistent (depth & character) (#1438)
-rw-r--r--test/built-ins/global/10.2.1.1.3-4-16-s.js2
-rw-r--r--test/built-ins/global/10.2.1.1.3-4-18-s.js2
-rw-r--r--test/built-ins/global/10.2.1.1.3-4-22-s.js12
-rw-r--r--test/built-ins/global/10.2.1.1.3-4-27-s.js12
-rw-r--r--test/built-ins/global/S10.2.3_A1.1_T1.js6
-rw-r--r--test/built-ins/global/S10.2.3_A1.1_T2.js18
-rw-r--r--test/built-ins/global/S10.2.3_A1.1_T3.js30
-rw-r--r--test/built-ins/global/S10.2.3_A1.1_T4.js2
-rw-r--r--test/built-ins/global/S10.2.3_A1.2_T1.js6
-rw-r--r--test/built-ins/global/S10.2.3_A1.2_T2.js18
-rw-r--r--test/built-ins/global/S10.2.3_A1.2_T3.js30
-rw-r--r--test/built-ins/global/S10.2.3_A1.2_T4.js2
-rw-r--r--test/built-ins/global/S10.2.3_A2.1_T1.js8
-rw-r--r--test/built-ins/global/S10.2.3_A2.1_T2.js20
-rw-r--r--test/built-ins/global/S10.2.3_A2.1_T3.js30
-rw-r--r--test/built-ins/global/S10.2.3_A2.1_T4.js2
-rw-r--r--test/built-ins/global/S10.2.3_A2.2_T1.js8
-rw-r--r--test/built-ins/global/S10.2.3_A2.2_T2.js20
-rw-r--r--test/built-ins/global/S10.2.3_A2.2_T3.js32
-rw-r--r--test/built-ins/global/S10.2.3_A2.2_T4.js2
-rw-r--r--test/built-ins/global/S15.1_A1_T1.js2
-rw-r--r--test/built-ins/global/S15.1_A1_T2.js2
-rw-r--r--test/built-ins/global/S15.1_A2_T1.js2
23 files changed, 134 insertions, 134 deletions
diff --git a/test/built-ins/global/10.2.1.1.3-4-16-s.js b/test/built-ins/global/10.2.1.1.3-4-16-s.js
index b5cf69ff5..0ef1eb17f 100644
--- a/test/built-ins/global/10.2.1.1.3-4-16-s.js
+++ b/test/built-ins/global/10.2.1.1.3-4-16-s.js
@@ -11,5 +11,5 @@ flags: [onlyStrict]
assert.throws(TypeError, function() {
- NaN = 12;
+ NaN = 12;
});
diff --git a/test/built-ins/global/10.2.1.1.3-4-18-s.js b/test/built-ins/global/10.2.1.1.3-4-18-s.js
index 6a3e87eaa..507e07e5f 100644
--- a/test/built-ins/global/10.2.1.1.3-4-18-s.js
+++ b/test/built-ins/global/10.2.1.1.3-4-18-s.js
@@ -11,5 +11,5 @@ flags: [onlyStrict]
assert.throws(TypeError, function() {
- undefined = 12;
+ undefined = 12;
});
diff --git a/test/built-ins/global/10.2.1.1.3-4-22-s.js b/test/built-ins/global/10.2.1.1.3-4-22-s.js
index bda9016fd..6bcae2396 100644
--- a/test/built-ins/global/10.2.1.1.3-4-22-s.js
+++ b/test/built-ins/global/10.2.1.1.3-4-22-s.js
@@ -10,10 +10,10 @@ description: >
flags: [onlyStrict]
---*/
- var objBak = Object;
+var objBak = Object;
- try {
- Object = 12;
- } finally {
- Object = objBak;
- }
+try {
+ Object = 12;
+} finally {
+ Object = objBak;
+}
diff --git a/test/built-ins/global/10.2.1.1.3-4-27-s.js b/test/built-ins/global/10.2.1.1.3-4-27-s.js
index ec1bc94e7..cb8f60ae4 100644
--- a/test/built-ins/global/10.2.1.1.3-4-27-s.js
+++ b/test/built-ins/global/10.2.1.1.3-4-27-s.js
@@ -10,9 +10,9 @@ description: >
flags: [onlyStrict]
---*/
- var numBak = Number;
- try {
- Number = 12;
- } finally {
- Number = numBak;
- }
+var numBak = Number;
+try {
+ Number = 12;
+} finally {
+ Number = numBak;
+}
diff --git a/test/built-ins/global/S10.2.3_A1.1_T1.js b/test/built-ins/global/S10.2.3_A1.1_T1.js
index 51359c334..44d2fc16c 100644
--- a/test/built-ins/global/S10.2.3_A1.1_T1.js
+++ b/test/built-ins/global/S10.2.3_A1.1_T1.js
@@ -10,16 +10,16 @@ description: Global execution context - Value Properties
---*/
//CHECK#1
-if ( NaN === null ) {
+if (NaN === null) {
$ERROR("#1: NaN === null");
}
//CHECK#2
-if ( Infinity === null ) {
+if (Infinity === null) {
$ERROR("#2: Infinity === null");
}
//CHECK#3
-if ( undefined === null ) {
+if (undefined === null) {
$ERROR("#3: undefined === null");
}
diff --git a/test/built-ins/global/S10.2.3_A1.1_T2.js b/test/built-ins/global/S10.2.3_A1.1_T2.js
index 4e24b9d46..2717f918e 100644
--- a/test/built-ins/global/S10.2.3_A1.1_T2.js
+++ b/test/built-ins/global/S10.2.3_A1.1_T2.js
@@ -10,46 +10,46 @@ description: Global execution context - Function Properties
---*/
//CHECK#4
-if ( eval === null ) {
+if (eval === null) {
$ERROR("#4: eval === null");
}
//CHECK#5
-if ( parseInt === null ) {
+if (parseInt === null) {
$ERROR("#5: parseInt === null");
}
//CHECK#6
-if ( parseFloat === null ) {
+if (parseFloat === null) {
$ERROR("#6: parseFloat === null");
}
//CHECK#7
-if ( isNaN === null ) {
+if (isNaN === null) {
$ERROR("#7: isNaN === null");
}
//CHECK#8
-if ( isFinite === null ) {
+if (isFinite === null) {
$ERROR("#8: isFinite === null");
}
//CHECK#9
-if ( decodeURI === null ) {
+if (decodeURI === null) {
$ERROR("#9: decodeURI === null");
}
//CHECK#10
-if ( decodeURIComponent === null ) {
+if (decodeURIComponent === null) {
$ERROR("#10: decodeURIComponent === null");
}
//CHECK#11
-if ( encodeURI === null ) {
+if (encodeURI === null) {
$ERROR("#11: encodeURI === null");
}
//CHECK#12
-if ( encodeURIComponent === null ) {
+if (encodeURIComponent === null) {
$ERROR("#12: encodeURIComponent === null");
}
diff --git a/test/built-ins/global/S10.2.3_A1.1_T3.js b/test/built-ins/global/S10.2.3_A1.1_T3.js
index 0497a078c..16de4c0eb 100644
--- a/test/built-ins/global/S10.2.3_A1.1_T3.js
+++ b/test/built-ins/global/S10.2.3_A1.1_T3.js
@@ -10,76 +10,76 @@ description: Global execution context - Constructor Properties
---*/
//CHECK#13
-if ( Object === null ) {
+if (Object === null) {
$ERROR("#13: Object === null");
}
//CHECK#14
-if ( Function === null ) {
+if (Function === null) {
$ERROR("#14: Function === null");
}
//CHECK#15
-if ( String === null ) {
+if (String === null) {
$ERROR("#15: String === null");
}
//CHECK#16
-if ( Number === null ) {
+if (Number === null) {
$ERROR("#16: Number === null");
}
//CHECK#17
-if ( Array === null ) {
+if (Array === null) {
$ERROR("#17: Array === null");
}
//CHECK#18
-if ( Boolean === null ) {
+if (Boolean === null) {
$ERROR("#20: Boolean === null");
}
//CHECK#18
-if ( Date === null ) {
+if (Date === null) {
$ERROR("#18: Date === null");
}
//CHECK#19
-if ( RegExp === null ) {
+if (RegExp === null) {
$ERROR("#19: RegExp === null");
}
//CHECK#20
-if ( Error === null ) {
+if (Error === null) {
$ERROR("#20: Error === null");
}
//CHECK#21
-if ( EvalError === null ) {
+if (EvalError === null) {
$ERROR("#21: EvalError === null");
}
//CHECK#22
-if ( RangeError === null ) {
+if (RangeError === null) {
$ERROR("#22: RangeError === null");
}
//CHECK#23
-if ( ReferenceError === null ) {
+if (ReferenceError === null) {
$ERROR("#23: ReferenceError === null");
}
//CHECK#24
-if ( SyntaxError === null ) {
+if (SyntaxError === null) {
$ERROR("#24: SyntaxError === null");
}
//CHECK#25
-if ( TypeError === null ) {
+if (TypeError === null) {
$ERROR("#25: TypeError === null");
}
//CHECK#26
-if ( URIError === null ) {
+if (URIError === null) {
$ERROR("#26: URIError === null");
}
diff --git a/test/built-ins/global/S10.2.3_A1.1_T4.js b/test/built-ins/global/S10.2.3_A1.1_T4.js
index 5f8940512..92f8258e1 100644
--- a/test/built-ins/global/S10.2.3_A1.1_T4.js
+++ b/test/built-ins/global/S10.2.3_A1.1_T4.js
@@ -10,6 +10,6 @@ description: Global execution context - Other Properties
---*/
//CHECK#27
-if ( Math === null ) {
+if (Math === null) {
$ERROR("#27: Math === null");
}
diff --git a/test/built-ins/global/S10.2.3_A1.2_T1.js b/test/built-ins/global/S10.2.3_A1.2_T1.js
index 5652ac2d0..6eac1483d 100644
--- a/test/built-ins/global/S10.2.3_A1.2_T1.js
+++ b/test/built-ins/global/S10.2.3_A1.2_T1.js
@@ -11,17 +11,17 @@ description: Function execution context - Value Properties
function test() {
//CHECK#1
- if ( NaN === null ) {
+ if (NaN === null) {
$ERROR("#1: NaN === null");
}
//CHECK#2
- if ( Infinity === null ) {
+ if (Infinity === null) {
$ERROR("#2: Infinity === null");
}
//CHECK#3
- if ( undefined === null ) {
+ if (undefined === null) {
$ERROR("#3: undefined === null");
}
}
diff --git a/test/built-ins/global/S10.2.3_A1.2_T2.js b/test/built-ins/global/S10.2.3_A1.2_T2.js
index 690f44913..758529a92 100644
--- a/test/built-ins/global/S10.2.3_A1.2_T2.js
+++ b/test/built-ins/global/S10.2.3_A1.2_T2.js
@@ -11,47 +11,47 @@ description: Function execution context - Function Properties
function test() {
//CHECK#4
- if ( eval === null ) {
+ if (eval === null) {
$ERROR("#4: eval === null");
}
//CHECK#5
- if ( parseInt === null ) {
+ if (parseInt === null) {
$ERROR("#5: parseInt === null");
}
//CHECK#6
- if ( parseFloat === null ) {
+ if (parseFloat === null) {
$ERROR("#6: parseFloat === null");
}
//CHECK#7
- if ( isNaN === null ) {
+ if (isNaN === null) {
$ERROR("#7: isNaN === null");
}
//CHECK#8
- if ( isFinite === null ) {
+ if (isFinite === null) {
$ERROR("#8: isFinite === null");
}
//CHECK#9
- if ( decodeURI === null ) {
+ if (decodeURI === null) {
$ERROR("#9: decodeURI === null");
}
//CHECK#10
- if ( decodeURIComponent === null ) {
+ if (decodeURIComponent === null) {
$ERROR("#10: decodeURIComponent === null");
}
//CHECK#11
- if ( encodeURI === null ) {
+ if (encodeURI === null) {
$ERROR("#11: encodeURI === null");
}
//CHECK#12
- if ( encodeURIComponent === null ) {
+ if (encodeURIComponent === null) {
$ERROR("#12: encodeURIComponent === null");
}
}
diff --git a/test/built-ins/global/S10.2.3_A1.2_T3.js b/test/built-ins/global/S10.2.3_A1.2_T3.js
index 2d0c18861..4dce306c2 100644
--- a/test/built-ins/global/S10.2.3_A1.2_T3.js
+++ b/test/built-ins/global/S10.2.3_A1.2_T3.js
@@ -11,77 +11,77 @@ description: Function execution context - Constructor Properties
function test() {
//CHECK#13
- if ( Object === null ) {
+ if (Object === null) {
$ERROR("#13: Object === null");
}
//CHECK#14
- if ( Function === null ) {
+ if (Function === null) {
$ERROR("#14: Function === null");
}
//CHECK#15
- if ( String === null ) {
+ if (String === null) {
$ERROR("#15: String === null");
}
//CHECK#16
- if ( Number === null ) {
+ if (Number === null) {
$ERROR("#16: Function === null");
}
//CHECK#17
- if ( Array === null ) {
+ if (Array === null) {
$ERROR("#17: Array === null");
}
//CHECK#18
- if ( Boolean === null ) {
+ if (Boolean === null) {
$ERROR("#20: Boolean === null");
}
//CHECK#18
- if ( Date === null ) {
+ if (Date === null) {
$ERROR("#18: Date === null");
}
//CHECK#19
- if ( RegExp === null ) {
+ if (RegExp === null) {
$ERROR("#19: RegExp === null");
}
//CHECK#20
- if ( Error === null ) {
+ if (Error === null) {
$ERROR("#20: Error === null");
}
//CHECK#21
- if ( EvalError === null ) {
+ if (EvalError === null) {
$ERROR("#21: EvalError === null");
}
//CHECK#22
- if ( RangeError === null ) {
+ if (RangeError === null) {
$ERROR("#22: RangeError === null");
}
//CHECK#23
- if ( ReferenceError === null ) {
+ if (ReferenceError === null) {
$ERROR("#23: ReferenceError === null");
}
//CHECK#24
- if ( SyntaxError === null ) {
+ if (SyntaxError === null) {
$ERROR("#24: SyntaxError === null");
}
//CHECK#25
- if ( TypeError === null ) {
+ if (TypeError === null) {
$ERROR("#25: TypeError === null");
}
//CHECK#26
- if ( URIError === null ) {
+ if (URIError === null) {
$ERROR("#26: URIError === null");
}
}
diff --git a/test/built-ins/global/S10.2.3_A1.2_T4.js b/test/built-ins/global/S10.2.3_A1.2_T4.js
index 6ee2522bf..3abffff7c 100644
--- a/test/built-ins/global/S10.2.3_A1.2_T4.js
+++ b/test/built-ins/global/S10.2.3_A1.2_T4.js
@@ -11,7 +11,7 @@ description: Function execution context - Other Properties
function test() {
//CHECK#27
- if ( Math === null ) {
+ if (Math === null) {
$ERROR("#27: Math === null");
}
}
diff --git a/test/built-ins/global/S10.2.3_A2.1_T1.js b/test/built-ins/global/S10.2.3_A2.1_T1.js
index 195ca44b7..ccde02b7f 100644
--- a/test/built-ins/global/S10.2.3_A2.1_T1.js
+++ b/test/built-ins/global/S10.2.3_A2.1_T1.js
@@ -9,11 +9,11 @@ description: Global execution context - Value Properties
//CHECK#1
for (var x in this) {
- if ( x === 'NaN' ) {
+ if (x === 'NaN') {
$ERROR("#1: 'NaN' have attribute DontEnum");
- } else if ( x === 'Infinity' ) {
+ } else if (x === 'Infinity') {
$ERROR("#1: 'Infinity' have attribute DontEnum");
- } else if ( x === 'undefined' ) {
+ } else if (x === 'undefined') {
$ERROR("#1: 'undefined' have attribute DontEnum");
- }
+ }
}
diff --git a/test/built-ins/global/S10.2.3_A2.1_T2.js b/test/built-ins/global/S10.2.3_A2.1_T2.js
index c2d4f98a4..07c20cb74 100644
--- a/test/built-ins/global/S10.2.3_A2.1_T2.js
+++ b/test/built-ins/global/S10.2.3_A2.1_T2.js
@@ -9,23 +9,23 @@ description: Global execution context - Function Properties
//CHECK#1
for (var x in this) {
- if ( x === 'eval' ) {
+ if (x === 'eval') {
$ERROR("#1: 'eval' have attribute DontEnum");
- } else if ( x === 'parseInt' ) {
+ } else if (x === 'parseInt') {
$ERROR("#1: 'parseInt' have attribute DontEnum");
- } else if ( x === 'parseFloat' ) {
+ } else if (x === 'parseFloat') {
$ERROR("#1: 'parseFloat' have attribute DontEnum");
- } else if ( x === 'isNaN' ) {
+ } else if (x === 'isNaN') {
$ERROR("#1: 'isNaN' have attribute DontEnum");
- } else if ( x === 'isFinite' ) {
+ } else if (x === 'isFinite') {
$ERROR("#1: 'isFinite' have attribute DontEnum");
- } else if ( x === 'decodeURI' ) {
+ } else if (x === 'decodeURI') {
$ERROR("#1: 'decodeURI' have attribute DontEnum");
- } else if ( x === 'decodeURIComponent' ) {
+ } else if (x === 'decodeURIComponent') {
$ERROR("#1: 'decodeURIComponent' have attribute DontEnum");
- } else if ( x === 'encodeURI' ) {
+ } else if (x === 'encodeURI') {
$ERROR("#1: 'encodeURI' have attribute DontEnum");
- } else if ( x === 'encodeURIComponent' ) {
+ } else if (x === 'encodeURIComponent') {
$ERROR("#1: 'encodeURIComponent' have attribute DontEnum");
- }
+ }
}
diff --git a/test/built-ins/global/S10.2.3_A2.1_T3.js b/test/built-ins/global/S10.2.3_A2.1_T3.js
index d011b2a39..9cc1fa88f 100644
--- a/test/built-ins/global/S10.2.3_A2.1_T3.js
+++ b/test/built-ins/global/S10.2.3_A2.1_T3.js
@@ -9,35 +9,35 @@ description: Global execution context - Constructor Properties
//CHECK#1
for (var x in this) {
- if ( x === 'Object' ) {
+ if (x === 'Object') {
$ERROR("#1: 'property 'Object' have attribute DontEnum");
- } else if ( x === 'Function') {
+ } else if (x === 'Function') {
$ERROR("#1: 'Function' have attribute DontEnum");
- } else if ( x === 'String' ) {
+ } else if (x === 'String') {
$ERROR("#1: 'String' have attribute DontEnum");
- } else if ( x === 'Number' ) {
+ } else if (x === 'Number') {
$ERROR("#1: 'Number' have attribute DontEnum");
- } else if ( x === 'Array' ) {
+ } else if (x === 'Array') {
$ERROR("#1: 'Array' have attribute DontEnum");
- } else if ( x === 'Boolean' ) {
+ } else if (x === 'Boolean') {
$ERROR("#1: 'Boolean' have attribute DontEnum");
- } else if ( x === 'Date' ) {
+ } else if (x === 'Date') {
$ERROR("#1: 'Date' have attribute DontEnum");
- } else if ( x === 'RegExp' ) {
+ } else if (x === 'RegExp') {
$ERROR("#1: 'RegExp' have attribute DontEnum");
- } else if ( x === 'Error' ) {
+ } else if (x === 'Error') {
$ERROR("#1: 'Error' have attribute DontEnum");
- } else if ( x === 'EvalError' ) {
+ } else if (x === 'EvalError') {
$ERROR("#1: 'EvalError' have attribute DontEnum");
- } else if ( x === 'RangeError' ) {
+ } else if (x === 'RangeError') {
$ERROR("#1: 'RangeError' have attribute DontEnum");
- } else if ( x === 'ReferenceError' ) {
+ } else if (x === 'ReferenceError') {
$ERROR("#1: 'ReferenceError' have attribute DontEnum");
- } else if ( x === 'SyntaxError' ) {
+ } else if (x === 'SyntaxError') {
$ERROR("#1: 'SyntaxError' have attribute DontEnum");
- } else if ( x === 'TypeError' ) {
+ } else if (x === 'TypeError') {
$ERROR("#1: 'TypeError' have attribute DontEnum");
- } else if ( x === 'URIError' ) {
+ } else if (x === 'URIError') {
$ERROR("#1: 'URIError' have attribute DontEnum");
}
}
diff --git a/test/built-ins/global/S10.2.3_A2.1_T4.js b/test/built-ins/global/S10.2.3_A2.1_T4.js
index 9dbb49b35..e14c7b111 100644
--- a/test/built-ins/global/S10.2.3_A2.1_T4.js
+++ b/test/built-ins/global/S10.2.3_A2.1_T4.js
@@ -9,7 +9,7 @@ description: Global execution context - Other Properties
//CHECK#1
for (var x in this) {
- if ( x === 'Math' ) {
+ if (x === 'Math') {
$ERROR("#1: 'Math' have attribute DontEnum");
}
}
diff --git a/test/built-ins/global/S10.2.3_A2.2_T1.js b/test/built-ins/global/S10.2.3_A2.2_T1.js
index 7de8a86ae..427a4bcf5 100644
--- a/test/built-ins/global/S10.2.3_A2.2_T1.js
+++ b/test/built-ins/global/S10.2.3_A2.2_T1.js
@@ -11,13 +11,13 @@ flags: [noStrict]
function test() {
//CHECK#1
for (var x in this) {
- if ( x === 'NaN' ) {
+ if (x === 'NaN') {
$ERROR("#1: 'NaN' have attribute DontEnum");
- } else if ( x === 'Infinity' ) {
+ } else if (x === 'Infinity') {
$ERROR("#1: 'Infinity' have attribute DontEnum");
- } else if ( x === 'undefined' ) {
+ } else if (x === 'undefined') {
$ERROR("#1: 'undefined' have attribute DontEnum");
- }
+ }
}
}
diff --git a/test/built-ins/global/S10.2.3_A2.2_T2.js b/test/built-ins/global/S10.2.3_A2.2_T2.js
index ee07c7359..1a7ca5862 100644
--- a/test/built-ins/global/S10.2.3_A2.2_T2.js
+++ b/test/built-ins/global/S10.2.3_A2.2_T2.js
@@ -11,25 +11,25 @@ flags: [noStrict]
function test() {
//CHECK#1
for (var x in this) {
- if ( x === 'eval' ) {
+ if (x === 'eval') {
$ERROR("#1: 'eval' have attribute DontEnum");
- } else if ( x === 'parseInt' ) {
+ } else if (x === 'parseInt') {
$ERROR("#1: 'parseInt' have attribute DontEnum");
- } else if ( x === 'parseFloat' ) {
+ } else if (x === 'parseFloat') {
$ERROR("#1: 'parseFloat' have attribute DontEnum");
- } else if ( x === 'isNaN' ) {
+ } else if (x === 'isNaN') {
$ERROR("#1: 'isNaN' have attribute DontEnum");
- } else if ( x === 'isFinite' ) {
+ } else if (x === 'isFinite') {
$ERROR("#1: 'isFinite' have attribute DontEnum");
- } else if ( x === 'decodeURI' ) {
+ } else if (x === 'decodeURI') {
$ERROR("#1: 'decodeURI' have attribute DontEnum");
- } else if ( x === 'decodeURIComponent' ) {
+ } else if (x === 'decodeURIComponent') {
$ERROR("#1: 'decodeURIComponent' have attribute DontEnum");
- } else if ( x === 'encodeURI' ) {
+ } else if (x === 'encodeURI') {
$ERROR("#1: 'encodeURI' have attribute DontEnum");
- } else if ( x === 'encodeURIComponent' ) {
+ } else if (x === 'encodeURIComponent') {
$ERROR("#1: 'encodeURIComponent' have attribute DontEnum");
- }
+ }
}
}
diff --git a/test/built-ins/global/S10.2.3_A2.2_T3.js b/test/built-ins/global/S10.2.3_A2.2_T3.js
index ec0482d2a..ee17f77c4 100644
--- a/test/built-ins/global/S10.2.3_A2.2_T3.js
+++ b/test/built-ins/global/S10.2.3_A2.2_T3.js
@@ -11,37 +11,37 @@ flags: [noStrict]
function test() {
//CHECK#1
for (var x in this) {
- if ( x === 'Object' ) {
+ if (x === 'Object') {
$ERROR("#1: 'property 'Object' have attribute DontEnum");
- } else if ( x === 'Function') {
+ } else if (x === 'Function') {
$ERROR("#1: 'Function' have attribute DontEnum");
- } else if ( x === 'String' ) {
+ } else if (x === 'String') {
$ERROR("#1: 'String' have attribute DontEnum");
- } else if ( x === 'Number' ) {
+ } else if (x === 'Number') {
$ERROR("#1: 'Number' have attribute DontEnum");
- } else if ( x === 'Array' ) {
+ } else if (x === 'Array') {
$ERROR("#1: 'Array' have attribute DontEnum");
- } else if ( x === 'Boolean' ) {
+ } else if (x === 'Boolean') {
$ERROR("#1: 'Boolean' have attribute DontEnum");
- } else if ( x === 'Date' ) {
+ } else if (x === 'Date') {
$ERROR("#1: 'Date' have attribute DontEnum");
- } else if ( x === 'RegExp' ) {
+ } else if (x === 'RegExp') {
$ERROR("#1: 'RegExp' have attribute DontEnum");
- } else if ( x === 'Error' ) {
+ } else if (x === 'Error') {
$ERROR("#1: 'Error' have attribute DontEnum");
- } else if ( x === 'EvalError' ) {
+ } else if (x === 'EvalError') {
$ERROR("#1: 'EvalError' have attribute DontEnum");
- } else if ( x === 'RangeError' ) {
+ } else if (x === 'RangeError') {
$ERROR("#1: 'RangeError' have attribute DontEnum");
- } else if ( x === 'ReferenceError' ) {
+ } else if (x === 'ReferenceError') {
$ERROR("#1: 'ReferenceError' have attribute DontEnum");
- } else if ( x === 'SyntaxError' ) {
+ } else if (x === 'SyntaxError') {
$ERROR("#1: 'SyntaxError' have attribute DontEnum");
- } else if ( x === 'TypeError' ) {
+ } else if (x === 'TypeError') {
$ERROR("#1: 'TypeError' have attribute DontEnum");
- } else if ( x === 'URIError' ) {
+ } else if (x === 'URIError') {
$ERROR("#1: 'URIError' have attribute DontEnum");
- }
+ }
}
}
diff --git a/test/built-ins/global/S10.2.3_A2.2_T4.js b/test/built-ins/global/S10.2.3_A2.2_T4.js
index 4a3c5517f..4c61acec8 100644
--- a/test/built-ins/global/S10.2.3_A2.2_T4.js
+++ b/test/built-ins/global/S10.2.3_A2.2_T4.js
@@ -11,7 +11,7 @@ flags: [noStrict]
function test() {
//CHECK#1
for (var x in this) {
- if ( x === 'Math' ) {
+ if (x === 'Math') {
$ERROR("#1: 'Math' have attribute DontEnum");
}
}
diff --git a/test/built-ins/global/S15.1_A1_T1.js b/test/built-ins/global/S15.1_A1_T1.js
index 18d89f5b4..83f2868f0 100644
--- a/test/built-ins/global/S15.1_A1_T1.js
+++ b/test/built-ins/global/S15.1_A1_T1.js
@@ -12,5 +12,5 @@ description: >
var global = this;
assert.throws(TypeError, function() {
- new global;
+ new global;
});
diff --git a/test/built-ins/global/S15.1_A1_T2.js b/test/built-ins/global/S15.1_A1_T2.js
index 796612aca..aed814768 100644
--- a/test/built-ins/global/S15.1_A1_T2.js
+++ b/test/built-ins/global/S15.1_A1_T2.js
@@ -12,5 +12,5 @@ description: >
var global = this;
assert.throws(TypeError, function() {
- new global();
+ new global();
});
diff --git a/test/built-ins/global/S15.1_A2_T1.js b/test/built-ins/global/S15.1_A2_T1.js
index e2a730aaa..3fbdfd1ae 100644
--- a/test/built-ins/global/S15.1_A2_T1.js
+++ b/test/built-ins/global/S15.1_A2_T1.js
@@ -10,5 +10,5 @@ description: It is not possible to invoke the global object as a function
var global = this;
assert.throws(TypeError, function() {
- global();
+ global();
});