diff options
Diffstat (limited to 'test/built-ins/Object/isFrozen')
53 files changed, 228 insertions, 221 deletions
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js index 04c9d7704..961068ca9 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-0-1 description: Object.isFrozen must exist as a function ---*/ - var f = Object.isFrozen; +var f = Object.isFrozen; assert.sameValue(typeof(f), "function", 'typeof(f)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js index c1b503894..4bcccdf03 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js @@ -8,4 +8,4 @@ description: > is undefined ---*/ - Object.isFrozen(undefined); +Object.isFrozen(undefined); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js index a956a69f4..06329b88a 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js @@ -8,4 +8,4 @@ description: > is null ---*/ - Object.isFrozen(null); +Object.isFrozen(null); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js index 74d543db3..6f11d3568 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js @@ -8,4 +8,4 @@ description: > is a boolean ---*/ - Object.isFrozen(true); +Object.isFrozen(true); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js index 45c4f61a7..109ed310e 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js @@ -8,4 +8,4 @@ description: > is a string ---*/ - Object.isFrozen("abc"); +Object.isFrozen("abc"); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js index 04a495bc1..91e68ede6 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-1-5 description: Object.isFrozen applies to dense array ---*/ - var obj = Object.freeze([0, 1, 2]); +var obj = Object.freeze([0, 1, 2]); assert(Object.isFrozen(obj), 'Object.isFrozen(obj) !== true'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js index 1c8e88cd0..d3168dddc 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js @@ -6,9 +6,9 @@ es5id: 15.2.3.12-1-6 description: Object.isFrozen applies to sparse array ---*/ - var sparseArr = [0, 1]; - sparseArr[10000] = 10000; +var sparseArr = [0, 1]; +sparseArr[10000] = 10000; - sparseArr = Object.freeze(sparseArr); +sparseArr = Object.freeze(sparseArr); assert(Object.isFrozen(sparseArr), 'Object.isFrozen(sparseArr) !== true'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js index 5d9df9679..4aedb181c 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js @@ -8,6 +8,10 @@ description: > named properties ---*/ - var obj = Object.freeze({ 0: 0, 1: 1, 1000: 1000 }); +var obj = Object.freeze({ + 0: 0, + 1: 1, + 1000: 1000 +}); assert(Object.isFrozen(obj), 'Object.isFrozen(obj) !== true'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-1.js index eeafda571..86e9f0608 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-1.js @@ -8,4 +8,4 @@ description: > not Object ---*/ - Object.isFrozen(0); +Object.isFrozen(0); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js index 29dbb7d46..3c7de20a1 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js @@ -8,18 +8,18 @@ description: > the for each loop ---*/ - var proto = {}; - Object.defineProperty(proto, "Father", { - value: 10, - writable: false, - configurable: true - }); +var proto = {}; +Object.defineProperty(proto, "Father", { + value: 10, + writable: false, + configurable: true +}); - var Con = function () { }; - Con.prototype = proto; +var Con = function() {}; +Con.prototype = proto; - var child = new Con(); +var child = new Con(); - Object.preventExtensions(child); +Object.preventExtensions(child); assert(Object.isFrozen(child), 'Object.isFrozen(child) !== true'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js index e7fa25860..b4c795992 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js @@ -8,24 +8,25 @@ description: > into the for each loop ---*/ - var proto = {}; - - function get_func() { - return 10; - } - function set_func() { } +var proto = {}; - Object.defineProperty(proto, "Father", { - get: get_func, - set: set_func, - configurable: true - }); +function get_func() { + return 10; +} - var Con = function () { }; - Con.prototype = proto; +function set_func() {} - var child = new Con(); +Object.defineProperty(proto, "Father", { + get: get_func, + set: set_func, + configurable: true +}); - Object.preventExtensions(child); +var Con = function() {}; +Con.prototype = proto; + +var child = new Con(); + +Object.preventExtensions(child); assert(Object.isFrozen(child), 'Object.isFrozen(child) !== true'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js index b254239ce..e736ff86e 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js @@ -6,14 +6,14 @@ es5id: 15.2.3.12-2-a-1 description: Object.isFrozen - 'P' is own data property ---*/ - var obj = {}; +var obj = {}; - Object.defineProperty(obj, "foo", { - value: 12, - writable: true, - configurable: false - }); +Object.defineProperty(obj, "foo", { + value: 12, + writable: true, + configurable: false +}); - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js index b937a4f69..9f8ffba27 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js @@ -6,12 +6,12 @@ es5id: 15.2.3.12-2-a-11 description: Object.isFrozen - 'O' is the Arguments object ---*/ - var arg; +var arg; - (function fun() { - arg = arguments; - }(1, 2, 3)); +(function fun() { + arg = arguments; +}(1, 2, 3)); - Object.preventExtensions(arg); +Object.preventExtensions(arg); assert.sameValue(Object.isFrozen(arg), false, 'Object.isFrozen(arg)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js index 9c1031b95..6d3886377 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js @@ -6,10 +6,10 @@ es5id: 15.2.3.12-2-a-12 description: Object.isFrozen - 'O' is a String object ---*/ - var obj = new String("abc"); +var obj = new String("abc"); - obj.len = 100; +obj.len = 100; - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js index bdcdb212d..01ba00c36 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js @@ -6,14 +6,14 @@ es5id: 15.2.3.12-2-a-13 description: Object.isFrozen - 'O' is a Function object ---*/ - var obj = function () { }; - - Object.defineProperty(obj, "property", { - value: 12, - writable: true, - configurable: false - }); +var obj = function() {}; - Object.preventExtensions(obj); +Object.defineProperty(obj, "property", { + value: 12, + writable: true, + configurable: false +}); + +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js index 66eb7cf7e..dc0b65f3f 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js @@ -6,9 +6,9 @@ es5id: 15.2.3.12-2-a-14 description: Object.isFrozen - 'O' is an Array object ---*/ - var obj = [2]; - obj.len = 200; +var obj = [2]; +obj.len = 200; - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js index b1714fd6a..d769a465a 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js @@ -8,24 +8,24 @@ description: > inherited data property ---*/ - var proto = {}; +var proto = {}; - Object.defineProperty(proto, "foo", { - value: 9, - writable: false, - configurable: false - }); +Object.defineProperty(proto, "foo", { + value: 9, + writable: false, + configurable: false +}); - var Con = function () { }; - Con.prototype = proto; - var child = new Con(); +var Con = function() {}; +Con.prototype = proto; +var child = new Con(); - Object.defineProperty(child, "foo", { - value: 12, - writable: true, - configurable: false - }); +Object.defineProperty(child, "foo", { + value: 12, + writable: true, + configurable: false +}); - Object.preventExtensions(child); +Object.preventExtensions(child); assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js index 80b28f1ac..7fc07b2b6 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js @@ -8,25 +8,25 @@ description: > inherited accessor property ---*/ - var proto = {}; +var proto = {}; - Object.defineProperty(proto, "foo", { - get: function () { - return 9; - }, - configurable: false - }); +Object.defineProperty(proto, "foo", { + get: function() { + return 9; + }, + configurable: false +}); - var Con = function () { }; - Con.prototype = proto; - var child = new Con(); +var Con = function() {}; +Con.prototype = proto; +var child = new Con(); - Object.defineProperty(child, "foo", { - value: 12, - configurable: true - }); +Object.defineProperty(child, "foo", { + value: 12, + configurable: true +}); - Object.preventExtensions(child); +Object.preventExtensions(child); assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js index 318d43be5..d9e2ce407 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js @@ -6,14 +6,14 @@ es5id: 15.2.3.12-2-a-4 description: Object.isFrozen - 'P' is own accessor property ---*/ - var obj = {}; - Object.defineProperty(obj, "foo", { - get: function () { - return 9; - }, - configurable: true - }); +var obj = {}; +Object.defineProperty(obj, "foo", { + get: function() { + return 9; + }, + configurable: true +}); - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js index 0164b8a7a..db4bf0df1 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js @@ -8,24 +8,24 @@ description: > inherited data property ---*/ - var proto = {}; +var proto = {}; - Object.defineProperty(proto, "foo", { - value: 12, - configurable: false - }); +Object.defineProperty(proto, "foo", { + value: 12, + configurable: false +}); - var Con = function () { }; - Con.prototype = proto; - var child = new Con(); +var Con = function() {}; +Con.prototype = proto; +var child = new Con(); - Object.defineProperty(child, "foo", { - get: function () { - return 9; - }, - configurable: true - }); +Object.defineProperty(child, "foo", { + get: function() { + return 9; + }, + configurable: true +}); - Object.preventExtensions(child); +Object.preventExtensions(child); assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js index f010ceee0..47cbc5062 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js @@ -8,27 +8,27 @@ description: > inherited accessor property ---*/ - var proto = {}; +var proto = {}; - Object.defineProperty(proto, "foo", { - get: function () { - return 12; - }, - configurable: false - }); +Object.defineProperty(proto, "foo", { + get: function() { + return 12; + }, + configurable: false +}); - var Con = function () { }; - Con.prototype = proto; - var child = new Con(); +var Con = function() {}; +Con.prototype = proto; +var child = new Con(); - Object.defineProperty(child, "foo", { - get: function () { - return 9; - }, - configurable: true - }); +Object.defineProperty(child, "foo", { + get: function() { + return 9; + }, + configurable: true +}); - Object.preventExtensions(child); +Object.preventExtensions(child); assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js index 054f21626..34310b0a9 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js @@ -8,12 +8,12 @@ description: > function ---*/ - var obj = {}; - Object.defineProperty(obj, "foo", { - set: function () { }, - configurable: true - }); +var obj = {}; +Object.defineProperty(obj, "foo", { + set: function() {}, + configurable: true +}); - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js index 7ebdca6bc..251b7760c 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js @@ -8,24 +8,24 @@ description: > function that overrides an inherited accessor property ---*/ - var proto = {}; +var proto = {}; - Object.defineProperty(proto, "foo", { - get: function () { - return 9; - }, - configurable: false - }); +Object.defineProperty(proto, "foo", { + get: function() { + return 9; + }, + configurable: false +}); - var Con = function () { }; - Con.prototype = proto; - var child = new Con(); +var Con = function() {}; +Con.prototype = proto; +var child = new Con(); - Object.defineProperty(child, "foo", { - set: function () { }, - configurable: true - }); +Object.defineProperty(child, "foo", { + set: function() {}, + configurable: true +}); - Object.preventExtensions(child); +Object.preventExtensions(child); assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js index 4a1edc14b..ca7903b33 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js @@ -8,12 +8,12 @@ description: > property ---*/ - var obj = {}; - Object.defineProperty(obj, "foo", { - value: 20, - writable: true, - configurable: false - }); - Object.preventExtensions(obj); +var obj = {}; +Object.defineProperty(obj, "foo", { + value: 20, + writable: true, + configurable: false +}); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js index d56ce37ac..3d4603ee7 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js @@ -8,13 +8,13 @@ description: > data property ---*/ - var obj = {}; - Object.defineProperty(obj, "foo", { - value: 20, - writable: false, - configurable: true - }); +var obj = {}; +Object.defineProperty(obj, "foo", { + value: 20, + writable: false, + configurable: true +}); - Object.preventExtensions(obj); +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js index b1e4d1f19..ad7d4e076 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js @@ -8,19 +8,20 @@ description: > accessor property ---*/ - var obj = {}; +var obj = {}; - function get_func() { - return 10; - } - function set_func() { } +function get_func() { + return 10; +} - Object.defineProperty(obj, "foo", { - get: get_func, - set: set_func, - configurable: true - }); +function set_func() {} - Object.preventExtensions(obj); +Object.defineProperty(obj, "foo", { + get: get_func, + set: set_func, + configurable: true +}); + +Object.preventExtensions(obj); assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js index 10574131c..29e85f0b2 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-10 description: Object.isFrozen returns false for all built-in objects (Boolean) ---*/ - var b = Object.isFrozen(Boolean); +var b = Object.isFrozen(Boolean); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js index 56d3cc613..76bec9198 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js @@ -8,6 +8,6 @@ description: > (Boolean.prototype) ---*/ - var b = Object.isFrozen(Boolean.prototype); +var b = Object.isFrozen(Boolean.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js index 1990a4753..d8c46943e 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-12 description: Object.isFrozen returns false for all built-in objects (Number) ---*/ - var b = Object.isFrozen(Number); +var b = Object.isFrozen(Number); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js index a23a21495..7cd89226e 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js @@ -8,6 +8,6 @@ description: > (Number.prototype) ---*/ - var b = Object.isFrozen(Number.prototype); +var b = Object.isFrozen(Number.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js index 84878798d..63abccb27 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-14 description: Object.isFrozen returns false for all built-in objects (Math) ---*/ - var b = Object.isFrozen(Math); +var b = Object.isFrozen(Math); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js index 8792cdae9..ca66a01a5 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-15 description: Object.isFrozen returns false for all built-in objects (Date) ---*/ - var b = Object.isFrozen(Date); +var b = Object.isFrozen(Date); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js index 98ad1f1d7..1e873c82a 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js @@ -8,6 +8,6 @@ description: > (Date.prototype) ---*/ - var b = Object.isFrozen(Date.prototype); +var b = Object.isFrozen(Date.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js index 17fbf439d..cfecb1f86 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-17 description: Object.isFrozen returns false for all built-in objects (RegExp) ---*/ - var b = Object.isFrozen(RegExp); +var b = Object.isFrozen(RegExp); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js index a2afec3b8..120f9f023 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js @@ -8,6 +8,6 @@ description: > (RegExp.prototype) ---*/ - var b = Object.isFrozen(RegExp.prototype); +var b = Object.isFrozen(RegExp.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js index 3ed4a1a02..27540052d 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-19 description: Object.isFrozen returns false for all built-in objects (Error) ---*/ - var b = Object.isFrozen(Error); +var b = Object.isFrozen(Error); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js index 608346f73..d430fa061 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-2 description: Object.isFrozen returns false for all built-in objects (Object) ---*/ - var b = Object.isFrozen(Object); +var b = Object.isFrozen(Object); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js index 598f3d746..2390d1b45 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js @@ -8,6 +8,6 @@ description: > (Error.prototype) ---*/ - var b = Object.isFrozen(Error.prototype); +var b = Object.isFrozen(Error.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js index 3c04257c3..23ce9738d 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-21 description: Object.isFrozen returns false for all built-in objects (EvalError) ---*/ - var b = Object.isFrozen(EvalError); +var b = Object.isFrozen(EvalError); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js index b9ca47ad7..0872dd4ca 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-22 description: Object.isFrozen returns false for all built-in objects (RangeError) ---*/ - var b = Object.isFrozen(RangeError); +var b = Object.isFrozen(RangeError); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js index e04d9582e..0f97a743c 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js @@ -8,6 +8,6 @@ description: > (ReferenceError) ---*/ - var b = Object.isFrozen(ReferenceError); +var b = Object.isFrozen(ReferenceError); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js index dd468ba64..11f725e2c 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js @@ -8,6 +8,6 @@ description: > (SyntaxError) ---*/ - var b = Object.isFrozen(SyntaxError); +var b = Object.isFrozen(SyntaxError); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js index 2d222a0a6..be3e3f3bd 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-25 description: Object.isFrozen returns false for all built-in objects (TypeError) ---*/ - var b = Object.isFrozen(TypeError); +var b = Object.isFrozen(TypeError); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js index 657d66790..c93ac5547 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-26 description: Object.isFrozen returns false for all built-in objects (URIError) ---*/ - var b = Object.isFrozen(URIError); +var b = Object.isFrozen(URIError); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js index 05c395fce..5a03f01ed 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-27 description: Object.isFrozen returns false for all built-in objects (JSON) ---*/ - var b = Object.isFrozen(JSON); +var b = Object.isFrozen(JSON); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js index 8bebd4ece..9462b94cb 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js @@ -8,27 +8,28 @@ description: > not writable and not configurable, and 'O' is not extensible ---*/ - var obj = {}; +var obj = {}; - Object.defineProperty(obj, "foo1", { - value: 20, - writable: false, - enumerable: false, - configurable: false - }); +Object.defineProperty(obj, "foo1", { + value: 20, + writable: false, + enumerable: false, + configurable: false +}); - function get_func() { - return 10; - } - function set_func() { } +function get_func() { + return 10; +} - Object.defineProperty(obj, "foo2", { - get: get_func, - set: set_func, - configurable: false - }); +function set_func() {} - Object.preventExtensions(obj); +Object.defineProperty(obj, "foo2", { + get: get_func, + set: set_func, + configurable: false +}); + +Object.preventExtensions(obj); assert(Object.isFrozen(obj), 'Object.isFrozen(obj) !== true'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js index 8911f64dd..50901f10e 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js @@ -8,6 +8,6 @@ description: > (Object.prototype) ---*/ - var b = Object.isFrozen(Object.prototype); +var b = Object.isFrozen(Object.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js index 0c3cacdfe..2c677139e 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-4 description: Object.isFrozen returns false for all built-in objects (Function) ---*/ - var b = Object.isFrozen(Function); +var b = Object.isFrozen(Function); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js index a4c70fff9..4a0ea7303 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js @@ -8,6 +8,6 @@ description: > (Function.prototype) ---*/ - var b = Object.isFrozen(Function.prototype); +var b = Object.isFrozen(Function.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js index d3e9faa56..5f2e0531a 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-6 description: Object.isFrozen returns false for all built-in objects (Array) ---*/ - var b = Object.isFrozen(Array); +var b = Object.isFrozen(Array); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js index fce437065..de24a2caf 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js @@ -8,6 +8,6 @@ description: > (Array.prototype) ---*/ - var b = Object.isFrozen(Array.prototype); +var b = Object.isFrozen(Array.prototype); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js index caa6c4c38..2c79c441a 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js @@ -6,6 +6,6 @@ es5id: 15.2.3.12-3-8 description: Object.isFrozen returns false for all built-in objects (String) ---*/ - var b = Object.isFrozen(String); +var b = Object.isFrozen(String); assert.sameValue(b, false, 'b'); diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js index ad482d825..9d37dd788 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js @@ -8,6 +8,6 @@ description: > (String.prototype) ---*/ - var b = Object.isFrozen(String.prototype); +var b = Object.isFrozen(String.prototype); assert.sameValue(b, false, 'b'); |