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

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

Open
victorhuangwq opened this issue Oct 24, 2024 · 1 comment

Comments

@victorhuangwq
Copy link
Contributor

victorhuangwq commented Oct 24, 2024

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
Copy link
Contributor Author

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

@victorhuangwq victorhuangwq reopened this Oct 24, 2024
@MicrosoftEdge MicrosoftEdge locked and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant