Open samuelmaddock opened 3 years ago
Thank you, @samuelmaddock. I temporarily reverted the changes: https://github.com/webcatalog/neutron/pull/593. Hopefully, we can figure out a good solution for this.
How about also attaching crx
protocol to the defaultSession
?
An alternative is not using crx://
at all, such as in https://github.com/fvulich/electron-chrome-extensions/commit/33f5c64d08ce51c85301055035373d9c8eaec8ed which circumvents the issue.
v3.9.0 introduced a
crx://
protocol to serve extension icons. If the icons are loaded in a session separate from where the extensions are loaded, they will fail withnet::ERR_UNKNOWN_URL_SCHEME
.Electron's
protocol
API is unique to each session.Registering the protocol when the remote session is interested in receiving browserAction updates is too late and would require the page to be reloaded.
This bug may be what's causing a test to fail: