blob: 406a5873ec0b7bd5b9d657e430f978af3aca815d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
// "Expose" the bottom 200px of the view.
if (window.internals)
internals.setViewExposedRect(0, 2300, 800, 200);
testRunner.setViewSize(800, 2500);
testRunner.waitUntilDone();
}
function doTest()
{
window.setTimeout(function() {
scrollTo(0, 5000);
if (window.internals)
document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES);
if (window.testRunner)
testRunner.notifyDone();
}, 0);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<pre id="layers">Layer tree goes here</p>
<div style='height: 5000px;'></div>
</body>
</html>