mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision 6a665f63ae39b552f60b971f11c34b215861fcb3
This commit is contained in:
parent
2b0a48f291
commit
ee944e769d
119 changed files with 4924 additions and 556 deletions
|
@ -191,6 +191,15 @@ function waitForAnimationFrames(frameCount, onFrame) {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Timeout function used for tests with EventWatchers when all animation events
|
||||
* should be received on the next animation frame. If two frames pass before
|
||||
* receiving the expected events, then we can immediate fail the test.
|
||||
*/
|
||||
function fastEventsTimeout() {
|
||||
return waitForAnimationFrames(2);
|
||||
};
|
||||
|
||||
/**
|
||||
* Wrapper that takes a sequence of N animations and returns:
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue