This commit is contained in:
David Fugate 2011-05-25 14:11:05 -07:00
parent f9ec77866a
commit 7732e3578e
3 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ ES5Harness.registerTest({
props[name] = {value:11, configurable:true}
});
Object.defineProperty(props, "prop", {
Object.defineProperty(props, "prop15_2_3_5_4_14", {
get: function () {
result = this instanceof Error;
return {};
@ -43,7 +43,7 @@ ES5Harness.registerTest({
enumerable: true
});
var newObj = Object.create({}, props);
return result && newObj.hasOwnProperty("prop");
return result && newObj.hasOwnProperty("prop15_2_3_5_4_14");
},
precondition: function prereq() {

View File

@ -33,12 +33,12 @@ ES5Harness.registerTest({
props[name] = {value:11, configurable:true}
});
props.prop = {
props.prop15_2_3_5_4_37 = {
value: 12,
enumerable: true
};
var newObj = Object.create({}, props);
return newObj.hasOwnProperty("prop");
return newObj.hasOwnProperty("prop15_2_3_5_4_37");
},
precondition: function prereq() {

File diff suppressed because one or more lines are too long