[wpt-sync] Sync PR 28122 - usb: Support devices without interfaces in macOS backend
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28122 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28122
Details from upstream follow.
b'Reilly Grant <reillyg@chromium.org>' wrote:
usb: Support devices without interfaces in macOS backend
This change fixes support for USB devices that do not have any
interfaces by using the DeviceRequestAsyncTO method instead of
ControlRequestAsyncTO when submitting control transfers as the
latter assumes an IOUsbInterfaceInterface struct can be found.A new manual tests which exercises the controlTransferIn() method is
added to exercise this codepath.Bug: 1096743
Change-Id: I4601c7526ad08fe9f3be8cb7983e00c54266ee12
Reviewed-on: https://chromium-review.googlesource.com/2770479
WPT-Export-Revision: ced9c92b164a2160d82bd0bac546a0afc9640b8e
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=ffce4eea3822484877085d64a70fa782b5d6f48f
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5fb9c71d197 [wpt PR 28122] - usb: Support devices without interfaces in macOS backend, a=testonly
Assignee | ||
Comment 3•3 years ago
|
||
Test result changes from PR not available.
Comment 4•3 years ago
|
||
bugherder |
Description
•