tree: ea1bc3915eba6635fb11a7436f1cfd3c14981a6f
  1. getDevices/
  2. requestDevice/
  3. resources/
  4. DIR_METADATA
  5. idlharness.https.any-expected.txt
  6. idlharness.https.any.js
  7. idlharness.https.any.worker-expected.txt
  8. insecure-context.any.js
  9. META.yml
  10. OWNERS
  11. protected-interface-classes.https.any.js
  12. README.md
  13. usb-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html
  14. usb-allowed-by-permissions-policy-attribute.https.sub.html
  15. usb-allowed-by-permissions-policy.https.sub.html
  16. usb-allowed-by-permissions-policy.https.sub.html.headers
  17. usb-default-permissions-policy.https.sub.html
  18. usb-disabled-by-permissions-policy.https.sub.html
  19. usb-disabled-by-permissions-policy.https.sub.html.headers
  20. usb-garbage-collection.https.window.js
  21. usb-supported-by-permissions-policy.html
  22. usb.https.any.js
  23. usb.https.window.js
  24. usb.serviceworker.https.html
  25. usb.serviceworker.js
  26. usbAlternateInterface.https.any.js
  27. usbConfiguration.https.any.js
  28. usbConnectionEvent.https.any.js
  29. usbDevice-iframe.https.html
  30. usbDevice-same-objecct.https.any.js
  31. usbDevice-worker.https.html
  32. usbDevice.https.any.js
  33. usbDevice_claimInterface-manual.https.html
  34. usbDevice_controlTransferIn-manual.https.html
  35. usbDevice_forget-manual.https.html
  36. usbDevice_reset-manual.https.html
  37. usbDevice_transferIn-manual.https.html
  38. usbEndpoint.https.any.js
  39. usbInterface.https.any.js
  40. usbInTransferResult.https.any.js
  41. usbIsochronousInTransferPacket.https.any.js
  42. usbIsochronousInTransferResult.https.any.js
  43. usbIsochronousOutTransferPacket.https.any.js
  44. usbIsochronousOutTransferResult.https.any.js
  45. usbOutTransferResult.https.any.js
  46. WEB_FEATURES.yml
third_party/blink/web_tests/external/wpt/webusb/README.md

WebUSB Testing

WebUSB testing relies on the WebUSB Testing API which must be provided by browsers under test.

In this test suite resources/usb-helpers.js detects and triggers the API to be loaded as needed.

The Chromium implementation is provided by ../resources/chromium/webusb-test.js using MojoJS.

Tests with the “-manual” suffix do not use the test-only interface and expect a real hardware device to be connected. The specific characteristics of the device are described in each test.