blob: 1c96614fe5a30b7cf8eaa2aa06c1ca8374f040d5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
body {
height: 5000px;
}
</style>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function dumpTiles()
{
if (window.internals) {
document.getElementById('layers').innerText = internals.layerTreeAsText(document,
internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
}
if (window.testRunner)
testRunner.notifyDone();
}
function doTest()
{
window.scrollTo(0, 3000);
setTimeout(dumpTiles, 500);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<pre id="layers">Layer tree goes here</p>
</body>
</html>