Skip to content

Commit d3b1cdf

Browse files
authored
Normative: Reject SharedArrayBuffer receiver in ArrayBuffer.prototype.immutable getter (#51)
Fixes #49
1 parent d441194 commit d3b1cdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec.emu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ contributors: Mark S. Miller, Richard Gibson
830830
<emu-alg>
831831
1. Let _O_ be the *this* value.
832832
1. Perform ? RequireInternalSlot(_O_, [[ArrayBufferData]]).
833+
1. If IsSharedArrayBuffer(_O_) is *true*, throw a *TypeError* exception.
833834
1. Return IsImmutableBuffer(_O_).
834835
</emu-alg>
835836
</emu-clause>

0 commit comments

Comments
 (0)