Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: git-opfs demo doesn't work in Safari #963

Open
colebemis opened this issue Nov 2, 2023 · 0 comments
Open

Bug: git-opfs demo doesn't work in Safari #963

colebemis opened this issue Nov 2, 2023 · 0 comments

Comments

@colebemis
Copy link

I tried opening the git-opfs demo in Safari and got a runtime error: DataCloneError: The object can not be cloned.

Image

According to MDN, Safari supports OPFS so I'd expect this example to work.

Note: The demo works as expected in Chrome.

Steps to reproduce

  1. Clone the memfs repository
  2. Install dependencies (yarn)
  3. Run the git-opfs demo (yarn demo:git-opfs)
  4. Open https://localhost:9876 in Safari (I needed to bypass the https security risk warning)

Versions

  • memfs: 4.6.0
  • Safari: Version 17.1 (19616.2.9.11.7)
  • macOS: Sonoma 14.1
colebemis added a commit to colebemis/opfs-demo that referenced this issue Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant