34 lines
853 B
HTML
34 lines
853 B
HTML
<!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>
|