From f4a9af658709545358bb8564634b6ee1339a48b7 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 28 Sep 2020 10:45:23 -0400 Subject: [PATCH] Fix: $262.detachArrayBuffer -> $DETACHBUFFER --- test/built-ins/DataView/custom-proto-access-detaches-buffer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/built-ins/DataView/custom-proto-access-detaches-buffer.js b/test/built-ins/DataView/custom-proto-access-detaches-buffer.js index d1fa8f5bad..49c7feb1e1 100644 --- a/test/built-ins/DataView/custom-proto-access-detaches-buffer.js +++ b/test/built-ins/DataView/custom-proto-access-detaches-buffer.js @@ -13,6 +13,7 @@ info: | that may detach the `ArrayBuffer` intended to underlie the fresh instance. Verify that a final is-detached check is performed before the new instance is returned. +includes: [detachArrayBuffer.js] features: [Reflect.construct] ---*/ @@ -24,7 +25,7 @@ var byteOffset = { valueOf() { called = true; return 0; } }; var newTarget = function() {}.bind(null); Object.defineProperty(newTarget, "prototype", { get() { - $262.detachArrayBuffer(buffer); + $DETACHBUFFER(buffer); return DataView.prototype; } });