Changeset 166452 in webkit


Ignore:
Timestamp:
Mar 29, 2014 9:14:44 AM (10 years ago)
Author:
andersca@apple.com
Message:

Uncatched NSExceptions should crash the web process
https://bugs.webkit.org/show_bug.cgi?id=130923
<rdar://problem/16463751>

Reviewed by Dan Bernstein.

  • WebProcess/cocoa/WebProcessCocoa.mm:

(WebKit::WebProcess::platformInitializeWebProcess):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r166451 r166452  
     12014-03-28  Anders Carlsson  <andersca@apple.com>
     2
     3        Uncatched NSExceptions should crash the web process
     4        https://bugs.webkit.org/show_bug.cgi?id=130923
     5        <rdar://problem/16463751>
     6
     7        Reviewed by Dan Bernstein.
     8
     9        * WebProcess/cocoa/WebProcessCocoa.mm:
     10        (WebKit::WebProcess::platformInitializeWebProcess):
     11
    1122014-03-28  Csaba Osztrogonác  <ossy@webkit.org>
    213
  • trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm

    r166387 r166452  
    189189
    190190#if USE(APPKIT)
     191    [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions" : @YES }];
     192
    191193    // rdar://9118639 accessibilityFocusedUIElement in NSApplication defaults to use the keyWindow. Since there's
    192194    // no window in WK2, NSApplication needs to use the focused page's focused element.
Note: See TracChangeset for help on using the changeset viewer.