Skip to content

Commit 92f7774

Browse files
committed
README: Refactor Q&A into a <dl>
1 parent 6ffe758 commit 92f7774

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

README.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,28 @@ Tracking issues to be added:
6868

6969
## Q&A
7070

71-
* Should `transferToImmutable` support a `newByteLength` argument?
72-
* 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?
73-
* 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.
74-
* Similarly,
75-
* How early or late in SetViewValue against an immutable ArrayBuffer should an exception be thrown? It currently inspects arguments *before* IsViewOutOfBounds.
76-
* Likewise for abstract operations such as ArrayBufferCopyAndDetach (which currently checks IsSharedArrayBuffer, then _newLength_, then IsDetachedBuffer).
77-
* And also for `Atomics` functions.
71+
<dl>
72+
<dt>
73+
74+
Should `transferToImmutable` support a `newByteLength` argument?
75+
76+
</dt>
77+
<dt>
78+
79+
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?
80+
81+
</dt>
82+
<dt>
83+
84+
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.
85+
86+
</dt>
87+
<dt>
88+
89+
Similarly,
90+
* How early or late in SetViewValue against an immutable ArrayBuffer should an exception be thrown? It currently inspects arguments *before* IsViewOutOfBounds.
91+
* Likewise for abstract operations such as ArrayBufferCopyAndDetach (which currently checks IsSharedArrayBuffer, then _newLength_, then IsDetachedBuffer).
92+
* And also for `Atomics` functions.
93+
94+
</dt>
95+
<dl>

0 commit comments

Comments
 (0)