1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
7 Object.defineProperties - 'O' is a Date object which implements
8 its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
9 includes: [propertyHelper.js]
15 Object.defineProperty(obj, "prop", {
21 Object.defineProperties(obj, {
27 throw new Test262Error("Expected an exception.");
29 verifyEqualTo(obj, "prop", 11);
31 verifyNotWritable(obj, "prop");
33 verifyNotEnumerable(obj, "prop");
35 verifyNotConfigurable(obj, "prop");
37 if (!(e instanceof TypeError)) {
38 throw new Test262Error("Expected TypeError, got " + e);