Skip to content

Commit

Permalink
Normative: Correct same-sharedarraybuffer test in SharedArrayBuffer.p…
Browse files Browse the repository at this point in the history
…rototype.slice
  • Loading branch information
anba authored and bterlson committed Feb 14, 2017
1 parent 504fff4 commit 4106a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -34150,7 +34150,7 @@ <h1>SharedArrayBuffer.prototype.slice( _start_, _end_ )</h1>
1. Let _ctor_ be ? SpeciesConstructor(_O_, %SharedArrayBuffer%).
1. Let _new_ be ? Construct(_ctor_, &laquo; _newLen_ &raquo;).
1. If _new_ does not have an [[ArrayBufferData]] internal slot, throw a *TypeError* exception.
1. If SameValue(_new_, _O_) is *true*, throw a *TypeError* exception.
1. If _new_.[[ArrayBufferData]] and _O_.[[ArrayBufferData]] are the same Shared Data Block values, throw a *TypeError* exception.
1. If _new_.[[ArrayBufferByteLength]] &lt; _newLen_, throw a *TypeError* exception.
1. Let _fromBuf_ be _O_.[[ArrayBufferData]].
1. Let _toBuf_ be _new_.[[ArrayBufferData]].
Expand Down

0 comments on commit 4106a43

Please sign in to comment.