As far as I remember from reading up on it, there is no in-HTML equivalent;
you are simply required to have control over the HTTP(S) server in order to
do threading.

Note that <meta http-equiv> is not a general-purpose header substitution
system, but a shortlist of several specific features that can be specified
which doesn't include arbitrary new HTTP headers:
https://html.spec.whatwg.org/multipage/semantics.html#pragma-directives

-- brion

On Fri, Aug 7, 2020 at 10:51 AM Floh <[email protected]> wrote:

> Btw, does anybody know if the same can be achieved without manipulating
> the web server? Maybe through some HTML head element? There are many
> hosting solution which don't allow changing the response headers (e.g.
> github pages), and even if the hosting solution isn't under external
> control, it's still not usually under control of the 'product team' (maybe
> a different department in the same company, maybe an external publishing
> partner, maybe a separate CDN provider in front of the web server).
>
> IMHO this will be such a PITA that I realldy don't know if it makes sense
> depending on WASM features which require specific response headers to work.
>
>
> On Friday, 7 August 2020 18:45:51 UTC+2, Alon Zakai wrote:
>>
>> What is the error?
>>
>> If it's COOP/COEP-related, then you need to set up your webserver
>> properly,
>>
>> https://web.dev/coop-coep/
>>
>> Here is how the test suite does it:
>>
>>
>> https://github.com/emscripten-core/emscripten/blob/a85b3038738e8f027cf4acad6e272e8c3321ce3f/tests/runner.py#L1370
>>
>> On Fri, Aug 7, 2020 at 9:36 AM Larry Kosher <[email protected]> wrote:
>>
>>> Hello.
>>> It seems that the support has been reenabled in Firefox for
>>> SharedArrayBuffer:
>>> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBufferHowever
>>> my project still throws an error when I try to run it in the latest Mozilla
>>> browser. Is there a workaround?
>>> Best regards,
>>> Larry
>>> --
>>> Hiisi.
>>> Registered Linux User #487982. Be counted at: https://linuxcounter.net/
>>> --
>>> Spandex is a privilege, not a right.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "emscripten-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/emscripten-discuss/CAPZcXwZK0O9tW%2BWaPOLThXWReCD8NgOnRGMxSpUKT-f6mxUWBw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/emscripten-discuss/CAPZcXwZK0O9tW%2BWaPOLThXWReCD8NgOnRGMxSpUKT-f6mxUWBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/941ab635-4a5e-4088-94f1-d5d88b8de93bo%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/941ab635-4a5e-4088-94f1-d5d88b8de93bo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAFnWYTmh5_y3fK6wsNViiQZqh8C2uc%3DJLZc5bYrmsPQm7f9Y%2Bw%40mail.gmail.com.

Reply via email to