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

Broken in Apple lockdown mode #17

Open
GarboMuffin opened this issue Jan 8, 2025 · 1 comment
Open

Broken in Apple lockdown mode #17

GarboMuffin opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@GarboMuffin
Copy link
Member

GarboMuffin commented Jan 8, 2025

Latest Safari on macOS and iPad OS:

TypeError: n.arrayBuffer is not a function. (In 'n.arrayBuffer()', 'n.arrayBuffer' is undefined)

Not clear why that is not working. fetch() and Response#arrayBuffer() seem to work fine in brief unit test.

Given that no one had ever reported before it seem not many people use lockdown mouse so probably not too urgent to fix

@GarboMuffin GarboMuffin added the bug Something isn't working label Jan 8, 2025
@GarboMuffin
Copy link
Member Author

GarboMuffin commented Jan 9, 2025

we use cross-fetch which uses whatwg-fetch in web environment. whatwg-fetch requires FileReader to exist for Blob support, Blob support required for its Response#arrayBuffer().

at this point there is not really any reason for us to be using a polyfill. we can just use native fetch and avoid this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant