5

Brief Summary
It seems that Orion doesn't support the WebContainers runtime: https://webcontainers.io

Details:
When trying to use tools like https://stackblitz.com that require WebContainers support to show live previews of web apps, this error shows up:

(I also tried with compatibility mode on to no avail)

Here are their docs on the subject: https://developer.stackblitz.com/platform/webcontainers/browser-support

  • Vlad replied to this.

    Vlad On Safari 16.4 it initially looks like it's working, but is stuck on loading dependencies:

    The docs I linked say:

    We have beta support for Safari on macOS, starting with Safari 16.4. Please try it and report issues here.

    Safari does not fully support the required mode for cross-origin isolation, so you might encounter limitations when running a server in a preview frame within the StackBlitz editor. Third-party assets might get blocked due to the limitations of cross-origin isolation policies. However, you can work around this by opening your server preview in a separate window.

    Because Safari and Node.js use different JavaScript engines (JavaScriptCore and V8, respectively), there is a small risk of running into JS engine differences.

    Older Safari versions are not suported. They lack a few necessary Web Platform features, such as Atomics.waitAsync and lookbehind in regular expressions, which cannot be polyfilled.

    I don't know how much Safari differs from Orion other than using the same WebKit, so I'm not sure if this support will need to come to WebKit first.

    • Vlad replied to this.

      Nezteb Yeah that is what I suspected, I would suggest opening an issue on webkit.org first and see what they say about it.

        Brief Summary
        Bump webkit version used in Orion

        Details:
        Safari 16.4 introduces an enermous number of updates (relative to usual safari updates), one of the update is support for WebContainer. WebContainer is used by websites like StackBlitz, which make those website not that useful without WebContainer. This suggestion is submitted to the Desktop section but I believe this also applies to the Mobile section since Safari 16.4 bring some features like Web Push for iOS and iPadOS but I cannot check since I don't have an iPhone nor an iPad.

        Image/Video:
        None given

          Merged 1 post from Bump WebKit version.
            No one is typing