Closed emaxx-google closed 1 month ago
Continuous Integration: All tests passed. C/C++ test coverage: 73.53% lines.
Continuous Integration: All tests passed. C/C++ test coverage: 73.54% lines.
Continuous Integration: All tests passed. C/C++ test coverage: 73.53% lines.
Continuous Integration: All tests passed. C/C++ test coverage: 73.55% lines.
I've guarded some code in in-popup-main-script.js
with checks because when the window is opened via createWindow()
there's no popup_id
passed and there's no need in one.
This adds support of manifest v3 to the "popup-window" helpers. This is achieved by reimplementing the popup==>background page communication using message ports.
Previously, we used two other mechanisms for this communication:
Neither works in manifest v3 Extensions, hence this commit implements a new approach that should work in all build modes.