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

Issue 2487113002: Web MIDI: fix a regression of r430234 (Closed)

Created:
4 years, 1 month ago by Takashi Toyoshima
Modified:
4 years, 1 month ago
Reviewers:
tkent, yhirano
CC:
blink-reviews, chromium-reviews, haraken, toyoshim+midi_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web MIDI: fix a regression of r430234 This issue depends on platform on that how devices are initialized, but at least on macOS, this causes problems that devices get not responsive. BUG=663501 Committed: https://crrev.com/ac5d7642d517d225a02d66804a26a49a9bb4567e Cr-Commit-Position: refs/heads/master@{#431851}

Patch Set 1 #

Patch Set 2 : cl format #

Total comments: 13

Patch Set 3 : review #18 #

Total comments: 4

Patch Set 4 : testharness #

Patch Set 5 : style nits #

Patch Set 6 : fix a bug that was discussed offline #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -59 lines) Patch
M components/test_runner/mock_web_midi_accessor.h View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M components/test_runner/mock_web_midi_accessor.cc View 1 2 3 4 5 2 chunks +81 lines, -14 lines 1 comment Download
A third_party/WebKit/LayoutTests/webmidi/add-port.html View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webmidi/implicit-open-expected.txt View 1 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/webmidi/open-close-expected.txt View 1 4 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/webmidi/requestmidiaccess.html View 1 6 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/webmidi/requestmidiaccess-expected.txt View 1 1 chunk +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp View 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
Takashi Toyoshima
yhirano: sorry, there is one issue in my last change. can you take a look ...
4 years, 1 month ago (2016-11-09 06:51:07 UTC) #5
yhirano
description: s/responsible/responsive/, maybe? Can we have a test?
4 years, 1 month ago (2016-11-09 07:01:51 UTC) #8
Takashi Toyoshima
Modified Web MIDI mock, then add one layout test.
4 years, 1 month ago (2016-11-09 12:38:11 UTC) #14
Takashi Toyoshima
friendly ping. without this fix, Web MIDI is completely unavailable on Canary/Dev now.
4 years, 1 month ago (2016-11-11 11:58:06 UTC) #17
yhirano
Sorry for the delay. https://codereview.chromium.org/2487113002/diff/20001/components/test_runner/mock_web_midi_accessor.cc File components/test_runner/mock_web_midi_accessor.cc (right): https://codereview.chromium.org/2487113002/diff/20001/components/test_runner/mock_web_midi_accessor.cc#newcode25 components/test_runner/mock_web_midi_accessor.cc:25: const unsigned char kSysexHeader[] = ...
4 years, 1 month ago (2016-11-14 04:32:55 UTC) #18
Takashi Toyoshima
https://codereview.chromium.org/2487113002/diff/20001/components/test_runner/mock_web_midi_accessor.cc File components/test_runner/mock_web_midi_accessor.cc (right): https://codereview.chromium.org/2487113002/diff/20001/components/test_runner/mock_web_midi_accessor.cc#newcode25 components/test_runner/mock_web_midi_accessor.cc:25: const unsigned char kSysexHeader[] = {0xf0, 0x00, 0x02, 0x0d, ...
4 years, 1 month ago (2016-11-14 06:25:28 UTC) #19
Takashi Toyoshima
+tkent from components/test_runner/OWNERS
4 years, 1 month ago (2016-11-14 06:26:40 UTC) #21
tkent
https://codereview.chromium.org/2487113002/diff/40001/third_party/WebKit/LayoutTests/webmidi/add-port.html File third_party/WebKit/LayoutTests/webmidi/add-port.html (right): https://codereview.chromium.org/2487113002/diff/40001/third_party/WebKit/LayoutTests/webmidi/add-port.html#newcode4 third_party/WebKit/LayoutTests/webmidi/add-port.html:4: <script src="../resources/js-test.js"></script> Do you have any reason to avoid ...
4 years, 1 month ago (2016-11-14 06:34:02 UTC) #22
Takashi Toyoshima
ok, now the test is in testharness style. ptal. https://codereview.chromium.org/2487113002/diff/40001/third_party/WebKit/LayoutTests/webmidi/add-port.html File third_party/WebKit/LayoutTests/webmidi/add-port.html (right): https://codereview.chromium.org/2487113002/diff/40001/third_party/WebKit/LayoutTests/webmidi/add-port.html#newcode4 third_party/WebKit/LayoutTests/webmidi/add-port.html:4: ...
4 years, 1 month ago (2016-11-14 07:53:43 UTC) #23
tkent
lgtm
4 years, 1 month ago (2016-11-14 08:02:37 UTC) #24
Takashi Toyoshima
https://codereview.chromium.org/2487113002/diff/100001/components/test_runner/mock_web_midi_accessor.cc File components/test_runner/mock_web_midi_accessor.cc (right): https://codereview.chromium.org/2487113002/diff/100001/components/test_runner/mock_web_midi_accessor.cc#newcode68 components/test_runner/mock_web_midi_accessor.cc:68: if (port_index < next_input_port_index_) fixed
4 years, 1 month ago (2016-11-14 09:12:30 UTC) #25
yhirano
lgtm
4 years, 1 month ago (2016-11-14 09:15:51 UTC) #26
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/2487113002/100001
4 years, 1 month ago (2016-11-14 09:25:50 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-14 10:37:18 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 10:39:36 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ac5d7642d517d225a02d66804a26a49a9bb4567e
Cr-Commit-Position: refs/heads/master@{#431851}

Powered by Google App Engine
This is Rietveld 408576698