Stream: jsCoq

Topic: Cross-origin isolation for SharedArrayBuffer


view this post on Zulip Shachar Itzhaky (Mar 20 2021 at 19:52):

This is what's going to happen in May 2021: https://developer.chrome.com/blog/enabling-shared-array-buffer/
TL;DR: SharedArrayBuffer will be disabled in web pages, unless served with some two specific HTTP headers.

GitHub pages does not provide control over the HTTP headers that they serve your pages with. I tried to do the same with a <meta http-equiv> tag, but it had no effect. Perhaps this is a bug in Chrome and will be fixed before the release that breaks things; but if it isn't, we are going to lose the interrupt feature. Perhaps we should consider a different hosting platform.

view this post on Zulip Shachar Itzhaky (May 01 2021 at 11:23):

I have been experimenting with Vercel and it seems easy enough to work with. The domain is a bit wonky though: https://coq.vercel.app

view this post on Zulip Emilio Jesús Gallego Arias (May 01 2021 at 12:35):

Interesting! I have not a lot of experience on hosting; maybe we could also check if there is an issue for github to enable the headers?

view this post on Zulip Shachar Itzhaky (May 01 2021 at 13:49):

I found a SO question a while ago with an answer claiming that it is not possible. But this may have changed, I have no idea how to ask for features in GitHub.

view this post on Zulip Emilio Jesús Gallego Arias (May 01 2021 at 13:53):

I guess two main entry points are:

view this post on Zulip Emilio Jesús Gallego Arias (May 01 2021 at 13:53):

view this post on Zulip Emilio Jesús Gallego Arias (May 01 2021 at 13:53):

view this post on Zulip Shachar Itzhaky (May 01 2021 at 14:04):

Made ticket https://support.github.com/ticket/personal/0/1131789, not keeping my hopes high though.

view this post on Zulip Emilio Jesús Gallego Arias (May 01 2021 at 14:06):

I think @Théo Zimmermann is the person around here with the most experience dealing with GH support, but I don't recall them having a bad experience

view this post on Zulip Théo Zimmermann (May 01 2021 at 14:34):

Yeah, they are usually pretty responsive, but do not always implement the requested changes and generally do not provide any timeline to do so.

view this post on Zulip Shachar Itzhaky (May 01 2021 at 15:22):

Ok they did answer! They say they have "bumped it near the top" of their priority list. Welp.


Last updated: Jan 31 2023 at 11:01 UTC