MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Hangs up as soon as a host function with a return value is called

Open
#1,210 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description
we have a ocx class as host object ,it can call all function without return value, but hangs up hangs as soon as a function with a return value is called.(eg OCX.subBridge.Value() in mini case)

Version
SDK: 1.0.824-prerelease
Runtime: WebView2 runtime 90.0.818.42
Framework: WinForms, Win32
OS: Win10, Win7

Repro Steps
1.build MFCActiveXEdgeTest then regedit it
2.build EdgeTestFormsApp
3.run EdgeTestFormsApp.exe (auto load testEdge.html)
then click "GetValue" button, you can see OCX.subBridge.ClearData() just be executed once.

you can reproduce it by attach.
EdgeTestFormsApp.zip

AB#32873960

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

Build and register MFCActiveXEdgeTest, then run EdgeTestFormsApp.exe with testEdge.html as described in the reproduction steps. Start with the GetValue button and compare the host calls to OCX.subBridge.ClearData() and OCX.subBridge.Value(); inspect the attached EdgeTestFormsApp.zip. Done means the return-value call no longer hangs and the sample can complete the interaction.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.