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

Issue 1039123002: Web MIDI API: reject sysex permissions on non-secure schemes (Closed)

Created:
5 years, 9 months ago by Takashi Toyoshima
Modified:
5 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web MIDI API: reject sysex permissions on non-secure schemes Since sysex messages are so powerful, Chrome does not allow sysex permission for any requests from non-secure schemes. TEST=manual check with simple page, and embedded iframe page. BUG=470170 Committed: https://crrev.com/9eb573f4ea26fbc1ad3ba3d1988d5227b80fed36 Cr-Commit-Position: refs/heads/master@{#322761}

Patch Set 1 #

Patch Set 2 : test fix #

Total comments: 2

Patch Set 3 : update test comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M chrome/browser/content_settings/permission_context_base.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/permission_context_base_unittest.cc View 1 2 chunks +32 lines, -1 line 0 comments Download

Messages

Total messages: 22 (8 generated)
Takashi Toyoshima
Hi, please take a look.
5 years, 9 months ago (2015-03-27 04:51:20 UTC) #2
markusheintz_
On 2015/03/27 04:51:20, Takashi Toyoshima (chromium) wrote: > Hi, please take a look. LGTM
5 years, 9 months ago (2015-03-27 10:04:25 UTC) #4
msramek
LGTM. Note that it is still possible to set non-secure origin exceptions through the the ...
5 years, 9 months ago (2015-03-27 11:48:10 UTC) #5
Takashi Toyoshima
msramek: ok, I'll fix it in the next CL. I'll keep 470170 open until the ...
5 years, 9 months ago (2015-03-27 12:22:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039123002/1
5 years, 9 months ago (2015-03-27 12:22:41 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/2084)
5 years, 9 months ago (2015-03-27 13:07:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039123002/1
5 years, 8 months ago (2015-03-30 03:59:38 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/2470)
5 years, 8 months ago (2015-03-30 05:05:37 UTC) #14
Takashi Toyoshima
Change the order to check the scheme just before checking stored content settings so that ...
5 years, 8 months ago (2015-03-30 05:31:20 UTC) #15
markusheintz_
LGTM with one nit https://codereview.chromium.org/1039123002/diff/20001/chrome/browser/content_settings/permission_context_base.cc File chrome/browser/content_settings/permission_context_base.cc (right): https://codereview.chromium.org/1039123002/diff/20001/chrome/browser/content_settings/permission_context_base.cc#newcode107 chrome/browser/content_settings/permission_context_base.cc:107: // Web MIDI API does ...
5 years, 8 months ago (2015-03-30 09:27:23 UTC) #16
Takashi Toyoshima
https://codereview.chromium.org/1039123002/diff/20001/chrome/browser/content_settings/permission_context_base.cc File chrome/browser/content_settings/permission_context_base.cc (right): https://codereview.chromium.org/1039123002/diff/20001/chrome/browser/content_settings/permission_context_base.cc#newcode107 chrome/browser/content_settings/permission_context_base.cc:107: // Web MIDI API does not allow any permissions ...
5 years, 8 months ago (2015-03-30 09:47:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039123002/40001
5 years, 8 months ago (2015-03-30 09:47:53 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-03-30 10:39:47 UTC) #21
commit-bot: I haz the power
5 years, 8 months ago (2015-03-30 10:40:18 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9eb573f4ea26fbc1ad3ba3d1988d5227b80fed36
Cr-Commit-Position: refs/heads/master@{#322761}

Powered by Google App Engine
This is Rietveld 408576698