Closed chrismgraham closed 2 years ago
Public class fields are only supported in Safari from 14.1.
The error in pyodide_worker.js
was due to WebAssembly.Global
only being supported in Safari from 13.1, which Pyodide documents in their section on supported browsers.
In programming.js at the start of the CodeRunner class
The public field declaration of
queue
seems to not be supported by Safari before v14.1.I had a blind stab, moving it inside the constructor on the next line
which gets past the error, but raises another on line 13 of pyodide_worker.js ("Unhandled Promise Rejection: TypeError: undefined is not a constructor").
I stopped there as I don't know what I'm doing and not clear if that error was a result of my previous fix!