diff options
Diffstat (limited to 'test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-targetdesc-is-not-configurable.js')
-rw-r--r-- | test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-targetdesc-is-not-configurable.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-targetdesc-is-not-configurable.js b/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-targetdesc-is-not-configurable.js index 1bc732006..6d62c28bf 100644 --- a/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-targetdesc-is-not-configurable.js +++ b/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-targetdesc-is-not-configurable.js @@ -17,17 +17,17 @@ info: | var target = {}; Object.defineProperty(target, "foo", { - configurable: false, - enumerable: false, - value: 1 + configurable: false, + enumerable: false, + value: 1 }); var p = new Proxy(target, { - getOwnPropertyDescriptor: function(t, prop) { - return; - } + getOwnPropertyDescriptor: function(t, prop) { + return; + } }); assert.throws(TypeError, function() { - Object.getOwnPropertyDescriptor(p, "foo"); + Object.getOwnPropertyDescriptor(p, "foo"); }); |