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

Mirabuf Caching OPFS Back Up #1082

Merged
merged 4 commits into from
Aug 9, 2024
Merged

Mirabuf Caching OPFS Back Up #1082

merged 4 commits into from
Aug 9, 2024

Conversation

a-crowell
Copy link
Collaborator

@a-crowell a-crowell commented Aug 6, 2024

Description

We cannot create writables in OPFS on Safari/iOS, so this PR puts the ArrayBuffers in a hashMap so there is at least temporary storage.

Testing Done

  • Chrome/Firefox on Windows (with canOPFS directly set true/false)
  • Safari (thanks @Dhruv-0-Arora)

JIRA Issue

@a-crowell a-crowell requested review from HunterBarclay and a team as code owners August 6, 2024 19:26
@a-crowell a-crowell requested review from LucaHaverty and Dhruv-0-Arora and removed request for a team August 6, 2024 19:26
@a-crowell a-crowell changed the title Crowela/1797/opfs backup Mirabuf Caching OPFS Back Up Aug 6, 2024
Copy link
Collaborator

@Dhruv-0-Arora Dhruv-0-Arora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

Copy link
Collaborator

@LucaHaverty LucaHaverty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked on chrome, microsoft edge (🤮), and firefox. Nice work!

Copy link
Member

@BrandonPacewic BrandonPacewic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I can use my favorite web browser!

@HunterBarclay HunterBarclay merged commit bba71ac into dev Aug 9, 2024
11 of 13 checks passed
@HunterBarclay HunterBarclay deleted the crowela/1797/opfs-backup branch August 9, 2024 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants