| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharness-helpers.js"></script> | |
| 4 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 5 <script src="resources/bluetooth-helpers.js"></script> | 4 <script src="resources/bluetooth-helpers.js"></script> |
| 6 <body> | 5 <body> |
| 7 <script> | 6 <script> |
| 8 "use strict"; | 7 "use strict"; |
| 9 | 8 |
| 10 const numIframes = 5; | 9 const numIframes = 5; |
| 11 | 10 |
| 12 async_test(test => { | 11 async_test(test => { |
| 13 let readiesReceived = 0; | 12 let readiesReceived = 0; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 39 | 38 |
| 40 testRunner.setBluetoothMockDataSet('GenericAccessAdapter'); | 39 testRunner.setBluetoothMockDataSet('GenericAccessAdapter'); |
| 41 for (let i = 0; i < numIframes; i++) { | 40 for (let i = 0; i < numIframes; i++) { |
| 42 let iframe = document.createElement('iframe'); | 41 let iframe = document.createElement('iframe'); |
| 43 iframe.src = 'resources/requestDevice-in-iframe.html'; | 42 iframe.src = 'resources/requestDevice-in-iframe.html'; |
| 44 document.body.appendChild(iframe); | 43 document.body.appendChild(iframe); |
| 45 } | 44 } |
| 46 }, 'Concurrent requestDevice calls in iframes work.'); | 45 }, 'Concurrent requestDevice calls in iframes work.'); |
| 47 </script> | 46 </script> |
| 48 </body> | 47 </body> |
| OLD | NEW |