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

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

Issue 2858093002: Upstream service worker `fetch` test to WPT (Closed)
Patch Set: Incorporate review feedback Created 3 years, 7 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="test-helpers.sub.js?pipe=sub"></script> 1 <script src="test-helpers.sub.js?pipe=sub"></script>
2 <body> 2 <body>
3 <script> 3 <script>
4 4
5 function load_image(url, cross_origin) { 5 function load_image(url, cross_origin) {
6 var img = document.createElement('img'); 6 var img = document.createElement('img');
7 if (cross_origin != '') { 7 if (cross_origin != '') {
8 img.crossOrigin = cross_origin; 8 img.crossOrigin = cross_origin;
9 } 9 }
10 img.src = url; 10 img.src = url;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 function load_css_with_integrity(url, integrity) { 57 function load_css_with_integrity(url, integrity) {
58 var link = document.createElement('link'); 58 var link = document.createElement('link');
59 link.rel = 'stylesheet' 59 link.rel = 'stylesheet'
60 link.href = url; 60 link.href = url;
61 link.type = 'text/css'; 61 link.type = 'text/css';
62 link.integrity = integrity; 62 link.integrity = integrity;
63 document.body.appendChild(link); 63 document.body.appendChild(link);
64 } 64 }
65 65
66 function load_audio(url, cross_origin) {
67 var audio = document.createElement('audio');
68 if (cross_origin != '') {
69 audio.crossOrigin = cross_origin;
70 }
71 audio.src = url;
72 document.body.appendChild(audio);
73 }
66 </script> 74 </script>
67 </body> 75 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698