mirror of
https://github.com/servo/servo.git
synced 2025-08-31 10:08:21 +01:00
Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d
This commit is contained in:
parent
3f07cfec7c
commit
578498ba24
4001 changed files with 159517 additions and 30260 deletions
|
@ -15,7 +15,7 @@ async_test(t => {
|
|||
const callback = t.step_func(event => {
|
||||
events.push(event.type);
|
||||
if (event.type == 'fullscreenchange') {
|
||||
setTimeout(t.unreached_func('timer callback'));
|
||||
step_timeout(t.unreached_func('timer callback'));
|
||||
requestAnimationFrame(t.step_func_done(() => {
|
||||
assert_array_equals(events, ['resize', 'fullscreenchange'], 'event order');
|
||||
}));
|
||||
|
@ -30,7 +30,7 @@ async_test(t => {
|
|||
// If fullscreenerror is an animation frame event, then animation frame
|
||||
// callbacks should be run after it is fired, before the timer callback.
|
||||
document.onfullscreenerror = t.step_func(() => {
|
||||
setTimeout(t.unreached_func('timer callback'));
|
||||
step_timeout(t.unreached_func('timer callback'));
|
||||
requestAnimationFrame(t.step_func_done());
|
||||
});
|
||||
}, 'Timing of fullscreenerror event');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue