OLD | NEW |
---|---|
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 Loading... | |
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 })(); |
OLD | NEW |