MicrosoftEdge / MicrosoftEdge/WebView2Samples

Cannot Suppress Script Errors with WebView2

Open
#154 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

Dear Team,

I am using WebView2 control inside a .NET C# Windows Forms App. The web page shows a few Script Errors. I have tried out various tricks but it seems I cannot suppress/Avoid these errors from showing up. (None of these errors popup when the same webpage is opened using a regular Edge/Chrome Browser.

Any help in this regard would be appreciated.

image

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

The issue mentions a .NET C# Windows Forms app using WebView2 and a webpage that displays script errors; start by reproducing that setup and reviewing the attached screenshot. A complete investigation would need a precise reproduction and an agreed behavior for suppressing the errors, neither of which the issue currently defines.

Written by the indexing model from the issue text.

Assessment

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