Skip to content

Commit 77fa9b7

Browse files
gibson042ptomato
andcommitted
fixup! [immutable-arraybuffer] Changes to existing ArrayBuffer.prototype properties
Co-authored-by: Philip Chimento <[email protected]>
1 parent ef3fa98 commit 77fa9b7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

test/built-ins/ArrayBuffer/prototype/resize/this-is-immutable-arraybuffer-object.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ features: [resizable-arraybuffer, immutable-arraybuffer]
1515
includes: [compareArray.js]
1616
---*/
1717

18-
assert.sameValue(typeof ArrayBuffer.prototype.resize, 'function',
19-
'Method must exist.');
20-
2118
var calls = [];
2219

2320
var ab = (new ArrayBuffer(4)).transferToImmutable();

test/built-ins/ArrayBuffer/prototype/slice/species-returns-immutable-arraybuffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ assert.throws(TypeError, function() {
4949
return 2;
5050
}
5151
};
52-
arrayBuffer.slice();
52+
arrayBuffer.slice(start, end);
5353
});
5454
assert.compareArray(calls, ["start.valueOf", "end.valueOf", "Symbol.species(1)"],
5555
"Must read arguments before SpeciesConstructor.");

0 commit comments

Comments
 (0)