Remove invalid test from ArrayBuffer subclassing

Fixes gh-696

As pointed in gh-696, the ArrayBuffer ctor won't throw a RangeError when
invoked without arguments.

Instead of fixing the invalid assertion, this commit removes it as the
coverage for subclassing is already satisfied by the use of slice.
This commit is contained in:
Leonardo Balter 2016-06-27 15:40:37 -04:00 committed by Mike Pennisi
parent a78cf3de4a
commit c204c30a54
1 changed files with 0 additions and 5 deletions

View File

@ -24,8 +24,3 @@ var sliced = ab.slice(0, 1);
assert(sliced instanceof AB);
assert(sliced instanceof ArrayBuffer);
assert.notSameValue(ab, sliced);
assert.throws(RangeError, function() {
new AB();
});