| Index: third_party/WebKit/LayoutTests/media/video-source-none-supported.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/video-source-none-supported.html b/third_party/WebKit/LayoutTests/media/video-source-none-supported.html
|
| index dec894ce0772f77c59e11f8c317cc8e9da9ded2a..76ac192240fce8363ca24c1b4bbc21b550fa4bee 100644
|
| --- a/third_party/WebKit/LayoutTests/media/video-source-none-supported.html
|
| +++ b/third_party/WebKit/LayoutTests/media/video-source-none-supported.html
|
| @@ -2,6 +2,8 @@
|
| <html>
|
| <head>
|
| <title>no usable <source> test</title>
|
| + <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
|
| + (Please avoid writing new tests using video-test.js) -->
|
| <script src=video-test.js></script>
|
| <script>
|
| document.addEventListener("error", errorEvent, true);
|
| @@ -11,7 +13,7 @@
|
| findMediaElement();
|
| consoleWrite("++ ERROR, src = " + relativeURL(event.target.src) + ", type = \"" + event.target.type + "\"");
|
| testExpected("event.target.tagName", "SOURCE", "==");
|
| -
|
| +
|
| // Any more source elements pending?
|
| var nextSource = event.target.nextSibling;
|
| while (video.hasChildNodes()) {
|
| @@ -25,8 +27,8 @@
|
| consoleWrite("");
|
| endTest();
|
| } else {
|
| - // Because the error event is fired asynchronously the network state can be either
|
| - // NETWORK_LOADING or NETWORK_NO_SOURCE, depending on whether or not
|
| + // Because the error event is fired asynchronously the network state can be either
|
| + // NETWORK_LOADING or NETWORK_NO_SOURCE, depending on whether or not
|
| testExpected("event.target.parentNode.networkState", HTMLMediaElement.NETWORK_IDLE, ">");
|
| }
|
|
|
| @@ -42,7 +44,7 @@
|
| <source src="doesnotexist.mp4">
|
| </video>
|
|
|
| - <p>1. Test that no usable <source> element leaves the media element with
|
| + <p>1. Test that no usable <source> element leaves the media element with
|
| networkState == NETWORK_NO_SOURCE</p>
|
| </body>
|
| </html>
|
|
|