Index: src/js/arraybuffer.js |
diff --git a/src/js/arraybuffer.js b/src/js/arraybuffer.js |
index b602dcbf259f8d6625f80f66a551c6db3891a4f2..2e7d77e0a37a0acde123cf3d2a40456133421ccf 100644 |
--- a/src/js/arraybuffer.js |
+++ b/src/js/arraybuffer.js |
@@ -27,14 +27,6 @@ utils.Import(function(from) { |
// ------------------------------------------------------------------- |
-function ArrayBufferGetByteLen() { |
- if (!IS_ARRAYBUFFER(this)) { |
- throw MakeTypeError(kIncompatibleMethodReceiver, |
- 'ArrayBuffer.prototype.byteLength', this); |
- } |
- return %_ArrayBufferGetByteLength(this); |
-} |
- |
// ES6 Draft 15.13.5.5.3 |
function ArrayBufferSlice(start, end) { |
if (!IS_ARRAYBUFFER(this)) { |
@@ -92,9 +84,6 @@ function ArrayBufferSpecies() { |
utils.InstallGetter(GlobalArrayBuffer, speciesSymbol, ArrayBufferSpecies); |
-utils.InstallGetter(GlobalArrayBuffer.prototype, "byteLength", |
- ArrayBufferGetByteLen); |
- |
utils.InstallFunctions(GlobalArrayBuffer.prototype, DONT_ENUM, [ |
"slice", ArrayBufferSlice |
]); |