Changeset 170861 in webkit


Ignore:
Timestamp:
Jul 7, 2014 4:44:42 PM (10 years ago)
Author:
Simon Fraser
Message:

Have MiniBrowser log and reload if the Web Content Process crashes
https://bugs.webkit.org/show_bug.cgi?id=134691

Reviewed by Tim Horton.

Implement _webViewWebProcessDidCrash, log and reload when the web process
crashes.

  • MiniBrowser/mac/WK2BrowserWindowController.m:

(-[WK2BrowserWindowController _webViewWebProcessDidCrash:]):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r170848 r170861  
     12014-07-07  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Have MiniBrowser log and reload if the Web Content Process crashes
     4        https://bugs.webkit.org/show_bug.cgi?id=134691
     5
     6        Reviewed by Tim Horton.
     7       
     8        Implement _webViewWebProcessDidCrash, log and reload when the web process
     9        crashes.
     10
     11        * MiniBrowser/mac/WK2BrowserWindowController.m:
     12        (-[WK2BrowserWindowController _webViewWebProcessDidCrash:]):
     13
    1142014-07-07  Alberto Garcia  <berto@igalia.com>
    215
  • trunk/Tools/MiniBrowser/mac/WK2BrowserWindowController.m

    r170812 r170861  
    457457}
    458458
     459- (void)_webViewWebProcessDidCrash:(WKWebView *)webView
     460{
     461    NSLog(@"WebContent process crashed; reloading");
     462    [self reload:nil];
     463}
     464
    459465@end
    460466
Note: See TracChangeset for help on using the changeset viewer.