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

Replace Array#at with array[I] to support more browsers #213

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

jansedlon
Copy link
Contributor

I have finally figured out the #207 issue.

I was actually dealing with two different issues, not just one. The first one was fixed in the PR that you approved. It was about parsing the Accept-Language. However #207 still occurred in Sentry.

I couldn't figure out the error at first, but today morning i realized it's not about reading undefined root loader but that Array.prototype.at function is not supported in a lot of non-standard browsers.

Sure, i couldn't care less about MuiBrowser, etc.. However my B2B platform is really important for people who sell online. Which means they provide links to my platform on Instagram, Facebook, etc.. And they use weird browsers which in Sentry appear just as Instagram {version}, Facebook {version}, etc.. And they don't support the .at function on Array 🙃 (not always but many times if people don't update instagram)

@sergiodxa sergiodxa changed the title fix: support more browsers Replace Array#at with array[I] to support more browsers Sep 20, 2024
@sergiodxa sergiodxa self-assigned this Sep 20, 2024
@sergiodxa sergiodxa added the bug Something isn't working label Sep 20, 2024
@sergiodxa sergiodxa merged commit 45edf56 into sergiodxa:main Sep 20, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants