diff --git a/lib/internal/webstreams/util.js b/lib/internal/webstreams/util.js index 0e260d074c73c2..fdaa88ef4b1937 100644 --- a/lib/internal/webstreams/util.js +++ b/lib/internal/webstreams/util.js @@ -142,6 +142,8 @@ function transferArrayBuffer(buffer) { function isDetachedBuffer(buffer) { if (ArrayBufferGetByteLength(buffer) === 0) { // TODO(daeyeon): Consider using C++ builtin to improve performance. + // Replace this when current v8 is updated to include the following commit: + // https://chromium.googlesource.com/v8/v8/+/9df5ef70ff18977b157028fc55ced5af4bcee535 try { new Uint8Array(buffer); } catch (error) {