diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-09 11:35:37 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-09 11:35:37 -0500 |
commit | a01de4a722d088055a7d84d8c691ddd7109edb34 (patch) | |
tree | f583c8efd40a3b699261f1166da75a9861d83e7b /test/built-ins/Object/isExtensible | |
parent | 7b01f9799f99851955f23c18c12e6651c1941022 (diff) | |
download | qtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz |
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/Object/isExtensible')
34 files changed, 54 insertions, 55 deletions
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js index 61dbcf81c..d3c3e04d1 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-0-1 description: Object.isExtensible must exist as a function ---*/ - var f = Object.isExtensible ; +var f = Object.isExtensible; assert.sameValue(typeof(f), "function", 'typeof(f)'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js b/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js index 0a2533af1..7e0549a7c 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js @@ -11,6 +11,6 @@ description: > constructor ---*/ - var o = new Object(); +var o = new Object(); assert.sameValue(Object.isExtensible(o), true, 'Object.isExtensible(o)'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js index eda4c0622..a1dac5f7f 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js @@ -6,4 +6,4 @@ es5id: 15.2.3.13-1-1 description: Object.isExtensible does not throw TypeError if 'O' is undefined ---*/ - Object.isExtensible(undefined); +Object.isExtensible(undefined); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js index e57ddd177..bbc81c9cf 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js @@ -6,4 +6,4 @@ es5id: 15.2.3.13-1-2 description: Object.isExtensible does not throw TypeError if 'O' is null ---*/ - Object.isExtensible(null); +Object.isExtensible(null); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js index 731bc9ada..1703a565f 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js @@ -6,4 +6,4 @@ es5id: 15.2.3.13-1-3 description: Object.isExtensible does not throw TypeError if 'O' is a boolean ---*/ - Object.isExtensible(true); +Object.isExtensible(true); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js index 1eda1dae2..9bada76d8 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js @@ -6,4 +6,4 @@ es5id: 15.2.3.13-1-4 description: Object.isExtensible does not throw TypeError if 'O' is a string ---*/ - Object.isExtensible("abc"); +Object.isExtensible("abc"); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-1.js index 1552eca76..336899779 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-1.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-1.js @@ -8,4 +8,4 @@ description: > param is not Object ---*/ - Object.isExtensible(0); +Object.isExtensible(0); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js index 663ccbbae..5acb42f30 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-1.js @@ -9,4 +9,3 @@ description: Object.isExtensible returns true for all built-in objects (Global) var global = this; assert(Object.isExtensible(global)); - diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js index f55619ab6..297fcdb1d 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-10 description: Object.isExtensible returns true for all built-in objects (RegExp) ---*/ - var e = Object.isExtensible(RegExp); +var e = Object.isExtensible(RegExp); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js index 9478698b9..5da2f584a 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-11 description: Object.isExtensible returns true for all built-in objects (Error) ---*/ - var e = Object.isExtensible(Error); +var e = Object.isExtensible(Error); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js index 3e369b386..a00976821 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-12 description: Object.isExtensible returns true for all built-in objects (JSON) ---*/ - var e = Object.isExtensible(JSON); +var e = Object.isExtensible(JSON); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js index e15307478..b9d8a8afe 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js @@ -8,6 +8,6 @@ description: > (Function.constructor) ---*/ - var e = Object.isExtensible(Function.constructor); +var e = Object.isExtensible(Function.constructor); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js index 7a630e282..f6ac3e9df 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js @@ -8,6 +8,6 @@ description: > (Function.prototype) ---*/ - var e = Object.isExtensible(Function.prototype); +var e = Object.isExtensible(Function.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js index cbb2a4e12..0f0b67881 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js @@ -8,6 +8,6 @@ description: > (Array.prototype) ---*/ - var e = Object.isExtensible(Array.prototype); +var e = Object.isExtensible(Array.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js index 040ecbd67..1e85cdba9 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js @@ -8,6 +8,6 @@ description: > (String.prototype) ---*/ - var e = Object.isExtensible(String.prototype); +var e = Object.isExtensible(String.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js index d47a560da..fa7fa7ef5 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js @@ -8,6 +8,6 @@ description: > (Boolean.prototype) ---*/ - var e = Object.isExtensible(Boolean.prototype); +var e = Object.isExtensible(Boolean.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js index d8a6a3af7..9ff4791f1 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js @@ -8,6 +8,6 @@ description: > (Number.prototype) ---*/ - var e = Object.isExtensible(Number.prototype); +var e = Object.isExtensible(Number.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js index d61214cb3..f7de75356 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js @@ -8,6 +8,6 @@ description: > (Date.prototype) ---*/ - var e = Object.isExtensible(Date.prototype); +var e = Object.isExtensible(Date.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js index 91f0c3293..2fbf18885 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js @@ -6,7 +6,7 @@ es5id: 15.2.3.13-2-2 description: Object.isExtensible returns true for all built-in objects (Object) ---*/ - var o = {}; - var e = Object.isExtensible(o); +var o = {}; +var e = Object.isExtensible(o); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js index cadbe6cf3..0da24ff0f 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js @@ -8,6 +8,6 @@ description: > (RegExp.prototype) ---*/ - var e = Object.isExtensible(RegExp.prototype); +var e = Object.isExtensible(RegExp.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js index 53a4d7741..c82066c73 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js @@ -18,6 +18,6 @@ description: > (Error.prototype) ---*/ - var e = Object.isExtensible(Error.prototype); +var e = Object.isExtensible(Error.prototype); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js index 6c6e1a4c1..8f497f341 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-22 description: Object.isExtensible returns true if 'O' is extensible ---*/ - var obj = {}; +var obj = {}; assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js index 617caf025..c0294879f 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js @@ -6,7 +6,7 @@ es5id: 15.2.3.13-2-23 description: Object.isExtensible returns false if 'O' is not extensible ---*/ - var obj = {}; - Object.preventExtensions(obj); +var obj = {}; +Object.preventExtensions(obj); assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js index ba0449c59..9910ac50d 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js @@ -8,11 +8,11 @@ description: > prototype that is extensible ---*/ - var proto = {}; +var proto = {}; - var ConstructFun = function () { }; - ConstructFun.prototype = proto; +var ConstructFun = function() {}; +ConstructFun.prototype = proto; - var obj = new ConstructFun(); +var obj = new ConstructFun(); assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js index 63b05a7c5..fdb218499 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js @@ -8,12 +8,12 @@ description: > prototype that is not extensible ---*/ - var proto = {}; - Object.preventExtensions(proto); - - var ConstructFun = function () { }; - ConstructFun.prototype = proto; +var proto = {}; +Object.preventExtensions(proto); - var obj = new ConstructFun(); +var ConstructFun = function() {}; +ConstructFun.prototype = proto; + +var obj = new ConstructFun(); assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js index 58c811599..2bf9bb31e 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js @@ -8,12 +8,12 @@ description: > prototype that is extensible ---*/ - var proto = {}; +var proto = {}; - var ConstructFun = function () { }; - ConstructFun.prototype = proto; - var obj = new ConstructFun(); +var ConstructFun = function() {}; +ConstructFun.prototype = proto; +var obj = new ConstructFun(); - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js index b123e2518..cb9c229e3 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js @@ -8,13 +8,13 @@ description: > prototype that is not extensible ---*/ - var proto = {}; - Object.preventExtensions(proto); +var proto = {}; +Object.preventExtensions(proto); - var ConstructFun = function () { }; - ConstructFun.prototype = proto; +var ConstructFun = function() {}; +ConstructFun.prototype = proto; - var obj = new ConstructFun(); - Object.preventExtensions(obj); +var obj = new ConstructFun(); +Object.preventExtensions(obj); assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js index 27fa4c54f..bee167cf6 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js @@ -8,8 +8,8 @@ description: > (Function) ---*/ - function foo() {} - - var e = Object.isExtensible(foo); +function foo() {} + +var e = Object.isExtensible(foo); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js index ffa63fd8b..487138b54 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-4 description: Object.isExtensible returns true for all built-in objects (Array) ---*/ - var e = Object.isExtensible(Array); +var e = Object.isExtensible(Array); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js index aff9de634..69b1fae1f 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-5 description: Object.isExtensible returns true for all built-in objects (String) ---*/ - var e = Object.isExtensible(String); +var e = Object.isExtensible(String); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js index 73e132cf6..6141fc689 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-6 description: Object.isExtensible returns true for all built-in objects (Boolean) ---*/ - var e = Object.isExtensible(Boolean); +var e = Object.isExtensible(Boolean); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js index b7f4dbc18..16293acf6 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-7 description: Object.isExtensible returns true for all built-in objects (Number) ---*/ - var e = Object.isExtensible(Number); +var e = Object.isExtensible(Number); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js index 8fa92d614..3cafa5da5 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-8 description: Object.isExtensible returns true for all built-in objects (Math) ---*/ - var e = Object.isExtensible(Math); +var e = Object.isExtensible(Math); assert.sameValue(e, true, 'e'); diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js index 4da573d20..5a3d0b540 100644 --- a/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js +++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js @@ -6,6 +6,6 @@ es5id: 15.2.3.13-2-9 description: Object.isExtensible returns true for all built-in objects (Date) ---*/ - var e = Object.isExtensible(Date); +var e = Object.isExtensible(Date); assert.sameValue(e, true, 'e'); |