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

Issue 2831223003: Move the onclose event handler to the FakeUSBDevice object (Closed)

Created:
3 years, 8 months ago by Reilly Grant (use Gerrit)
Modified:
3 years, 8 months ago
Reviewers:
mcasas
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the onclose event handler to the FakeUSBDevice object This updates the WebUSB Testing API polyfill to put the onclose event handler on the FakeUSBDevice object which makes tests a little simpler. BUG=705734 Review-Url: https://codereview.chromium.org/2831223003 Cr-Commit-Position: refs/heads/master@{#466774} Committed: https://chromium.googlesource.com/chromium/src/+/34237a69cf404e36413627836b4a5e501759dafd

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -17 lines) Patch
M third_party/WebKit/LayoutTests/usb/resources/webusb-test.js View 1 5 chunks +6 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html View 3 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
Reilly Grant (use Gerrit)
PTAL
3 years, 8 months ago (2017-04-20 22:43:20 UTC) #4
mcasas
lgtm w/ an idea. https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js File third_party/WebKit/LayoutTests/usb/resources/webusb-test.js (right): https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js#newcode396 third_party/WebKit/LayoutTests/usb/resources/webusb-test.js:396: this.onclose = null; I think ...
3 years, 8 months ago (2017-04-21 02:02:35 UTC) #8
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js File third_party/WebKit/LayoutTests/usb/resources/webusb-test.js (right): https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js#newcode396 third_party/WebKit/LayoutTests/usb/resources/webusb-test.js:396: this.onclose = null; On 2017/04/21 02:02:35, mcasas wrote: > ...
3 years, 8 months ago (2017-04-24 19:29:15 UTC) #9
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/2831223003/20001
3 years, 8 months ago (2017-04-24 19:30:44 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/254979) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago (2017-04-24 19:35:43 UTC) #13
Reilly Grant (use Gerrit)
Rebased
3 years, 8 months ago (2017-04-24 20:19:31 UTC) #14
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/2831223003/40001
3 years, 8 months ago (2017-04-24 20:28:03 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 21:35:19 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/34237a69cf404e36413627836b4a...

Powered by Google App Engine
This is Rietveld 408576698