36 lines
855 B
HTML
36 lines
855 B
HTML
<!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()
|
|
{
|
|
setTimeout(dumpTiles, 500);
|
|
}
|
|
window.addEventListener('load', doTest, false);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<pre id="layers">Layer tree goes here</p>
|
|
</body>
|
|
</html>
|