Index: LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html |
diff --git a/LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html b/LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html |
deleted file mode 100644 |
index 34513adc0efae20f59632b949ed190fdecb042a1..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
- <head> |
- <script src="/js-test-resources/js-test.js"></script> |
- <script src="/media-resources/video-test.js"></script> |
- <script type="text/javascript"> |
- function onSourceOpen(e) |
- { |
- consoleWrite("Calling addSourceBuffer()"); |
- e.target.addSourceBuffer('video/webm;codecs="vp8"'); |
- |
- consoleWrite("Running garbage collector to cleanup the SourceBuffer reference returned by addSourceBuffer()"); |
- gc(); |
- |
- document.querySelector('#v').src = ""; |
- } |
- |
- function onSourceClose(e) |
- { |
- consoleWrite("onSourceClose"); |
- endTest(); |
- } |
- |
- function main() |
- { |
- var video = document.querySelector('#v'); |
- var mediaSource = new WebKitMediaSource(); |
- |
- mediaSource.addEventListener('webkitsourceopen', onSourceOpen); |
- mediaSource.addEventListener('webkitsourceclose', onSourceClose); |
- |
- video.src = URL.createObjectURL(mediaSource); |
- } |
- </script> |
- </head> |
- <body onload="main()"> |
- <video id="v"></video> |
- <p>Verify that we don't crash on close if the MediaSource.sourceBuffers holds the last reference to its SourceBuffer objects.</p> |
- </body> |
-</html> |