[Webkit-unassigned] [Bug 279949] New: Safari WASM tail calls/garbage collection still somewhat broken in iOS 18/macOS Sequoia

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 18 19:26:27 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279949

            Bug ID: 279949
           Summary: Safari WASM tail calls/garbage collection still
                    somewhat broken in iOS 18/macOS Sequoia
           Product: WebKit
           Version: Safari 18
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tony.hursh at gmail.com

Guile Hoot is an implementation of Guile (Scheme) in WASM. Until recently, it hasn't worked in Safari because tail calls and garbage collection weren't available.

This appears to be fixed in Safari Technology Preview Release 203 (Safari 18.0, WebKit 20620.1.6) but is still broken with regular Safari in the new macOS 15 and iOS 18.

Steps to reproduce:

Visit:

https://spritely.institute/news/hoot-wireworld-live-in-browser.html

and:

https://spritely.institute/news/building-interactive-web-pages-with-guile-hoot.html

with different Safari versions.


Results:


Technology Preview 203: both work.


Desktop Safari Version 18.0 (20619.1.26.31.6):

https://spritely.institute/news/hoot-wireworld-live-in-browser.html works. There is a warning about about a CORS problem, but I think that is unrelated.

https://spritely.institute/news/building-interactive-web-pages-with-guile-hoot.html fails with "Unhandled Promise Rejection: CompileError: WebAssembly.Module doesn't parse at byte 12: 0th type failed to parse because array types are not enabled"


Mobile Safari 5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1:

Both fail with "Unhandled Promise Rejection: CompileError: WebAssembly.Module doesn't parse at byte 12: 0th type failed to parse because array types are not enabled"

I suspect that this is due to the latest STP 203 enhancements not making the cutoff for the release of iOS 18/macOS Sequoia, but just wanted to get it on record.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240919/f310d095/attachment.htm>


More information about the webkit-unassigned mailing list