Bug 221661

Summary: WKWebView should provide a way to handle spins
Product: WebKit Reporter: Jonathan Deutsch <jonathan>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Enhancement CC: achristensen, cdumez, ggaren, jonathan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Apple Silicon)   
OS: macOS 11   

Jonathan Deutsch
Reported 2021-02-09 23:28:14 PST
There are methods to recover from crashes, but how about exposing a way to kill a WKWebView child that is processing for too long (or manually kill?). Tumult Whisk [https://tumult.com/whisk/] is an HTML editor with a live preview. Users can easily shoot themselves in the foot by writing <script> code that goes into an infinite loop. It'd be great if there was a proper way to recover from this. Seems like a missed opportunity/advantage of WKWebView vs. WebView (Legacy).
Attachments
Radar WebKit Bug Importer
Comment 1 2021-02-16 23:29:12 PST
Note You need to log in before you can comment on or make changes to this bug.