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 params = get_query_params(location.href); | 6 var params = get_query_params(location.href); |
7 | 7 |
8 var NOT_TAINTED = 'NOT_TAINTED'; | 8 var NOT_TAINTED = 'NOT_TAINTED'; |
9 var TAINTED = 'TAINTED'; | 9 var TAINTED = 'TAINTED'; |
10 var LOAD_ERROR = 'LOAD_ERROR'; | 10 var LOAD_ERROR = 'LOAD_ERROR'; |
11 | 11 |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 NOT_TAINTED) | 285 NOT_TAINTED) |
286 ]) | 286 ]) |
287 .then(function() { | 287 .then(function() { |
288 port.postMessage({results: 'finish'}); | 288 port.postMessage({results: 'finish'}); |
289 }) | 289 }) |
290 .catch(function(e) { | 290 .catch(function(e) { |
291 port.postMessage({results: 'failure:' + e}); | 291 port.postMessage({results: 'failure:' + e}); |
292 }); | 292 }); |
293 }, false); | 293 }, false); |
294 </script> | 294 </script> |
OLD | NEW |