-
Notifications
You must be signed in to change notification settings - Fork 16.2k
chore: Move webFrame scheme privilege methods to main process #16416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1a409dc
to
3559051
Compare
3559051
to
d959455
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Can you also document this in And do we have deprecation warnings in 4.x? |
@nitsakh once the conflict is fixed and the change added to the api contract i think this is good to go 👍 |
d959455
to
12b2a6a
Compare
12b2a6a
to
5fd7239
Compare
5fd7239
to
1caff08
Compare
Release Notes Persisted
|
I have automatically backported this PR to "5-0-x", please check out #16585 |
@nitsakh, @zcbenz this PR broke the
|
Thanks @miniak . Let me look at it now and I'll send a PR with the fix. |
There are even more issues
|
* chore: deprecate webFrame.registerURLSchemeAsPrivileged * Add register schemes protocol api * update branch to enable browser process API * Revert deprecation changes * Fetch API support * Updated api to take an array, still working on tests * Update tests * Remove web frame API * Minor changes * update scheme registrations on browser and renderer process * fix: enable ses.getBlobData spec * Update breaking changes doc
* feat: move webFrame scheme privilege methods to main process (#16416) * chore: deprecate webFrame.registerURLSchemeAsPrivileged * Add register schemes protocol api * update branch to enable browser process API * Revert deprecation changes * Fetch API support * Updated api to take an array, still working on tests * Update tests * Remove web frame API * Minor changes * update scheme registrations on browser and renderer process * fix: enable ses.getBlobData spec * Update breaking changes doc * fix: update docs for protocol API (#16601) * fix: update docs for protocol API * upddate source for new attribute name * update electron-typescript-definitions package
Description of Change
This PR updates the custom scheme registration APIs and moves them to the browser process.
#15767 was a precursor to the current PR.
Custom schemes have to be registered from the main process and before app ready.
Checklist
npm test
passesRelease Notes
Notes: Moved
webFrame
custom scheme APIs to browser process underprotocol