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

Issue 8883040: [Mac] Ignore spell-checker exceptions. (Closed)

Created:
9 years ago by Scott Hess - ex-Googler
Modified:
9 years ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

[Mac] Ignore spell-checker exceptions. Pasteboard corruption or bad third-party code can cause +[NSSpellChecker sharedSpellChecker] to throw NSExceptions. Chrome treats NSExceptions as fatal, because they generally mean things are awry. Since this call can happen in response to calls from the renderer, and the exceptions are not thrown from Chrome code, this change enables them while retrieving the shared instance. BUG=92399, 95728 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113891

Patch Set 1 #

Patch Set 2 : Wordsmithing. #

Total comments: 4

Patch Set 3 : s/Calls/Executes/. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -22 lines) Patch
M base/mac/scoped_nsexception_enabler.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M base/mac/scoped_nsexception_enabler.mm View 1 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellchecker_mac.mm View 1 12 chunks +32 lines, -22 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Scott Hess - ex-Googler
http://codereview.chromium.org/8883040/diff/2001/base/mac/scoped_nsexception_enabler.h File base/mac/scoped_nsexception_enabler.h (right): http://codereview.chromium.org/8883040/diff/2001/base/mac/scoped_nsexception_enabler.h#newcode49 base/mac/scoped_nsexception_enabler.h:49: BASE_EXPORT id PerformSelectorIgnoringExceptions(NSObject* target, SEL sel); I wanted to ...
9 years ago (2011-12-09 01:46:28 UTC) #1
Robert Sesek
lgtm
9 years ago (2011-12-09 21:50:38 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/8883040/2001
9 years ago (2011-12-09 21:53:56 UTC) #3
commit-bot: I haz the power
Presubmit check for 8883040-2001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-09 21:53:59 UTC) #4
Scott Hess - ex-Googler
OWNERS, from the depths of hell, I stab at thee. Nico, can I borrow your ...
9 years ago (2011-12-09 21:58:09 UTC) #5
Nico
stamp lgtm http://codereview.chromium.org/8883040/diff/2001/base/mac/scoped_nsexception_enabler.h File base/mac/scoped_nsexception_enabler.h (right): http://codereview.chromium.org/8883040/diff/2001/base/mac/scoped_nsexception_enabler.h#newcode46 base/mac/scoped_nsexception_enabler.h:46: // Calls [target performSelector:sel] with fatal-exceptions turned ...
9 years ago (2011-12-09 22:01:07 UTC) #6
Scott Hess - ex-Googler
On 2011/12/09 22:01:07, Nico wrote: > stamp lgtm > > http://codereview.chromium.org/8883040/diff/2001/base/mac/scoped_nsexception_enabler.h > File base/mac/scoped_nsexception_enabler.h (right): ...
9 years ago (2011-12-09 22:05:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/8883040/6002
9 years ago (2011-12-09 22:05:59 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-10 00:17:07 UTC) #9
Change committed as 113891

Powered by Google App Engine
This is Rietveld 408576698