Skip to content

Throw custom exception for WebView Control is no longer valid #2254

Open
@RickStrahl

Description

@RickStrahl

I'm seeing a lot of errors coming into my application with recent updates of the WebView control runtime. For a bit things seemed to be much better, but the problem has returned and is more persistent.

image

One problem is that it's not easy to detect these failures. I have the ProcessFailed handler in place, but apparently these exceptions fire before that and they are fired ALOT (presumably on any WebView operation, but I don't know because the stack trace doesn't show anything from my code).

Suggestion

One thing that would really help here if this could throw an easily trappable exception instead the generic InvalidArgumentException. Right now the only way I can do this is check if IVAE and then check the message which is not ideal. Basically when this happens I have to shut down the application. If not, there end up 100s of these errors flooding the logs in a matter of a couple of seconds before the Failed header kicks in or the app crashes (hard to tell as I've not seen it).

AB#38480872

Metadata

Metadata

Assignees

Labels

feature requestfeature requestpriority-lowWe have considered this issue and decided that we will not be able to address it in the near future.trackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions