MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: WebResourceResponseReceived not fired for requests done in iframe
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
As per the title, when the request are sent from the iframe, WebResourceResponseReceived doesn't fired. Is it the restriction of iframe?
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
Win32
Operating System
Windows 11
OS Version
No response
Repro steps
- Create a simple webview2 demo using c++
- Let c++ native code load a html file name
test.html test.htmlhas an iframe which load any site- Using WebResourceResponseReceived to try to listen for the responses of the requests from iframe
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with a simple C++ Win32 WebView2 demo that loads test.html, then inspect WebResourceResponseReceived while the iframe loads another site. Compare the observed iframe request responses with the corresponding Edge behavior; done means the event behavior and any iframe restriction are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, html
- Domain
- api, desktop-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100