Re: [whatwg/webidl] Give SharedArrayBuffer a dedicated type (PR #1311)

@domenic approved this pull request.



> @@ -8621,7 +8694,7 @@ a reference to the same object that the IDL value represents.
 
 <div algorithm>
     To <dfn id="dfn-get-buffer-source-copy" export lt="get a copy of the buffer source|get a copy of the bytes held by the buffer source">get a copy of the bytes held by the buffer source</dfn>
-    given a {{BufferSource}} |bufferSource|:
+    given a [=buffer source type=] |bufferSource|:

```suggestion
    given a [=buffer source type=] instance |bufferSource|:
```

> +        <td><dfn id="idl-BigInt64Array" interface>BigInt64Array</dfn>
+    <tr>
+        <td><dfn id="idl-Uint8Array" interface>Uint8Array</dfn>
+        <td rowspan=4>A view on to a [=buffer type=] instance that exposes it as an array of unsigned integers of the given size in bits
+    <tr>
+        <td><dfn id="idl-Uint16Array" interface>Uint16Array</dfn>
+    <tr>
+        <td><dfn id="idl-Uint32Array" interface>Uint32Array</dfn>
+    <tr>
+        <td><dfn id="idl-BigUint64Array" interface>BigUint64Array</dfn>
+    <tr>
+        <td><dfn id="idl-Uint8ClampedArray" interface>Uint8ClampedArray</dfn>
+        <td>A view on to a [=buffer type=] instance that exposes it as an array of unsigned 8-bit integers with clamped conversions
+    <tr>
+        <td><dfn id="idl-Float32Array" interface>Float32Array</dfn>
+        <td rowspan=2>A view on to a [=buffer type=] that exposes it as an array of IEEE 754 floating point numbers of the given size in bits

```suggestion
        <td rowspan=2>A view on to a [=buffer type=] instance that exposes it as an array of IEEE 754 floating point numbers of the given size in bits
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1311#pullrequestreview-1461780419
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1311/review/1461780419@github.com>

Received on Monday, 5 June 2023 06:18:44 UTC