|
|
Chromium Code Reviews|
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. |
DescriptionMove 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 #
Messages
Total messages: 23 (15 generated)
The CQ bit was checked by reillyg@chromium.org to run a CQ dry run
Patchset #1 (id:1) has been deleted
reillyg@chromium.org changed reviewers: + mcasas@chromium.org
PTAL
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
lgtm w/ an idea. https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/usb/resources/webusb-test.js (right): https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/usb/resources/webusb-test.js:396: this.onclose = null; I think JS initializes all onBla event listeners to null, if so this is redundant.
https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/usb/resources/webusb-test.js (right): https://codereview.chromium.org/2831223003/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/usb/resources/webusb-test.js:396: this.onclose = null; On 2017/04/21 02:02:35, mcasas wrote: > I think JS initializes all onBla event listeners to null, > if so this is redundant. I need to write an actual polyfill EventTarget implementation that implements both addEventListener and EventHandler attributes correctly. This code just uses it as a normal attribute so I have to initialize.
The CQ bit was checked by reillyg@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_clan...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
Rebased
The CQ bit was checked by reillyg@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by reillyg@chromium.org
The CQ bit was checked by reillyg@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mcasas@chromium.org Link to the patchset: https://codereview.chromium.org/2831223003/#ps40001 (title: "Rebased")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1493065631322730,
"parent_rev": "5cf00322124a19db68f811f0c2740243c48ac6cb", "commit_rev":
"34237a69cf404e36413627836b4a5e501759dafd"}
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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/+/34237a69cf404e36413627836b4a... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/34237a69cf404e36413627836b4a... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
