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

Firefox < 77 cannot navigate in Zimit files due to lack of support for replaceAll() #1300

Open
Jaifroid opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
backend bug not-main-usage zimit Code relating to the support of Zimit-style archives
Milestone

Comments

@Jaifroid
Copy link
Member

Other browsers with lack of support for replaceAll (see https://caniuse.com/?search=replaceAll) don't support ServiceWorker mode anyway. We could trigger an automatic fallback to jQuery mode if a user opens a Zimit archive and replaceAll isn't supported.

We can't easily polyfill this because it appears in wombat setup, which is loaded in article context. These are very old browsers now, anyway. The best we could really do is fallback to reading the file in Restricted mode (aka jQuery mode).

For more details see: #1296 (comment)

@Jaifroid Jaifroid added backend bug not-main-usage zimit Code relating to the support of Zimit-style archives labels Jan 10, 2025
@Jaifroid Jaifroid added this to the v4.2 milestone Jan 10, 2025
@Jaifroid Jaifroid self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug not-main-usage zimit Code relating to the support of Zimit-style archives
Projects
None yet
Development

No branches or pull requests

1 participant