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

Issue 1885823002: Fix bug: MIDI causes crash on onContentSettingChanged() (Closed)

Created:
4 years, 8 months ago by lshang
Modified:
4 years, 8 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, mlamouri+watch-permissions_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug: MIDI causes crash on onContentSettingChanged() MIDI subscription will cause crash on onContentSettingChanged() because there isn't corresponding content setting. Skip it because MIDI is constant permission and it never changes anyway. BUG=599060 Committed: https://crrev.com/3c02c9483d9b17a50f9a9dd45a72f8da4a7c4c73 Cr-Commit-Position: refs/heads/master@{#387174}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add test #

Patch Set 3 : remove {} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M chrome/browser/permissions/permission_manager.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_manager_unittest.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
lshang
PTAL thanks!
4 years, 8 months ago (2016-04-13 03:40:43 UTC) #4
raymes
Thanks Liu. We should probably add a simple test to permission_manager_unittest.cc, similar to SameTypeChangeNotifies. https://codereview.chromium.org/1885823002/diff/1/chrome/browser/permissions/permission_manager.cc ...
4 years, 8 months ago (2016-04-13 04:11:36 UTC) #6
lshang
On 2016/04/13 04:11:36, raymes wrote: > Thanks Liu. We should probably add a simple test ...
4 years, 8 months ago (2016-04-13 06:31:06 UTC) #7
mlamouri (slow - plz ping)
lgtm
4 years, 8 months ago (2016-04-13 12:48:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885823002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885823002/40001
4 years, 8 months ago (2016-04-14 00:00:00 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-14 00:36:10 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 00:38:24 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3c02c9483d9b17a50f9a9dd45a72f8da4a7c4c73
Cr-Commit-Position: refs/heads/master@{#387174}

Powered by Google App Engine
This is Rietveld 408576698