WebView2Announcements icon indicating copy to clipboard operation
WebView2Announcements copied to clipboard

[API Deprecation]: AddWebResourceRequestedFilter is now deprecated. Please use AddWebResourceRequestedFilterWithRequestSourceKinds

Open victorhuangwq opened this issue 1 year ago • 1 comments

AddWebResourceRequestedFilter is deprecated and does not behave as expected for iframes. This filter only triggers the event for the main frame and its same-origin iframes.

Please use the updated APIs described below, which will let the event to fire for all iframes on the document:

  • For Win32, please use AddWebResourceRequestedFilterWithRequestSourceKinds Win32.
  • For .NET/WinRT please include RequestSourceKinds as the third parameter to AddWebResourceRequestedFilter ( .NET / WinRT)

victorhuangwq avatar Oct 24 '24 18:10 victorhuangwq

Please use https://github.com/MicrosoftEdge/WebView2Feedback/discussions for any questions

victorhuangwq avatar Oct 24 '24 18:10 victorhuangwq