Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Issue 1233983004: Remove base/mac/scoped_nsexception_enabler.h. (Closed)

Created:
5 years, 5 months ago by Robert Sesek
Modified:
5 years, 4 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, browser-components-watch_chromium.org, rouslan+spellwatch_chromium.org, dcheng, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, rlp+watch_chromium.org, groby+spellwatch_chromium.org, estade+watch_chromium.org, erikwright+watch_chromium.org, wjia+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove base/mac/scoped_nsexception_enabler.h. Exception fatalisation is now handled via base::mac::CallWithEHFrame, so this file is unnecessary. The base::mac::ScopedNSExceptionEnabler is removed, since instantiating an NSException is no longer fatal (only an uncaught one is). base::mac::RunBlockIgnoringExceptions has been removed where possible or converted to a @try/@catch to swallow any exceptions. BUG=503128 R=shess@chromium.org Committed: https://crrev.com/787e2b2d0110448a5added6c9aae8fc7f9134144 Cr-Commit-Position: refs/heads/master@{#339884}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -177 lines) Patch
M base/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M base/base.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
D base/mac/scoped_nsexception_enabler.h View 1 chunk +0 lines, -54 lines 0 comments Download
D base/mac/scoped_nsexception_enabler.mm View 1 chunk +0 lines, -63 lines 0 comments Download
M chrome/browser/chrome_browser_application_mac.mm View 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/chrome_browser_application_mac_unittest.mm View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/mac/keystone_glue.mm View 2 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_platform_mac.mm View 1 2 chunks +5 lines, -5 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager_mac.mm View 2 chunks +4 lines, -5 lines 2 comments Download
M media/capture/video/mac/video_capture_device_qtkit_mac.mm View 1 2 chunks +8 lines, -8 lines 0 comments Download
M printing/printing_context_mac.mm View 2 chunks +0 lines, -6 lines 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
Robert Sesek
5 years, 5 months ago (2015-07-21 13:42:24 UTC) #1
Scott Hess - ex-Googler
LGTM!
5 years, 5 months ago (2015-07-21 16:33:13 UTC) #2
Robert Sesek
thakis: //base, //chrome, //ui OWNERS estade: //components/autofill OWNERS dalecurtis: //media OWNERS vitalybuka: //printing OWNERS
5 years, 5 months ago (2015-07-21 18:55:02 UTC) #4
Nico
lgtm
5 years, 5 months ago (2015-07-21 18:59:09 UTC) #5
DaleCurtis
media/ lgtm
5 years, 5 months ago (2015-07-21 19:04:57 UTC) #6
Evan Stade
-estade, +isherman for autofill (because it's mac address book code)
5 years, 5 months ago (2015-07-21 19:53:35 UTC) #8
Evan Stade
ah, since Ilya is OOO, rs lgtm
5 years, 5 months ago (2015-07-21 19:53:51 UTC) #9
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 5 months ago (2015-07-22 02:07:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1233983004/1
5 years, 5 months ago (2015-07-22 03:32:48 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/76070) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 5 months ago (2015-07-22 03:34:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1233983004/20001
5 years, 5 months ago (2015-07-22 15:00:31 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-22 16:06:32 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/787e2b2d0110448a5added6c9aae8fc7f9134144 Cr-Commit-Position: refs/heads/master@{#339884}
5 years, 5 months ago (2015-07-22 16:07:17 UTC) #21
Avi (use Gerrit)
https://codereview.chromium.org/1233983004/diff/20001/components/autofill/core/browser/personal_data_manager_mac.mm File components/autofill/core/browser/personal_data_manager_mac.mm (right): https://codereview.chromium.org/1233983004/diff/20001/components/autofill/core/browser/personal_data_manager_mac.mm#newcode126 components/autofill/core/browser/personal_data_manager_mac.mm:126: // caught by AppKit and it should be swallowed. ...
5 years, 4 months ago (2015-07-28 13:23:17 UTC) #23
Scott Hess - ex-Googler
5 years, 4 months ago (2015-07-28 19:29:14 UTC) #24
Message was sent while issue was closed.
https://codereview.chromium.org/1233983004/diff/20001/components/autofill/cor...
File components/autofill/core/browser/personal_data_manager_mac.mm (right):

https://codereview.chromium.org/1233983004/diff/20001/components/autofill/cor...
components/autofill/core/browser/personal_data_manager_mac.mm:126: // caught by
AppKit and it should be swallowed. http://crbug.com/129022
On 2015/07/28 13:23:17, Avi wrote:
> I believe that exceptions actually do leak from here for malformed address
> books; see http://www.openradar.me/12276058 which I filed.

Looking at the crash server, I think it will be interesting to see if we still
see a bunch of crashes in there due to exceptions, or if the just plain old
crashes in the AB* code overwhelms.

Powered by Google App Engine
This is Rietveld 408576698