Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-request-resources-iframe.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-request-resources-iframe.https.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-request-resources-iframe.https.html |
index 93b038dd67c590b5011e0bded4ce5dab338f25fa..2e5d7dfe97244cb569e75b524f1d19b12f54e3a7 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-request-resources-iframe.https.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-request-resources-iframe.https.html |
@@ -63,5 +63,13 @@ function load_css_with_integrity(url, integrity) { |
document.body.appendChild(link); |
} |
+function load_audio(url, cross_origin) { |
+ var audio = document.createElement('audio'); |
+ if (cross_origin != '') { |
+ audio.crossOrigin = cross_origin; |
+ } |
+ audio.src = url; |
+ document.body.appendChild(audio); |
+} |
</script> |
</body> |