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

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

Issue 2789723003: Migrate WebUSB LayoutTests into external/wpt (Closed)
Patch Set: Rebased 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:
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;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 573
574 g_deviceManager.removeAllDevices(); 574 g_deviceManager.removeAllDevices();
575 g_chooserService.setChosenDevice(null); 575 g_chooserService.setChosenDevice(null);
576 g_closeListener = null; 576 g_closeListener = null;
577 } 577 }
578 } 578 }
579 579
580 navigator.usb.test = new USBTest(); 580 navigator.usb.test = new USBTest();
581 581
582 })(); 582 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698