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

@annevk commented on this pull request.



> @@ -8718,6 +8772,8 @@ a reference to the same object that the IDL value represents.
     1.  Let |esArrayBuffer| be the result of [=converted to an ECMAScript value|converting=]
         |arrayBuffer| to an ECMAScript value.
     1.  Assert: [$IsSharedArrayBuffer$](|esArrayBuffer|) is false.
+        <!-- We'll keep this in for now as we're generally bad at distinguishing IDL and JS
+             objects. -->

In the new world you'd get a type mismatch at the algorithm header which makes this rather redundant.

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

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

Received on Thursday, 1 June 2023 12:29:28 UTC