| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.sub.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.sub.html
|
| similarity index 89%
|
| rename from third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.html
|
| rename to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.sub.html
|
| index 9b61342962072fb3f2afc66a290df54f5ff571d7..14fce4aecd14bda3b46e27fb0319b81116c32840 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.sub.html
|
| @@ -15,12 +15,7 @@
|
| var source_test = async_test("Disallowed audio source element");
|
|
|
| // we assume tests are run from 'hostname' and 'www.hostname' or 'www2.hostname' is a valid alias
|
| - var mediaURL = location.protocol +
|
| - "//www2." +
|
| - location.hostname +
|
| - ":" +
|
| - location.port +
|
| - "/media/sound_5.mp3";
|
| + var mediaURL = location.protocol + "//{{domains[www2]}}:{{ports[http][0]}}/media/sound_5.oga";
|
|
|
| function media_loaded(t) {
|
| t.step( function () {
|
| @@ -37,7 +32,7 @@
|
| <audio id="audioObject" width="320" height="240" controls
|
| onloadeddata="media_loaded(source_test)">
|
| <source id="audioSourceObject"
|
| - type="audio/mpeg"
|
| + type="audio/ogg"
|
| onerror="media_error_handler(source_test)">
|
| </audio>
|
| <audio id="audioObject2" width="320" height="240" controls
|
|
|