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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webusb/resources/check-availability.html

Issue 2815003005: Integrate WebUSB with Feature Policy (Closed)
Patch Set: Rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <script>
2 'use strict';
3
4 Promise.resolve().then(() => navigator.usb.getDevices()).then(devices => {
5 window.parent.postMessage('#OK', '*');
6 }, error => {
7 window.parent.postMessage('#' + error.name, '*');
8 });
9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698