diff options
Diffstat (limited to 'test/built-ins/Proxy/isExtensible')
7 files changed, 25 insertions, 25 deletions
diff --git a/test/built-ins/Proxy/isExtensible/call-parameters.js b/test/built-ins/Proxy/isExtensible/call-parameters.js index 3327adc8c..b43ea5619 100644 --- a/test/built-ins/Proxy/isExtensible/call-parameters.js +++ b/test/built-ins/Proxy/isExtensible/call-parameters.js @@ -17,11 +17,11 @@ info: | var _target, _handler; var target = {}; var handler = { - isExtensible: function(t) { - _handler = this; - _target = t; - return Object.isExtensible(t); - } + isExtensible: function(t) { + _handler = this; + _target = t; + return Object.isExtensible(t); + } } var p = new Proxy(target, handler); diff --git a/test/built-ins/Proxy/isExtensible/null-handler.js b/test/built-ins/Proxy/isExtensible/null-handler.js index 0ff2c1b37..d8d14bf7c 100644 --- a/test/built-ins/Proxy/isExtensible/null-handler.js +++ b/test/built-ins/Proxy/isExtensible/null-handler.js @@ -11,5 +11,5 @@ var p = Proxy.revocable({}, {}); p.revoke(); assert.throws(TypeError, function() { - Object.isExtensible(p.proxy); + Object.isExtensible(p.proxy); }); diff --git a/test/built-ins/Proxy/isExtensible/return-is-abrupt.js b/test/built-ins/Proxy/isExtensible/return-is-abrupt.js index ae7591d53..aacd87bd0 100644 --- a/test/built-ins/Proxy/isExtensible/return-is-abrupt.js +++ b/test/built-ins/Proxy/isExtensible/return-is-abrupt.js @@ -14,11 +14,11 @@ info: | ---*/ var p = new Proxy({}, { - isExtensible: function(t) { - throw new Test262Error(); - } + isExtensible: function(t) { + throw new Test262Error(); + } }); assert.throws(Test262Error, function() { - Object.isExtensible(p); + Object.isExtensible(p); }); diff --git a/test/built-ins/Proxy/isExtensible/return-is-boolean.js b/test/built-ins/Proxy/isExtensible/return-is-boolean.js index 5c8bf4e3f..29d54369e 100644 --- a/test/built-ins/Proxy/isExtensible/return-is-boolean.js +++ b/test/built-ins/Proxy/isExtensible/return-is-boolean.js @@ -8,13 +8,13 @@ description: > var target = {}; var p = new Proxy(target, { - isExtensible: function(t) { - if (Object.isExtensible(t)) { - return 1; - } else { - return 0; + isExtensible: function(t) { + if ( Object.isExtensible(t) ) { + return 1; + } else { + return 0; + } } - } }); assert.sameValue(Object.isExtensible(p), true); diff --git a/test/built-ins/Proxy/isExtensible/return-is-different-from-target.js b/test/built-ins/Proxy/isExtensible/return-is-different-from-target.js index 50a76377d..d40f45293 100644 --- a/test/built-ins/Proxy/isExtensible/return-is-different-from-target.js +++ b/test/built-ins/Proxy/isExtensible/return-is-different-from-target.js @@ -15,11 +15,11 @@ info: | ---*/ var p = new Proxy({}, { - isExtensible: function(t) { - return false; - } + isExtensible: function(t) { + return false; + } }); assert.throws(TypeError, function() { - Object.isExtensible(p); + Object.isExtensible(p); }); diff --git a/test/built-ins/Proxy/isExtensible/return-same-result-from-target.js b/test/built-ins/Proxy/isExtensible/return-same-result-from-target.js index 0c8406f46..4858765c3 100644 --- a/test/built-ins/Proxy/isExtensible/return-same-result-from-target.js +++ b/test/built-ins/Proxy/isExtensible/return-same-result-from-target.js @@ -8,9 +8,9 @@ description: > var target = {}; var p = new Proxy(target, { - isExtensible: function(t) { - return Object.isExtensible(t); - } + isExtensible: function(t) { + return Object.isExtensible(t); + } }); assert.sameValue(Object.isExtensible(p), true); diff --git a/test/built-ins/Proxy/isExtensible/trap-is-not-callable.js b/test/built-ins/Proxy/isExtensible/trap-is-not-callable.js index 7db8f4cf6..845cd0b57 100644 --- a/test/built-ins/Proxy/isExtensible/trap-is-not-callable.js +++ b/test/built-ins/Proxy/isExtensible/trap-is-not-callable.js @@ -22,9 +22,9 @@ info: | var target = {}; var p = new Proxy(target, { - isExtensible: {} + isExtensible: {} }); assert.throws(TypeError, function() { - Object.isExtensible(p); + Object.isExtensible(p); }); |