Failure to load in Safari 14 since 10.5.0-alpha.1 and a solution #5523
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
The following JS features seem not to be supported in Safari 14 (or other older browsers)
(My iphoneX is carrying Safari 14.)
Steps to reproduce
Screenshots
1. With polyfills for both
structuredClone
andObject.hasOwn
:(Seems perfect except the ZenUML which is not yet supported)
2. With polyfills for only
structuredClone
:(Diagrams not rendering)
3. Without any polyfills:
(Fatal error:
Reference Error: Can't find variable: structuredClone
)Code Sample
No response
Setup
Suggested Solutions
Suggested solutions:
structuredClone
JSON.parse(JSON.stringify(x))
Object.hasOwn
Below is my personal polyfill which seems to work (with at-least both of block and sequence diagrams).
Additional Context
I'm also happy to provide a PR, but it may cost some time... as I'm quite new to the code base.
The text was updated successfully, but these errors were encountered: