MikkCZ / pontoon-addon

Tools for Pontoon and its integration into the browser.
https://github.com/MikkCZ/pontoon-addon/wiki
BSD 3-Clause "New" or "Revised" License
18 stars 6 forks source link

Migrate to Manifest v3 #165

Open MikkCZ opened 2 years ago

MikkCZ commented 2 years ago

The timeline when v3 is supported in all browsers (mainly Firefox ESR) and when they plan to deprecate the current version is still not clear.

Start by updating the background script to work as non persistent, which should also improve performance.

MikkCZ commented 2 years ago

Chrome Web Store will not support submissions of new extensions with v2 after January 17, 2022. There is no date for complete deprecation of v2, but it's definitely coming.

MikkCZ commented 2 years ago
MikkCZ commented 2 years ago

I opened a blocker on Pontoon side, because manifest v3 will remove webRequest API, that is needed to support containers (aka contextual identities) in Firefox.

However today I found (and sorry for my negligence), that supposedly Firefox will keep the webRequest API for manifest v3. If that's true, there would be no regression, because in Chrome the containers are not available anyway.

MikkCZ commented 1 year ago

How to work with workers in Webpack - https://github.com/webpack/webpack/blob/main/examples/worker/example.js.

MikkCZ commented 4 months ago