MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Download request is broken after NavigateToString

Open
#1,786 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description
If you set source with NavigateToString then all download requests from source will be ignored after first one (no ask for download and DownloadStarting not firing) - see video below.
But, if you set source through Source property - all will be fine.

Version
SDK: 1.0.902.49, 1.0.992.28
Runtime: 94.0.992.31
Framework: WinForms
OS: Win10

Repro Steps
WebView2Download.zip

Screenshots

https://user-images.githubusercontent.com/17767561/135603214-6ad08f13-01ab-4232-a030-1848a17ad786.mp4

AB#36641147

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 examining the attached WebView2Download.zip reproduction and run it on the reported WinForms setup. Compare downloads after setting content with NavigateToString versus Source, checking whether the download prompt and DownloadStarting event occur repeatedly. Done means subsequent download requests behave consistently in both cases.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.