(a) Apart from supporting intercepting requests, webRequest also enables observing and analyzing traffic. What will be the recommended API for the latter use case, i.e., observation/analysis?
(b) How will deprecation be implemented for existing extensions in the Chrome Web Store? For example, will they be afforded a timeframe within which they would be required to be updated? Will new extension submissions be rejected automatically if they use webRequest?
(c) How will the webRequest API continue to be supported for enterprises? Will this be through policy?
Thanks
Arvind
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/7c5498f9-5a94-49af-b242-171745a9d27a%40chromium.org.
(a) Non-blocking (non-intercepting) webRequest is not deprecated or discouraged.☆PhistucK
On Tue, Jun 11, 2019 at 8:04 PM 'Arvind Murching' via Chromium Extensions <chromium-...@chromium.org> wrote:
Hi,--A few questions from the Edge team-(a) Apart from supporting intercepting requests, webRequest also enables observing and analyzing traffic. What will be the recommended API for the latter use case, i.e., observation/analysis?
(b) How will deprecation be implemented for existing extensions in the Chrome Web Store? For example, will they be afforded a timeframe within which they would be required to be updated? Will new extension submissions be rejected automatically if they use webRequest?
(c) How will the webRequest API continue to be supported for enterprises? Will this be through policy?
Thanks
Arvind
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
(a) As PhistucK said, we're not planning to remove the observational version of the webRequest API.
(b) Manifest V3 is still very much in development, so we're still ironing out the details on this.
In broad strokes, the plan is to provide developers with a transition period to adopt Manifest V3. Manifest V2 extensions will continue to be supported and will be able to request this permission until the transition period ends. At that point, Manifest V2 extensions will be removed from the web store and Chrome will stop loading them.
From the start Manifest V3 extensions won't be able to get the "webRequestBlocking" permission outside of managed environments. Since most extensions (including enterprise-focused extensions) are installed from the Chrome Web Store, including the "webRequestBlocking" permission in your Manifest V3 extension will not cause the extension to be auto-rejected when you attempt to publish.
(c) That's correct. The current plan is that extensions that are force-installed via the ExtensionInstallForcelist policy will be able to access the blocking capabilities of the webRequest API. In the future additional policies may also grant this capability, but none are currently planned.
I thought I saw something about manifest v3 support, or at least some parts thereof, landing in Canary by the end of the summer
The extensions team is currently working towards releasing a Developer Preview in the Canary channel at the end of July or beginning of August.
I'm currently working on a transition guide akin to the Migrate to Manifest V2 or User Controls for Host Permissions guide. This will be the canonical resource for migrating to MV3. I expect that I'll need to update it based on developer feedback.
I think it will be at least a year between dev preview launch and sunsetting Manifest V2. I've been meaning to try to gather something firmer to share… I'll start pushing on this again.
The main goal of this preview is to let developers start experimenting with service workers as the new background context for extensions. Other features will be coming online as work progresses, such as… changes to prevent remotely hosted code (not yet implemented).