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