| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.sub.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.sub.html
|
| similarity index 89%
|
| rename from third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.html
|
| rename to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.sub.html
|
| index 61d4b142579015561b1a1da222ebbf5d47e834c7..58b566c1dbcda92c29390dce84b1c18376ae7581 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_1_2.sub.html
|
| @@ -15,12 +15,7 @@
|
| var source_test = async_test("Disallowed async video 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/white.mp4";
|
| + var mediaURL = location.protocol + "//{{domains[www2]}}:{{ports[http][0]}}/media/A4.ogv";
|
|
|
| function media_loaded(t) {
|
| t.step( function () {
|
| @@ -37,7 +32,7 @@
|
| <video id="videoObject" width="320" height="240" controls
|
| onloadeddata="media_loaded(source_test)">
|
| <source id="videoSourceObject"
|
| - type="video/mp4"
|
| + type="video/ogg"
|
| onerror="media_error_handler(source_test)">
|
| </video>
|
| <video id="videoObject2" width="320" height="240" controls
|
|
|