5 <title>GPU Feature Testing: Accelerated Compositing No Damage
</title>
8 -webkit-transform: translateZ(
0);
16 window
.webkitRequestAnimationFrame(draw
);
19 console
.time("___RafWithNoDamage___");
21 if (frameCount
== totalRafs
) {
22 domAutomationController
.setAutomationId(1);
23 domAutomationController
.send("FINISHED");
25 window
.webkitRequestAnimationFrame(draw
);
27 console
.timeEnd("___RafWithNoDamage___");
31 <body onload=
"runTest()">
32 This page should trigger accelerated-compositing, i.e., gpu process should
33 launch, if accelerated-compositing is allowed. However, the RAF callback
34 does no damage, so there will be no Swaps and the RAF rate should be throttled