mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Update web-platform-tests to revision 82b73b315ce7ed1554e7a9b7bced66a5831e4ee5
This commit is contained in:
parent
00a9f30773
commit
76712d7d25
353 changed files with 6528 additions and 1307 deletions
|
@ -113,8 +113,8 @@ root.runParallelAsyncHarness = function(options) {
|
|||
});
|
||||
});
|
||||
|
||||
// conclude test (possibly abort)
|
||||
setTimeout(function() {
|
||||
// conclude slice (possibly abort)
|
||||
var concludeSlice = function() {
|
||||
tests.forEach(function(data) {
|
||||
// perform individual "done" test-case
|
||||
cases.forEach(function(name) {
|
||||
|
@ -135,7 +135,10 @@ root.runParallelAsyncHarness = function(options) {
|
|||
|
||||
// next test please, give the browser 50ms to do catch its breath
|
||||
setTimeout(runLoop, 50);
|
||||
}, duration);
|
||||
}
|
||||
|
||||
// wait on RAF before cleanup to make sure all queued event handlers have run
|
||||
setTimeout(function() {requestAnimationFrame(concludeSlice)},duration);
|
||||
}
|
||||
|
||||
// allow DOMContentLoaded before actually doing something
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue