mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision b7a8b84debb42268ea95a45bdad8f727d1facdf7
This commit is contained in:
parent
ba929208e4
commit
953dbda9a6
215 changed files with 6409 additions and 1644 deletions
|
@ -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();
|
||||
});
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
|
||||
var cueCount = 0;
|
||||
function cueEntered() {
|
||||
function cueEntered(event) {
|
||||
var currentCue = event.target;
|
||||
|
||||
// This cue is the currently active cue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue