| Index: third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html b/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html
|
| index d79da8aad40af89bcbe8f1ba46949da1a8c724b1..55d6f52141c1154cd03aceb97967beba6219a253 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html
|
| @@ -1,9 +1,11 @@
|
| <html>
|
| <head>
|
| + <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
|
| + (Please avoid writing new tests using video-test.js) -->
|
| <script src=../../media-resources/video-test.js></script>
|
| <script src=../../media-resources/media-file.js></script>
|
| <script>
|
| - function loadMediaFrame()
|
| + function loadMediaFrame()
|
| {
|
| findMediaElement();
|
|
|
| @@ -16,12 +18,12 @@
|
| source = document.getElementById('source');
|
| source.src = 'http://127.0.0.1:8000/media/resources/video-check-useragent.php?name=' + movie + '&type=' + type;
|
| source.type = type;
|
| -
|
| +
|
| waitForEventAndFail('error');
|
| waitForEventAndEnd('canplay');
|
| video.load();
|
| });
|
| -
|
| +
|
| frame.src = "data:text/html,<b>test</b>";
|
| document.body.appendChild(frame);
|
| }
|
|
|