Skip to content

Commit ee79949

Browse files
committed
issues for open questions
1 parent 3807de2 commit ee79949

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ No, TypedArray index properties should continue to track the state of the underl
133133

134134
<dt>
135135

136-
Should `transferToImmutable` support a _newByteLength_ argument?
136+
Should `transferToImmutable` support a `newByteLength` argument?
137137
</dt>
138138
<dd>
139-
It might be useful for truncation, but probably rarely for expansion because the output would have an all-zeroes suffix that could not be changed.
139+
https://github.com/tc39/proposal-immutable-arraybuffer/issues/15
140140
</dd>
141141

142142

@@ -148,26 +148,20 @@ Should ArrayBuffers support zero-copy slices (e.g., `arrayBuffer.sliceToImmutabl
148148
https://github.com/tc39/proposal-immutable-arraybuffer/issues/9
149149
</dd>
150150

151-
152-
<dt>
153-
Should trying to write data in an immutable ArrayBuffer via a TypedArray element set throw, even though trying to write out-of-bounds or to a detached ArrayBuffer does not?
154-
</dt>
155-
156-
157151
<dt>
158152

159-
Should TypedArray write methods (`copyWithin`, `fill`, `reverse`, `set`, etc.) throw when their backing ArrayBuffer is immutable but the targeted range is zero-length? If so, how early or late in the algorithm? The methods currently inspect arguments after ValidateTypedArray.
153+
Should the new getter be name `immutable` or `mutable`?
160154
</dt>
161-
155+
<dd>
156+
https://github.com/tc39/proposal-immutable-arraybuffer/issues/10
157+
</dd>
162158

163159
<dt>
164160

165-
Similarly,
166-
* How early or late in SetViewValue against an immutable ArrayBuffer should an exception be thrown? It currently inspects arguments *before* IsViewOutOfBounds.
167-
* Likewise for abstract operations such as ArrayBufferCopyAndDetach (which currently checks IsSharedArrayBuffer, then _newLength_, then IsDetachedBuffer).
168-
* And also for `Atomics` functions.
169-
161+
Order of operations, when to throw or silently do nothing?
170162
</dt>
171-
163+
<dd>
164+
https://github.com/tc39/proposal-immutable-arraybuffer/issues/16
165+
</dd>
172166

173167
<dl>
Binary file not shown.

0 commit comments

Comments
 (0)