Skip to content

API Review: Frame-Level LaunchingExternalUriScheme#5621

Open
vipulgupta11 wants to merge 3 commits into
user/vipulgupta11/FrameLaunchingExternalUriSchemefrom
user/vipulgupta11/FrameLaunchingExternalUriScheme-draft
Open

API Review: Frame-Level LaunchingExternalUriScheme#5621
vipulgupta11 wants to merge 3 commits into
user/vipulgupta11/FrameLaunchingExternalUriSchemefrom
user/vipulgupta11/FrameLaunchingExternalUriScheme-draft

Conversation

@vipulgupta11

Copy link
Copy Markdown

Add FrameLaunchingExternalUriScheme.md — proposes raising the LaunchingExternalUriScheme event on CoreWebView2Frame (in addition to the existing event on CoreWebView2) so host apps can attribute external-URI launches to a specific iframe via the event sender. Also proposes a Handled property on CoreWebView2LaunchingExternalUriSchemeEventArgs so per-iframe handlers can suppress the webview-level handler.

Same shape as CoreWebView2Frame.PermissionRequested + CoreWebView2PermissionRequestedEventArgs2.Handled.

Adds a frame-level LaunchingExternalUriScheme event on CoreWebView2Frame
and a Handled property on CoreWebView2LaunchingExternalUriSchemeEventArgs.
This lets host apps that embed multiple sub-applications as iframes
attribute external-URI launches to a specific iframe via the event
sender, and lets per-iframe handlers suppress the webview-level handler.

Mirrors the existing ICoreWebView2Frame3.add_PermissionRequested +
ICoreWebView2PermissionRequestedEventArgs2.Handled shape.
@vipulgupta11 vipulgupta11 added the API Proposal Review WebView2 API Proposal for review. label Jun 9, 2026
@vipulgupta11

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

@vipulgupta11 vipulgupta11 marked this pull request as ready for review June 10, 2026 06:52
@vipulgupta11 vipulgupta11 requested a review from shrinaths June 10, 2026 06:52
@vipulgupta11 vipulgupta11 self-assigned this Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Proposal Review WebView2 API Proposal for review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant