summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js36
1 files changed, 18 insertions, 18 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js
index 151852c14..a00a24558 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-283.js
@@ -16,35 +16,35 @@ includes: [propertyHelper.js]
var arg;
(function fun(a, b, c) {
- arg = arguments;
+ arg = arguments;
}(0, 1, 2));
Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
});
try {
- Object.defineProperties(arg, {
- "0": {
- writable: true
- }
- });
+ Object.defineProperties(arg, {
+ "0": {
+ writable: true
+ }
+ });
- $ERROR("Expected an exception.");
+ $ERROR("Expected an exception.");
} catch (e) {
- verifyEqualTo(arg, "0", 0);
+ verifyEqualTo(arg, "0", 0);
- verifyNotWritable(arg, "0");
+ verifyNotWritable(arg, "0");
- verifyNotEnumerable(arg, "0");
+ verifyNotEnumerable(arg, "0");
- verifyNotConfigurable(arg, "0");
+ verifyNotConfigurable(arg, "0");
- if (!(e instanceof TypeError)) {
- $ERROR("Expected TypeError, got " + e);
- }
+ if (!(e instanceof TypeError)) {
+ $ERROR("Expected TypeError, got " + e);
+ }
}