|
|
|
Created:
4 years, 11 months ago by mlamouri (slow - plz ping) Modified:
4 years, 11 months ago Reviewers:
Takashi Toyoshima CC:
blink-reviews Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Target Ref:
refs/heads/master Project:
blink Visibility:
Public. |
DescriptionTests that Permissions API and requestMidiAccess() are consistent.
BUG=474545
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196329
Patch Set 1 #Patch Set 2 : add comments #
Total comments: 1
Patch Set 3 : review comments #Messages
Total messages: 28 (11 generated)
mlamouri@chromium.org changed reviewers: + toyoshim@chromium.org
Does this make sense? Layout test implements a specific permission manager for testing. It seems that my original simple mock for MIDI was replaced with a LayoutTestPermissionManager to handle all permissions, so my concern could be wrong. But, I'm afraid that it does not reach content settings layers, and code path is completely different between tests and the production.
On 2015/05/25 at 03:28:11, toyoshim wrote: > Does this make sense? > Layout test implements a specific permission manager for testing. It seems that my original simple mock for MIDI was replaced with a LayoutTestPermissionManager to handle all permissions, so my concern could be wrong. But, I'm afraid that it does not reach content settings layers, and code path is completely different between tests and the production. That's correct. We could not land that test but I think it does underline a requirement of the API which isn't bad to have as a test. WDYT?
I think it's ok to have this test, but we may want to add some comments in the test so that someone who works on this feature won't be confused.
Comments added. PTAL.
lgtm with one comment.
Oops, comment is here. https://codereview.chromium.org/1155823002/diff/20001/LayoutTests/http/tests/... File LayoutTests/http/tests/permissions/test-midi-sysex-insecure-origin.html (right): https://codereview.chromium.org/1155823002/diff/20001/LayoutTests/http/tests/... LayoutTests/http/tests/permissions/test-midi-sysex-insecure-origin.html:14: // the Permissions API calls are using a mock implementation of the backend. Can you do s/the Permission API/the Permission API and requestMIDIAccess of the Web MIDI API/?
The CQ bit was checked by mlamouri@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from toyoshim@chromium.org Link to the patchset: https://codereview.chromium.org/1155823002/#ps40001 (title: "review comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155823002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/6...)
The CQ bit was checked by mlamouri@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155823002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/6...)
The CQ bit was checked by mlamouri@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155823002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/6...)
The CQ bit was checked by mlamouri@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155823002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/6...)
The CQ bit was checked by mlamouri@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155823002/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196329 |
Chromium Code Reviews