- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 12 Dec 2019 10:20:08 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 12 December 2019 18:20:10 UTC
> In particular, do we want to have [AllowShared] on things like the arg to XHR send()? I don't think we do? Instead you should annotate the buffer-source types specifically, i.e. it should change to ```webidl typedef (Blob or [AllowShared] BufferSource or FormData or URLSearchParams or ReadableStream or USVString) BodyInit; ``` > If we wanted to also allow `[AllowShared] (ArrayBuffer or DOMString)` we could fix union propagation to only propagate if the extended attr applies to the inner type, right? I don't really see a reason to forbid it... I think we should forbid it because it's significantly less clear than `([AllowShared] ArrayBuffer or DOMString)` -- 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/827#issuecomment-565124321
Received on Thursday, 12 December 2019 18:20:10 UTC