Replace AddWebResourceRequestedFilter with AddWebResourceRequestedFilterWithRequestSourceKinds in Edge WebView2 (Issue #25816)

9 views
Skip to first unread message

Blake-Madden

unread,
Sep 19, 2025, 7:45:48 AM (6 days ago) Sep 19
to wx-...@googlegroups.com, Subscribed
Blake-Madden created an issue (wxWidgets/wxWidgets#25816)

Also related to Webview2, when running an application like the webview sample, the following warning is shown in the debug window:

Warning: AddWebResourceRequestedFilter without SourceKind parameter is deprecated! It does not behave as expected for iframes.Please use AddWebResourceRequestedFilterWithRequestSourceKinds instead. For more information, please see https://go.microsoft.com/fwlink/?linkid=2286319

https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_22?view=webview2-1.0.3405.78#addwebresourcerequestedfilterwithrequestsourcekinds

This will require changing the ICoreWebView2_2 interface to ICoreWebView2_22, which probably isn't trivial. But anyway, the first step to fixing this is updating the WebView2 that we download to at least 1.0.2365.46 (AddWebResourceRequestedFilterWithRequestSourceKinds's requirement).

Originally posted by @Blake-Madden in #25815


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25816@github.com>

Reply all
Reply to author
Forward
0 new messages