| Index: LayoutTests/compositing/video/video-with-invalid-source.html
|
| diff --git a/LayoutTests/compositing/video/video-with-invalid-source.html b/LayoutTests/compositing/video/video-with-invalid-source.html
|
| index 8aff694daf1fa0e9369f19c2271cbee5fa510185..36c240e991d5e82af6a11f7339d8c3009f61c790 100644
|
| --- a/LayoutTests/compositing/video/video-with-invalid-source.html
|
| +++ b/LayoutTests/compositing/video/video-with-invalid-source.html
|
| @@ -1,25 +1,25 @@
|
| -<!DOCTYPE html>
|
| -<script>
|
| -if (window.testRunner) {
|
| - testRunner.waitUntilDone();
|
| - testRunner.dumpAsText();
|
| -}
|
| -
|
| -function test() {
|
| - var v = document.createElement("video");
|
| - document.body.appendChild(v);
|
| - var src = document.createElement("source");
|
| - src.src = "notarealsource.txt";
|
| - v.appendChild(src);
|
| - src.addEventListener("error", function() {
|
| - if (window.testRunner) {
|
| - testRunner.display();
|
| - // If we didn't crash here, yay! Test is a success
|
| - document.body.appendChild(document.createTextNode("PASS"));
|
| - testRunner.notifyDone();
|
| - }
|
| - }, false);
|
| -}
|
| -</script>
|
| -<body onload="test()">
|
| -</body>
|
| +<!DOCTYPE html>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.dumpAsText();
|
| +}
|
| +
|
| +function test() {
|
| + var v = document.createElement("video");
|
| + document.body.appendChild(v);
|
| + var src = document.createElement("source");
|
| + src.src = "notarealsource.txt";
|
| + v.appendChild(src);
|
| + src.addEventListener("error", function() {
|
| + if (window.testRunner) {
|
| + testRunner.display();
|
| + // If we didn't crash here, yay! Test is a success
|
| + document.body.appendChild(document.createTextNode("PASS"));
|
| + testRunner.notifyDone();
|
| + }
|
| + }, false);
|
| +}
|
| +</script>
|
| +<body onload="test()">
|
| +</body>
|
|
|