Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUSB API issue #5418

Closed
drom opened this issue Oct 30, 2016 · 4 comments
Closed

WebUSB API issue #5418

drom opened this issue Oct 30, 2016 · 4 comments
Assignees

Comments

@drom
Copy link

drom commented Oct 30, 2016

I am trying to use WebUSB API and getting the error.

code: https://github.com/drom/jsdr/blob/master/experiments/WebUSB/src/app.js

My platform:

  • nwjs 0.18.3
  • Linux 4.8.4-1-default (x64)

Error:

drom@linux-xqxs:~/work/github/drom/jsdr/experiments/WebUSB> ./cache/web-usb-demo-v0.1.0-linux-x64/web-usb-demo --enable-experimental-web-platform-features
[21540:21540:1030/152608:ERROR:interface_registry.cc(99)] Failed to locate a binder for interface: device::usb::DeviceManager
[21540:21540:1030/152608:INFO:CONSOLE(0)] "Uncaught (in promise) NotFoundError: USB service unavailable.", source: chrome-extension://bpjaafjkaapkjdomphdmoljjgcdjbagn/index.html (0)
@rogerwang
Copy link
Member

Does Chrome 54 working in the same system?

@drom
Copy link
Author

drom commented Oct 31, 2016

Yes, it does works in chromium 54.0.2840.71 with flag: --enable-experimental-web-platform-features
on the same machine.

@rogerwang rogerwang self-assigned this Nov 4, 2016
@rogerwang
Copy link
Member

Upstream disabled this feature for Chrome Apps: https://bugs.chromium.org/p/chromium/issues/detail?id=610880

We'll enable it because we use a different security model.

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants