mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
This is required by the spec, so let's stop returning random IDs in favor of a simple sequential integer sequence.
15 lines
405 B
HTML
15 lines
405 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
var rafIds = [];
|
|
asyncTest((done) => {
|
|
rafIds.push(requestAnimationFrame(function() {
|
|
rafIds.push(requestAnimationFrame(function() {
|
|
rafIds.push(requestAnimationFrame(function() {
|
|
println(rafIds);
|
|
done();
|
|
}));
|
|
}));
|
|
}));
|
|
});
|
|
</script>
|