Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-crash.html

Issue 245893002: Improve unprefixed MediaSource test coverage. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-crash.html
diff --git a/LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html b/LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-crash.html
similarity index 83%
rename from LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html
rename to LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-crash.html
index 34513adc0efae20f59632b949ed190fdecb042a1..040d19f156addf59485dc84b11eed17151450d72 100644
--- a/LayoutTests/http/tests/media/media-source/webkitmediasource-sourcebufferlist-crash.html
+++ b/LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-crash.html
@@ -24,10 +24,10 @@
function main()
{
var video = document.querySelector('#v');
- var mediaSource = new WebKitMediaSource();
+ var mediaSource = new MediaSource();
- mediaSource.addEventListener('webkitsourceopen', onSourceOpen);
- mediaSource.addEventListener('webkitsourceclose', onSourceClose);
+ mediaSource.addEventListener('sourceopen', onSourceOpen);
+ mediaSource.addEventListener('sourceclose', onSourceClose);
video.src = URL.createObjectURL(mediaSource);
}

Powered by Google App Engine
This is Rietveld 408576698