Merge pull request #263 from smikes/pr255-fix

add line note fixes from #255
This commit is contained in:
Brian Terlson 2015-05-07 12:59:37 -07:00
commit d7ed24653c
4 changed files with 4 additions and 2 deletions

View File

@ -24,4 +24,4 @@ assert(arrObj[0] !== arrObj[0]);
verifyNotWritable(arrObj, "0");
verifyNotEnumerable(arrObj, "0");
verifyNotWritable(arrObj, "0");
verifyNotConfigurable(arrObj, "0");

View File

@ -41,6 +41,6 @@ try {
verifyNotWritable(arrObj, "1");
verifyNotWritable(arrObj, "1");
verifyNotConfigurable(arrObj, "1");
}

View File

@ -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);

View File

@ -38,5 +38,6 @@ assert.sameValue(desc1.configurable, true);
assert.sameValue(desc2.configurable, false);
verifyNotWritable(obj, "prop");
verifyNotConfigurable(obj, "prop");
assert(obj.hasOwnProperty("prop"));