| 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 | 7 |
| 8 function test1() { | 8 function test1() { |
| 9 var img = document.createElement('img'); | 9 var img = document.createElement('img'); |
| 10 document.body.appendChild(img); | 10 document.body.appendChild(img); |
| 11 img.onload = function() { | 11 img.onload = function() { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } | 62 } |
| 63 | 63 |
| 64 function finish() { | 64 function finish() { |
| 65 results += 'finish'; | 65 results += 'finish'; |
| 66 window.parent.postMessage({results: results}, host_info['HTTPS_ORIGIN']); | 66 window.parent.postMessage({results: results}, host_info['HTTPS_ORIGIN']); |
| 67 } | 67 } |
| 68 </script> | 68 </script> |
| 69 | 69 |
| 70 <body onload='test1();'> | 70 <body onload='test1();'> |
| 71 </body> | 71 </body> |
| OLD | NEW |