mirror of https://github.com/tc39/test262.git
More improvements regarding https://bugs.ecmascript.org/show_bug.cgi?id=33
This commit is contained in:
parent
f9ec77866a
commit
7732e3578e
|
@ -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() {
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue