MicrosoftEdge / MicrosoftEdge/WebView2Feedback

COM-proxies fail for methods declared as propputref

Open
#566 1 comment 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

It is not possible to set properties from JS where the underlying COM-method is declared as propputref.

Currently we work around problem in ATL/C++ by internally retrying failed calls using propput with corresponding propputref.

Version
SDK: GA 1.0.622.22
Runtime: WebView2 Runtime GA
Framework: Win32
OS: All

AB#29930253

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

No repository file or test is identified. Start by tracing the WebView2 COM-proxy property-setting path and comparing methods declared propputref with the reported ATL/C++ workaround. Done means JavaScript can set properties backed by propputref methods without requiring an internal retry workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.