Bug 205254

Summary: -[WKWebView _detectDataWithTypes:completionHandler:] crashes when there is no running process
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebKit Misc.Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, dino, megan_gardner, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Fix GTK/WPE none

Description Wenson Hsieh 2019-12-15 16:57:57 PST
This should be safe to call if there is no running web content process. Instead, it currently crashes due to m_process->connection() being null.
Comment 1 Wenson Hsieh 2019-12-15 17:02:53 PST Comment hidden (obsolete)
Comment 2 Wenson Hsieh 2019-12-15 17:03:47 PST
Speculative fix for <rdar://problem/57463469>, since I'm unable to reproduce it :/
Comment 3 Wenson Hsieh 2019-12-15 17:05:45 PST
Created attachment 385728 [details]
Fix GTK/WPE
Comment 4 WebKit Commit Bot 2019-12-15 18:25:49 PST
Comment on attachment 385728 [details]
Fix GTK/WPE

Clearing flags on attachment: 385728

Committed r253543: <https://trac.webkit.org/changeset/253543>
Comment 5 WebKit Commit Bot 2019-12-15 18:25:51 PST
All reviewed patches have been landed.  Closing bug.