Skip to content

Conversation

@khj809
Copy link
Contributor

@khj809 khj809 commented Dec 4, 2025

There's no window object in web worker environment, which results in the failure of getting window.navigator.storage. This PR fixes this error by following the solution in gfx-rs/wgpu#2858.

@khj809 khj809 requested review from grf53 and jhlee525 December 4, 2025 10:18
@khj809 khj809 self-assigned this Dec 4, 2025
@khj809 khj809 merged commit 356295a into main Dec 4, 2025
@khj809 khj809 deleted the fix/opfs-web-worker branch December 4, 2025 12:48
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

Successfully merging this pull request may close these issues.

3 participants