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

Migrate to manifest version 3 #646

Open
ggrossetie opened this issue May 12, 2023 · 2 comments
Open

Migrate to manifest version 3 #646

ggrossetie opened this issue May 12, 2023 · 2 comments

Comments

@ggrossetie
Copy link
Member

https://developer.chrome.com/blog/mv2-transition/

The problem is that currently Firefox does not support background.service_worker: https://developer.chrome.com/docs/extensions/migrating/to-service-workers/. Basically, we cannot use the same manifest nor the same codebase 😞

Another potential issue is that XMLHttpRequest must be replaced by fetch: https://developer.chrome.com/docs/extensions/migrating/to-service-workers/#replace-xmlhttprequest
The problem is that Asciidoctor.js processing is synchronous:

  • Include resolution is using synchronous XMLHttpRequest
  • Kroki is using synchronous XMLHttpRequest

It might still be possible to use XMLHttpRequest from the page.

@ggrossetie
Copy link
Member Author

It's still possible to upload a new version of an existing extension using manifest v2 on the Chrome WebStore. However, it's not possible on Edge:

image

@ggrossetie
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant