Re: [heycam/webidl] non-readonly [FrozenArray] attributes are footguns as currently specced (#810)

>>  I understand the proposal here would change that to pass by copy.
>
>If we got rid of the FrozenArray type altogether, you mean? It would depend on what type got used instead. If we kept FrozenArray but just changes what ES-to-IDL conversion means for it, there would be no difference.

If we kept FrozenArray but changed its IDL-to-ES conversion as initially proposed, then it would be pass by copy for ECMAScript callbacks.  If the ES-to-IDL conversion is changed to produce a sequence, then the IDL-to-ES conversion will also need to change.

To be clear, I'm not advocating either way here, just watching for how this might impact direction in https://github.com/WebAudio/web-audio-api/issues/1933

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/810#issuecomment-538253395

Received on Friday, 4 October 2019 06:10:16 UTC