| OLD | NEW |
| 1 <script src="../resources/get-host-info.sub.js"></script> | 1 <script src="/common/get-host-info.sub.js"></script> |
| 2 <script src="test-helpers.sub.js?pipe=sub"></script> | 2 <script src="test-helpers.sub.js?pipe=sub"></script> |
| 3 <script> | 3 <script> |
| 4 var image_path = base_path() + 'fetch-access-control.py?PNGIMAGE'; | 4 var image_path = base_path() + 'fetch-access-control.py?PNGIMAGE'; |
| 5 var host_info = get_host_info(); | 5 var host_info = get_host_info(); |
| 6 var results = ''; | 6 var results = ''; |
| 7 var port = undefined; | 7 var port = undefined; |
| 8 | 8 |
| 9 function test1() { | 9 function test1() { |
| 10 var img = document.createElement('img'); | 10 var img = document.createElement('img'); |
| 11 document.body.appendChild(img); | 11 document.body.appendChild(img); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 function finish() { | 63 function finish() { |
| 64 results += 'finish'; | 64 results += 'finish'; |
| 65 port.postMessage({results: results}); | 65 port.postMessage({results: results}); |
| 66 } | 66 } |
| 67 | 67 |
| 68 window.addEventListener('message', function(evt) { | 68 window.addEventListener('message', function(evt) { |
| 69 port = evt.ports[0]; | 69 port = evt.ports[0]; |
| 70 test1(); | 70 test1(); |
| 71 }, false); | 71 }, false); |
| 72 </script> | 72 </script> |
| OLD | NEW |