blob: b240da933ade1595d3b1965c3ca6613c91c8318f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['serial'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
Serial: ['navigator.serial'],
// TODO: SerialPort
// TODO: SerialPortInfo
});
if (self.GLOBAL.isWorker()) {
idl_array.add_objects({ WorkerNavigator: ['navigator'] });
} else {
idl_array.add_objects({ Navigator: ['navigator'] });
}
}
);
|