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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt_automation/webusb/webusb-test.js

Issue 2789723003: Migrate WebUSB LayoutTests into external/wpt (Closed)
Patch Set: Created 3 years, 8 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
1 'use strict'; 1 'use strict';
2 2
3 // This polyfil library implements the following WebIDL: 3 // This polyfil library implements the following WebIDL:
foolip 2017/04/05 06:03:32 Is this test API included in some spec? It's not i
Reilly Grant (use Gerrit) 2017/04/05 18:39:37 This test API is not yet included in any spec. The
4 // 4 //
5 // partial interface USB { 5 // partial interface USB {
6 // [SameObject] readonly attribute USBTest test; 6 // [SameObject] readonly attribute USBTest test;
7 // } 7 // }
8 // 8 //
9 // interface USBTest { 9 // interface USBTest {
10 // attribute EventHandler ondeviceclose; 10 // attribute EventHandler ondeviceclose;
11 // attribute DOMString? chosenDevice; 11 // attribute DOMString? chosenDevice;
12 // attribute FrozenArray<USBDeviceFilter>? lastFilters; 12 // attribute FrozenArray<USBDeviceFilter>? lastFilters;
13 // 13 //
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 556
557 g_deviceManager.removeAllDevices(); 557 g_deviceManager.removeAllDevices();
558 g_chooserService.setChosenDevice(null); 558 g_chooserService.setChosenDevice(null);
559 g_closeListener = null; 559 g_closeListener = null;
560 } 560 }
561 } 561 }
562 562
563 navigator.usb.test = new USBTest(); 563 navigator.usb.test = new USBTest();
564 564
565 })(); 565 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698