| Index: LayoutTests/media/video-source-add-after-remove.html
|
| diff --git a/LayoutTests/media/video-source-add-after-remove.html b/LayoutTests/media/video-source-add-after-remove.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ab56876c43b928a26deeb4ca0522f67638528167
|
| --- /dev/null
|
| +++ b/LayoutTests/media/video-source-add-after-remove.html
|
| @@ -0,0 +1,23 @@
|
| +<!doctype html>
|
| +<html>
|
| + <head>
|
| + <title>Add <source> after removing failed candidate</title>
|
| + <script src=video-test.js></script>
|
| + <script src=media-file.js></script>
|
| + <script>
|
| + function error()
|
| + {
|
| + findMediaElement();
|
| + video.removeChild(video.firstChild);
|
| + var source = document.createElement("source");
|
| + source.src = findMediaFile("video", "content/test");
|
| + video.appendChild(source);
|
| + waitForEventAndEnd("loadedmetadata");
|
| + }
|
| + </script>
|
| + </head>
|
| +
|
| + <body>
|
| + <video><source onerror="error()"></video>
|
| + </body>
|
| +</html>
|
|
|