MicrosoftEdge / MicrosoftEdge/WebView2Samples

How can I change the version of WebViewLoader2 that WebView2APISample depends on ?

Open
#273 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

I built WebView2APISamples demo and copied it to another computer run. However, I found that the demo crashed.

After Anlayze, I discovered that a mismatch in ICoreWebView2CustomSchemeRegistration.SetAllowedOrigins offset cause the issue.

The source computer Edge WebView version is :135.0.3179.85
and the crashed computer Edge WebView version is: 103.0.1264.77

How can I change the version of WebViewLoader2 that WebView2APISample depends on ?

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 reviewing the WebView2APISample dependency on WebViewLoader2 and the reported Edge WebView versions, 135.0.3179.85 and 103.0.1264.77. Determine where the sample's loader version is selected and document or implement a supported way to change it; done means the sample can run on the older WebView version without the reported interface-offset crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
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.