Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / layers / paint-profiler-load-empty.html
blob361cdab29c870b97083abdf5cadbadad2750d259
1 <html>
2 <head>
3 <script type="application/x-javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
4 <script type="application/x-javascript" src="layer-protocol-test.js"></script>
5 <script type="application/x-javascript">
7 function test()
9 InspectorTest.sendCommand("LayerTree.loadSnapshot", {
10 "tiles": [{
11 "x":351378,
12 "y":-15,
13 "picture": "c2tpYXBpY3QqAAAAiYICRsMkWkF3URZGz3Z9QgcAAAABZGFlcgAAAAB0Y2FmBAAAAAAAAABjZnB0AAAAAHlhcmEAAAAAIGZvZQ=="
15 }, InspectorTest.wrapCallback(onLoad));
17 function onLoad(result)
19 InspectorTest.log("Loading empty snapshot: " + result.error);
20 InspectorTest.completeTest();
24 </script>
25 <body onload="runTest()">
26 <div>Tests that Paint Profiler refuses to load a picture with empty dimensions</div>
27 </body>
28 </html>