We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b0f1b commit 7995725Copy full SHA for 7995725
1 file changed
lib/internal/webidl.js
@@ -882,7 +882,9 @@ converters.BufferSource = (V, options = kEmptyObject) => {
882
}
883
884
// ArrayBuffer conversion step 3: validate [AllowResizable].
885
- validateBufferSourceBacking(V, options);
+ // isArrayBuffer(V) already excluded SharedArrayBuffer, so no [AllowShared]
886
+ // validation is needed on this branch.
887
+ validateAllowResizableArrayBuffer(V, options);
888
889
// Step 4: return a reference to the same ArrayBuffer.
890
return V;
0 commit comments