blob: 361cdab29c870b97083abdf5cadbadad2750d259 [file] [log] [blame]
<html>
<head>
<script type="application/x-javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
<script type="application/x-javascript" src="layer-protocol-test.js"></script>
<script type="application/x-javascript">
function test()
{
InspectorTest.sendCommand("LayerTree.loadSnapshot", {
"tiles": [{
"x":351378,
"y":-15,
"picture": "c2tpYXBpY3QqAAAAiYICRsMkWkF3URZGz3Z9QgcAAAABZGFlcgAAAAB0Y2FmBAAAAAAAAABjZnB0AAAAAHlhcmEAAAAAIGZvZQ=="
}]
}, InspectorTest.wrapCallback(onLoad));
function onLoad(result)
{
InspectorTest.log("Loading empty snapshot: " + result.error);
InspectorTest.completeTest();
}
}
</script>
<body onload="runTest()">
<div>Tests that Paint Profiler refuses to load a picture with empty dimensions</div>
</body>
</html>