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

Issue 2112553009: mac: Crash on uncaught Objective-C exceptions routed to NSApplication (Closed)

Created:
4 years, 5 months ago by Mark Mentovai
Modified:
4 years, 5 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Crash on uncaught Objective-C exceptions routed to NSApplication -[NSApplication reportException:] accepts an NSException* which it logs via NSLog(), and then takes one of these actions: 1. Immediate intentional crash. 2. Swallow the exception and return. 3. Show a dialog that lets the user choose between 1 and 2. The only option that makes sense to Chrome is (1), an immediate intentional crash, which can be achieved by setting the NSApplicationCrashOnExceptions user default to YES. Do this early in application startup. BUG=624885 Committed: https://crrev.com/b296d953fe840f3cdf609bde2dc3de53baabae63 Cr-Commit-Position: refs/heads/master@{#403545}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Self-review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M chrome/browser/chrome_browser_main_mac.mm View 1 chunk +0 lines, -8 lines 0 comments Download
M content/app/mac/mac_init.mm View 1 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
Mark Mentovai
https://codereview.chromium.org/2112553009/diff/1/content/app/mac/mac_init.mm File content/app/mac/mac_init.mm (right): https://codereview.chromium.org/2112553009/diff/1/content/app/mac/mac_init.mm#newcode22 content/app/mac/mac_init.mm:22: // looks like a mistake, but the value really ...
4 years, 5 months ago (2016-07-01 21:07:22 UTC) #2
Avi (use Gerrit)
lgtm
4 years, 5 months ago (2016-07-01 21:10:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112553009/20001
4 years, 5 months ago (2016-07-01 21:13:35 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-01 22:05:00 UTC) #7
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-01 22:05:02 UTC) #8
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 22:07:00 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b296d953fe840f3cdf609bde2dc3de53baabae63
Cr-Commit-Position: refs/heads/master@{#403545}

Powered by Google App Engine
This is Rietveld 408576698