mirror of https://github.com/tc39/test262.git
Merge pull request #263 from smikes/pr255-fix
add line note fixes from #255
This commit is contained in:
commit
d7ed24653c
|
@ -24,4 +24,4 @@ assert(arrObj[0] !== arrObj[0]);
|
|||
|
||||
verifyNotWritable(arrObj, "0");
|
||||
verifyNotEnumerable(arrObj, "0");
|
||||
verifyNotWritable(arrObj, "0");
|
||||
verifyNotConfigurable(arrObj, "0");
|
||||
|
|
|
@ -41,6 +41,6 @@ try {
|
|||
|
||||
verifyNotWritable(arrObj, "1");
|
||||
|
||||
verifyNotWritable(arrObj, "1");
|
||||
verifyNotConfigurable(arrObj, "1");
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ assert(obj.hasOwnProperty("prop"));
|
|||
var desc = Object.getOwnPropertyDescriptor(obj, "prop");
|
||||
|
||||
verifyNotWritable(obj, "prop");
|
||||
verifyNotConfigurable(obj, "prop");
|
||||
|
||||
assert.sameValue(desc.configurable, false);
|
||||
|
||||
|
|
|
@ -38,5 +38,6 @@ assert.sameValue(desc1.configurable, true);
|
|||
assert.sameValue(desc2.configurable, false);
|
||||
|
||||
verifyNotWritable(obj, "prop");
|
||||
verifyNotConfigurable(obj, "prop");
|
||||
|
||||
assert(obj.hasOwnProperty("prop"));
|
||||
|
|
Loading…
Reference in New Issue