Bug 43048

Summary: UI process needs a way to find out when the web process crashes
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, sam, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 43047    
Attachments:
Description Flags
Patch andersca: review+

Description Adam Roben (:aroben) 2010-07-27 07:41:19 PDT
There's no API for the UI process to find out when the web process crashes. We should add one! Probably adding a WKPageProcessDidExitCallback member to WKPageLoaderClient is the way to go for now (though we might move it to wherever the DidBecome[Un]ResponsiveCallbacks go, once they move to a new client).
Comment 1 Adam Roben (:aroben) 2010-07-27 07:42:36 PDT
<rdar://problem/8239458>
Comment 2 Adam Roben (:aroben) 2010-07-27 08:32:29 PDT
Created attachment 62694 [details]
Patch
Comment 3 WebKit Review Bot 2010-07-27 08:33:20 PDT
Attachment 62694 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebKit2/UIProcess/API/C/WKPage.h:96:  Extra space between WKPageProcessDidExitCallback and processDidExit  [whitespace/declaration] [3]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Adam Roben (:aroben) 2010-07-27 09:08:56 PDT
Committed r64132: <http://trac.webkit.org/changeset/64132>