OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 | 9 |
10 <script> | 10 <script> |
11 description("Tests concurrent calls to crypto.randomValues from workers."); | 11 description("Tests concurrent calls to crypto.randomValues from workers."); |
12 | 12 |
13 // Generate random values from different 10 workers, and wait until they | 13 // Generate random values from different 10 workers, and wait until they |
14 // have all finished. | 14 // have all finished. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 worker.onerror = function(event) | 51 worker.onerror = function(event) |
52 { | 52 { |
53 debug('Got error from worker: ' + event.message); | 53 debug('Got error from worker: ' + event.message); |
54 finishJSTest(); | 54 finishJSTest(); |
55 } | 55 } |
56 } | 56 } |
57 </script> | 57 </script> |
58 | 58 |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |