Bug 861320 - HTMLMediaElement has no textTracks without a <source>. r=rillian

This commit is contained in:
Rick Eyre 2014-01-27 12:26:50 -05:00
parent bc6679b13d
commit 5e2db9afd6

View File

@ -12,6 +12,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=882703
SimpleTest.waitForExplicitFinish();
video = document.createElement("video");
isnot(video.textTracks, null, "Video should have a list of TextTracks.");
video.addTextTrack("subtitles", "", "");
track = video.textTracks[0];