Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/layers/paint-profiler-load-empty.html

Issue 2954343004: [DevTools] Migrate inspector-protocol/layers tests to new harness (Closed)
Patch Set: fix test Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="application/x-javascript" src="../../http/tests/inspector-protocol /resources/inspector-protocol-test.js"></script>
4 <script type="application/x-javascript" src="../resources/layer-protocol-test.js "></script>
5 <script type="application/x-javascript">
6
7 function test()
8 {
9 InspectorTest.sendCommand("LayerTree.loadSnapshot", {
10 "tiles": [{
11 "x":351378,
12 "y":-15,
13 "picture": "c2tpYXBpY3QqAAAAiYICRsMkWkF3URZGz3Z9QgcAAAABZGFlcgAAAAB0 Y2FmBAAAAAAAAABjZnB0AAAAAHlhcmEAAAAAIGZvZQ=="
14 }]
15 }, InspectorTest.wrapCallback(onLoad));
16
17 function onLoad(result)
18 {
19 InspectorTest.log("Loading empty snapshot: " + result.error);
20 InspectorTest.completeTest();
21 }
22 }
23
24 </script>
25 <body onload="runTest()">
26 <div>Tests that Paint Profiler refuses to load a picture with empty dimensio ns</div>
27 </body>
28 </html>
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698