MicrosoftEdge / MicrosoftEdge/WebView2Feedback

FrameCreated is not called for iframe inside another iframe

Open
#2,440 26 comments 3 reactions 3 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
FrameCreated is not called for iframe inside another iframe.

Version
SDK: 1.0.1222-prerelease
Runtime: Evergreen, 101.0.1210.39
Framework: WPF
OS: Win11

Repro Steps

  1. Added event handler to CoreWebView2.FrameCreated.
  2. Open a website with nested iframes, for example this one.

Expectation: CoreWebView2.FrameCreated is raised for both iframes.
Actual: Only one CoreWebView2.FrameCreated is raised (which is for the top level iframe).

AB#40114362

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.