MicrosoftEdge / MicrosoftEdge/WebView2Feedback
API equivalent for Webview1.LongRunningScriptDetected?
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
We'd like to detect if a javascript script froze because we load external javascript which we have no control over.
So we'd need to terminate any long running javascript code.
In Webview1 this could be done using the LongRunningScriptDetected event.
Does webview2 have any equivalent events? I'm not able to find it.
I tried webview2.CoreWebView2.ProcessFailed but it doesn't detect the freeze.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the WebView1 LongRunningScriptDetected event and the WebView2 CoreWebView2.ProcessFailed behavior described in the issue. Check the WebView2 API surface for an equivalent event or supported way to terminate frozen external JavaScript, and use the linked AB#38097345 work item for related context. Done means the supported capability or its absence is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100