mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 01:47:00 +02:00
This is required by the spec, so let's stop returning random IDs in favor of a simple sequential integer sequence. (cherry picked from commit 0e1256e5a405627fda18b597d8fd08073dd60b77)
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>
|