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

Issue 1726943002: First set of WebUSB layout tests with Mojo service mocks. (Closed)

Created:
4 years, 10 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 9 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

First set of WebUSB layout tests with Mojo service mocks. This patch adds a minimal set of layout tests for the WebUSB API that work by registering mock implementations of the Mojo services the Blink implementation depends on. Since these mocks are implemented using the Javascript Mojo bindings they can live right next to the tests that depend on them. BUG=492204 Committed: https://crrev.com/a6f677309a7741a1b9d6f6c510ee8282bfbff8c8 Cr-Commit-Position: refs/heads/master@{#377429}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed most of rockot@'s comments. #

Patch Set 3 : Fix mojo-helpers.js's define function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+652 lines, -9 lines) Patch
M third_party/WebKit/LayoutTests/resources/mojo-helpers.js View 1 2 1 chunk +20 lines, -9 lines 0 comments Download
A third_party/WebKit/LayoutTests/usb/mock-services.html View 1 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/usb/resources/fake-devices.js View 1 1 chunk +107 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js View 1 1 chunk +354 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/usb/usb.html View 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/usb/usbDevice.html View 1 2 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years, 10 months ago (2016-02-23 21:32:34 UTC) #2
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1726943002/diff/1/third_party/WebKit/LayoutTests/usb/resources/fake-devices.js File third_party/WebKit/LayoutTests/usb/resources/fake-devices.js (right): https://codereview.chromium.org/1726943002/diff/1/third_party/WebKit/LayoutTests/usb/resources/fake-devices.js#newcode7 third_party/WebKit/LayoutTests/usb/resources/fake-devices.js:7: resolve([ Will we never want to refer to fake ...
4 years, 10 months ago (2016-02-23 23:12:49 UTC) #3
Reilly Grant (use Gerrit)
Please take a look at this as we discussed the tests hang for an unknown ...
4 years, 10 months ago (2016-02-24 20:18:47 UTC) #4
Reilly Grant (use Gerrit)
I think this fixes it.
4 years, 10 months ago (2016-02-24 22:23:16 UTC) #5
Ken Rockot(use gerrit already)
lgtm
4 years, 10 months ago (2016-02-24 22:26:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1726943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1726943002/40001
4 years, 10 months ago (2016-02-24 22:56:29 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-25 00:10:56 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a6f677309a7741a1b9d6f6c510ee8282bfbff8c8 Cr-Commit-Position: refs/heads/master@{#377429}
4 years, 10 months ago (2016-02-25 00:12:29 UTC) #11
Dirk Pranke
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1734753003/ by dpranke@chromium.org. ...
4 years, 10 months ago (2016-02-25 05:47:59 UTC) #12
Reilly Grant (use Gerrit)
4 years, 9 months ago (2016-02-26 22:14:38 UTC) #13
Message was sent while issue was closed.
On 2016/02/25 05:47:59, Dirk Pranke wrote:
> A revert of this CL (patchset #3 id:40001) has been created in
> https://codereview.chromium.org/1734753003/ by mailto:dpranke@chromium.org.
> 
> The reason for reverting is: Odd, I'm not sure what happened, but these layout
> tests appear to have passed the trybots and crashed on the waterfall bots:
> 
>
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7/builds/39956
>
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.9/builds...

Do these waterfall bots have equivalent trybots I could run?

Powered by Google App Engine
This is Rietveld 408576698