Update web-platform-tests to revision b7a8b84debb42268ea95a45bdad8f727d1facdf7

This commit is contained in:
WPT Sync Bot 2019-03-21 21:40:20 -04:00
parent ba929208e4
commit 953dbda9a6
215 changed files with 6409 additions and 1644 deletions

View file

@ -77,11 +77,8 @@ test1.step(function(){
test3.step(function(){
var c3 = new VTTCue(0, 2, "text3");
t1.addCue(c3);
assert_equals(t1.activeCues.length, 1, "t1.activeCues.length after adding a cue in the same script");
test3.step_timeout(function(){
assert_equals(t1.activeCues.length, 2, "t1.activeCues.length after the event loop has spun");
test3.done();
}, 0);
assert_equals(t1.activeCues.length, 2, "t1.activeCues.length should be changed immediately");
test3.done();
});
test2.done();
});

View file

@ -25,7 +25,7 @@
}
var cueCount = 0;
function cueEntered() {
function cueEntered(event) {
var currentCue = event.target;
// This cue is the currently active cue.