| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.sub.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.sub.html
|
| similarity index 87%
|
| rename from third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.html
|
| rename to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.sub.html
|
| index 597ac7f8fa7e05ef9a605a46bc982b02d84ec4d5..5d13624c091bcdc7920bc4a04a84cd93418a02eb 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_3_2.sub.html
|
| @@ -13,12 +13,7 @@
|
| var source_test =
|
| async_test("Disallowed track element onerror handler fires.");
|
|
|
| - var trackURL = location.protocol +
|
| - "//www." +
|
| - location.hostname +
|
| - ":" +
|
| - location.port +
|
| - "/media/foo.vtt";
|
| + var trackURL = location.protocol + "//{{domains[www]}}:{{ports[http][0]}}/media/foo.vtt";
|
|
|
| function media_loaded(t) {
|
| t.step( function () {
|
| @@ -36,8 +31,8 @@
|
| onerror="media_error_handler(source_test)"
|
| crossorigin>
|
| <source id="audioSourceObject"
|
| - type="audio/mpeg"
|
| - src="/media/white.mp4">
|
| + type="audio/ogg"
|
| + src="/media/A4.ogv">
|
| <track default
|
| id="trackObject"
|
| kind="subtitles"
|
| @@ -53,7 +48,7 @@
|
| source_test.set_status(source_test.FAIL);
|
| });
|
|
|
| - setTimeout(function() {
|
| + setTimeout(function() {
|
| if(source_test.phase != source_test.phases.COMPLETE) {
|
| source_test.step( function () { assert_unreached("Onerror event never fired for track element."); });
|
| source_test.done();
|
|
|