[Extensions] Restrict background page entries to manifest v2
Manifest V3 extensions should be service-worker based. Restrict background pages (both persistent and lazy/event-based) to manifest v2, and add an error when trying to load them with manifest V3. Add unittests for the same, and update previous unittests that exercised manifest v3 with platform apps (since platform apps currently require background.page or background.scripts, which are now disallowed). Bug: 987838 Change-Id: I1cf9038e240a5c7b62341311c9342e3d1dea4237 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1665300 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#681936}
Showing
Please register or sign in to comment