Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-csp-iframe.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698