blob: c0a81a226525fa213ce637e505a40fe859fe8959 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
if (window.internals)
internals.setViewExposedRect(0, 1025, 800, 200);
testRunner.setViewSize(800, 2500);
testRunner.waitUntilDone();
}
function doTest()
{
window.setTimeout(function() {
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>
</body>
</html>