Bug 1874684 - Part 4: Prefer const references instead of copying Instant values....
[gecko.git] / dom / midi / tests / port_ids_page_2.html
blob8c313b04da90cc5a17b6450e9ac5bc3cd60b6e2c
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Stable MIDI port id test</title>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8"></meta>
6 </head>
7 <body>
8 <script>
9 async function get_first_input_id() {
10 let access = await navigator.requestMIDIAccess({ sysex: false });
11 const inputs = access.inputs.values();
12 const input = inputs.next();
13 return input.value.id;
15 </script>
16 </body>
17 </html>