Skip to content

[Problem/Bug]: WebResourceResponseReceived not fired for requests done in iframe #5376

@Chorer

Description

@Chorer

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

  1. Create a simple webview2 demo using c++
  2. Let c++ native code load a html file name test.html
  3. test.html has an iframe which load any site
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions