skia: Use medium filter quality in PaintSimplifier.
[chromium-blink-merge.git] / chrome / test / data / tab-restore-visibilty.html
blobf2a2b84aa55786f5fe4d9f8148cf80afaf59f6c4
1 <script>
2 var count = 0;
4 function setTitle() {
5 // document.title reports the DOM page visibility and RAF count.
6 document.title = document.visibilityState + ' ' + count++;
8 if (!window.ready)
9 setTimeout(setReady, count > 10 ? 0 : 100);
12 document.addEventListener('visibilitychange', setTitle);
14 (function changeTitle() {
15 window.requestAnimationFrame(changeTitle);
16 setTitle();
17 })();
19 function setReady() {
20 if (!window.ready)
21 sendReady();
22 window.ready = true;
25 function sendReady() {
26 if (window.domAutomationController) {
27 domAutomationController.setAutomationId(1);
28 domAutomationController.send("READY");
31 </script>