Skip to content
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

fix(windows): enable use of custom protocols for all request source kinds when new enough. #1491

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

neilmcguire
Copy link

WebView2 introduced the ability to handle WebResourceRequests for specific Sources. This includes Shared Workers and iframes. This change allows us to handle requests to custom protocols in WebView2 that support the new method while falling back to the old method if the newer interface is not implemented.

The method exists as of WebView2 1.0.2365.46+ (April 2024 version)

See MicrosoftEdge/WebView2Feedback#1114 and https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_22?view=webview2-1.0.2420.47

Potentially closes #949

@neilmcguire neilmcguire requested a review from a team as a code owner February 18, 2025 20:43
Copy link
Contributor

github-actions bot commented Feb 18, 2025

Package Changes Through 37e742d

There are 1 changes which include wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
wry 0.48.1 0.49.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@neilmcguire neilmcguire force-pushed the shared-worker-custom-protocol branch from 7ad2979 to 37e742d Compare February 19, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

requests in iframe not captured by custom protocol
1 participant