-
Notifications
You must be signed in to change notification settings - Fork 55
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
WebResourceRequested event not raised for ServiceWorker fetch #1114
Comments
Thanks for the bug report - I've linked this up with an existing issue on our backlog that we're going to take a look at! |
Any update on this issue? We are facing the same. Weird thing is, it works fine if I open edge dev tools in the web view by pressing F12. Without the dev tools open, it doesnt work. |
@mohitbagra We are currently working on adding this support. It's past the design phase and is currently in the implementation phase. I'm assigning this issue to @vbryh-msft in case there's anything else to add. |
Any update on this issue? |
@DexterWoo I'm actively working on the feature, will be out soon in prerelease =) |
AddWebResourceRequestedFilterWithRequestSourceKinds - COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SERVICE_WORKER will cover service worker fetch. |
This is completed in SDK versions 1.0.2365.46+ using CoreWebView2WebResourceRequestSourceKinds when adding WebResourceRequested filters: |
This not working for me. I added:
But I still get:
|
@champnic This is happening to me as well. JS |
Description
When fetching through a service worker, WebView2 does not raise the WebResourceRequested event.
Version
SDK: 1.0.774.44 and 1.0.824-prerelease
Runtime: Beta 90.0.818.14
Framework: WPF
OS: Win10
Repro Steps
AB#30969096
The text was updated successfully, but these errors were encountered: