mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset feca3867b395 (bug 895091)
This commit is contained in:
parent
9236a9752d
commit
d58f9ff76f
@ -34,16 +34,18 @@ SpecialPowers.pushPrefEnv({"set": [["media.webvtt.enabled", true]]},
|
||||
setTimeout(run_tests, 0);
|
||||
return;
|
||||
}
|
||||
is(trackElement.readyState, 2, "Track::ReadyState should be set to LOADED.");
|
||||
todo_is(trackElement.readyState, 2, "Track::ReadyState should be set to LOADED.");
|
||||
|
||||
var cueList = trackElement.track.cues;
|
||||
is(cueList.length, 4, "Cue list length should be 4.");
|
||||
todo_is(cueList.length, 4, "Cue list length should be 4.");
|
||||
|
||||
// Check that the typedef of TextTrackCue works in Gecko.
|
||||
is(window.TextTrackCue, undefined, "TextTrackCue should be undefined.");
|
||||
isnot(window.VTTCue, undefined, "VTTCue should be defined.");
|
||||
|
||||
// Check if first cue was parsed correctly.
|
||||
// FIXME: disabled by bug 887463.
|
||||
if (false) {
|
||||
var cue = cueList[0];
|
||||
is(cue.id, "1", "Cue's ID should be 1.");
|
||||
is(cue.startTime, 0.5, "Cue's start time should be 0.5.");
|
||||
@ -95,6 +97,9 @@ SpecialPowers.pushPrefEnv({"set": [["media.webvtt.enabled", true]]},
|
||||
// to 4 -- https://bugzilla.mozilla.org/show_bug.cgi?id=867823
|
||||
todo_is(cueList.length, 4, "Cue list length should be 4.");
|
||||
|
||||
// FIXME: end of bug 887463 disable.
|
||||
}
|
||||
|
||||
var exceptionHappened = false;
|
||||
try {
|
||||
// We should not be able to remove a cue that is not in the list.
|
||||
|
Loading…
Reference in New Issue
Block a user