mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 07:32:00 +00:00
This is required by the spec, so let's stop returning random IDs in favor of a simple sequential integer sequence.
14 lines
405 B
HTML
14 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>
|