blob: 3d9e3e5d44e8512f3acd6c557c216488bf7f9f50 [file] [log] [blame]
<head>
<script>
let useAlternateContent = false;
function tick() {
let destination = document.getElementById('content');
let content = '';
if (useAlternateContent) {
content = '.';
}
useAlternateContent = !useAlternateContent;
destination.innerText = content;
setTimeout(tick, 1000);
}
function main() {
if (window.domAutomationController) {
domAutomationController.send("FINISHED");
}
// This page is used in the main tab in a couple of dual-GPU tests
// on macOS. When running on the passthrough command decoder and
// ANGLE, ANGLE can only detect the need to switch GPUs upon context
// switch. Schedule a small amount of periodic rasterization work so
// that context switches occur in the GPU process.
setTimeout(tick, 1000);
}
</script>
</head>
<body onload="main()">
<div id="content"></div>
</body>