-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SharedArray and Atomics examples don't work! #15169
Comments
@kevmoo Which browser and what version are you using? Edit: Yeah, it doesn't work in Chrome either. |
I'd suggest looking through all related examples – they are likely all broken. |
Yes, this requires the server to set:
I have raised mdn/interactive-examples#2105 to see if this can be done by the interactive examples. In the meantime the SharedArrayBuffer docs need to be updated to better highlight this issue. Specifically, I THINK we should:
|
If it's consistent across multiple browser engines, or is required by the spec, then yeah, I'd say a BCD subfeature is the way to go! |
This seems to be an issue anywhere but in content. Where should we track this? BCD? interactive-examples? Yari? |
@Josh-Cena I don't understand what you mean by the above statement I missed the response from @queengooborg . I believe we need to check the spec and see if this security requirement is defined. If not, work out where it comes from and go from there. |
The requirement is defined. It's also present in our content. (See also #3489) The only problem here is that our interactive example infra does not serve it with the correct header, which seems more like an infrastructure issue than a content issue. If we want to track the documentation support for COOP and COEP (including both removal of the notion of "planned changes" and incorporation of BCD), we can do that in #3489. |
@Josh-Cena Thanks. So yes, this specific bug is an infrastructure issue, which will be fixed (hopefully) by mdn/interactive-examples#2105 Yes, #3489 is a more logical place to track BCD and doc fixes. |
OK, let's track it separately in mdn/interactive-examples#2105 and #3489 instead. |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/and
What specific section or headline is this issue about?
Try it
What information was incorrect, unhelpful, or incomplete?
Example fails because
SharedArrayBuffer
is not availableWhat did you expect to see?
Demo should work!
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
https://developer.mozilla.org/en-US/docs/Web/API/crossOriginIsolated is
false
Should either update the hosting story or delete the example 🤷
MDN metadata
Page report details
en-us/web/javascript/reference/global_objects/atomics/and
The text was updated successfully, but these errors were encountered: