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
feat: session.resolveHost #37847
feat: session.resolveHost #37847
Conversation
* feat: session.resolveHost Expose Chromium's host resolution API through the Session object. * Update shell/browser/api/electron_api_session.cc Co-authored-by: Jeremy Rose <nornagon@nornagon.net> * address feedback * fix tests * address feedback * Add options * Update shell/browser/api/electron_api_session.cc Co-authored-by: Cheng Zhao <github@zcbenz.com> * Update shell/browser/net/resolve_host_function.cc Co-authored-by: Cheng Zhao <github@zcbenz.com> * lint * return object * add missing file * fix crash * handle scope * links --------- Co-authored-by: Fedor Indutny <indutny@signal.org> Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Co-authored-by: Jeremy Rose <nornagon@nornagon.net> Co-authored-by: Cheng Zhao <github@zcbenz.com>
cc @nornagon ? |
@indutny Thanks for the backport! We have a Releases WG meeting this afternoon we review/approve backport requests, will get this reviewed for you 🙇♀️ |
@indutny please copy over the release notes 🙇🏻 |
Really appreciate it. Thanks! |
done, sorry! I wasn't sure what the template for the backport PR should look like so I copied it from #37846 😂 |
@indutny, if you use $ e backport 37690
// Fix conflicts, `git cherry-pick --continue`
$ git push fork
$ e pr --backport 37690 |
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.
Backport approved on behalf of @electron/wg-releases
Release Notes Persisted
|
Backport of #37690.
See that PR for details.
Notes: Introduced
session.resolveHost
for resolving hostnames with Chromium's DNS resolver