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

.at function isn't supported in Chrome versions before version 92 #42

Open
Crashdoom opened this issue Jun 11, 2023 · 1 comment
Open

Comments

@Crashdoom
Copy link

Crashdoom commented Jun 11, 2023

On Chrome versions prior to v92, the Array.at(...) function isn't supported and results in an unhandled exception. It appears the base WebUSB support works as the printer shows up and connects, but the initial configuration and any further commands result in an error.

This affects several models of Chromebooks sold and available through Walmart, which are reported to be running Chrome 88.

image

@Cellivar
Copy link
Owner

Okay so I did some digging to understand the state of the world with polyfills.

As mentioned offline if the looming deadline means I need to ship a version without array.at() in it I can whip that up, but I fear other things in the library that might also need polyfilling. Adding a polyfill system at the application layer so it can be automatically included on older platforms feels like a better approach.

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

2 participants