MicrosoftEdge / MicrosoftEdge/WebView2Feedback

An iframe loaded with custome scheme cannot invoke host methods

Open
#3,716 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

I have a web page that loads using a custom scheme, it can call the host method normally, but the iframe inside cannot call the host method

image
image

Version
SDK: 1.0.1901.177
Runtime: 115.0.1901.203
Framework: Winforms
OS: Win11

Regression
Was this working before but has regressed?
If yes, what version did this last work on?

Repro Steps

Screenshots

Additional context

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.

Research direction

Start by reproducing the reported WinForms behavior with SDK 1.0.1901.177 and Runtime 115.0.1901.203 on Windows 11: load a custom-scheme page containing an iframe and compare host-method calls from the page and iframe. The issue provides no repro steps, files, or tests; done means establishing whether the iframe can invoke the host method and documenting the result or a focused fix path.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.