It seems that we currently don't throw in places that are not supposed to take shared memory: https://wpt.fyi/results/xhr/send-data-sharedarraybuffer.any.html.
<rdar://problem/107786134>
Per https://github.com/WebKit/WebKit/commit/02a7ddd1949f734535c90d93a6d10eea06afcdce#diff-93b28dd1c69f1ae018f811d9fa195b7ccff18e02ffca56c1864ba79ebbe56b30 we have at least some support for [AllowShared], so why does the IDL layer not end up throwing here? Yusuke, do you know?
(In reply to Anne van Kesteren from comment #2) > Per > https://github.com/WebKit/WebKit/commit/ > 02a7ddd1949f734535c90d93a6d10eea06afcdce#diff- > 93b28dd1c69f1ae018f811d9fa195b7ccff18e02ffca56c1864ba79ebbe56b30 we have at > least some support for [AllowShared], so why does the IDL layer not end up > throwing here? > > Yusuke, do you know? I have no idea, probably XHR is not using AllowShared.
(In reply to Yusuke Suzuki from comment #3) > (In reply to Anne van Kesteren from comment #2) > > Per > > https://github.com/WebKit/WebKit/commit/ > > 02a7ddd1949f734535c90d93a6d10eea06afcdce#diff- > > 93b28dd1c69f1ae018f811d9fa195b7ccff18e02ffca56c1864ba79ebbe56b30 we have at > > least some support for [AllowShared], so why does the IDL layer not end up > > throwing here? > > > > Yusuke, do you know? > > I have no idea, probably XHR is not using AllowShared. It is probably largely depending on how XHR is implementing send function, I guess.