mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
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}
|
props[name] = {value:11, configurable:true}
|
||||||
});
|
});
|
||||||
|
|
||||||
Object.defineProperty(props, "prop", {
|
Object.defineProperty(props, "prop15_2_3_5_4_14", {
|
||||||
get: function () {
|
get: function () {
|
||||||
result = this instanceof Error;
|
result = this instanceof Error;
|
||||||
return {};
|
return {};
|
||||||
@ -43,7 +43,7 @@ ES5Harness.registerTest({
|
|||||||
enumerable: true
|
enumerable: true
|
||||||
});
|
});
|
||||||
var newObj = Object.create({}, props);
|
var newObj = Object.create({}, props);
|
||||||
return result && newObj.hasOwnProperty("prop");
|
return result && newObj.hasOwnProperty("prop15_2_3_5_4_14");
|
||||||
},
|
},
|
||||||
|
|
||||||
precondition: function prereq() {
|
precondition: function prereq() {
|
||||||
|
@ -33,12 +33,12 @@ ES5Harness.registerTest({
|
|||||||
props[name] = {value:11, configurable:true}
|
props[name] = {value:11, configurable:true}
|
||||||
});
|
});
|
||||||
|
|
||||||
props.prop = {
|
props.prop15_2_3_5_4_37 = {
|
||||||
value: 12,
|
value: 12,
|
||||||
enumerable: true
|
enumerable: true
|
||||||
};
|
};
|
||||||
var newObj = Object.create({}, props);
|
var newObj = Object.create({}, props);
|
||||||
return newObj.hasOwnProperty("prop");
|
return newObj.hasOwnProperty("prop15_2_3_5_4_37");
|
||||||
},
|
},
|
||||||
|
|
||||||
precondition: function prereq() {
|
precondition: function prereq() {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user