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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-close.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts Created 3 years, 6 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.sendCommandOrDie("Animation.enable", {}); 8 InspectorTest.sendCommandOrDie("Animation.enable", {});
9 InspectorTest.sendCommandOrDie("Animation.setPlaybackRate", { playbackRate: 0 }, pagePaused); 9 InspectorTest.sendCommandOrDie("Animation.setPlaybackRate", { playbackRate: 0 }, pagePaused);
10 10
11 function pagePaused() 11 function pagePaused()
12 { 12 {
13 InspectorTest.sendCommandOrDie("Animation.getPlaybackRate", {}, logPlayb ackRate); 13 InspectorTest.sendCommandOrDie("Animation.getPlaybackRate", {}, logPlayb ackRate);
(...skipping 16 matching lines...) Expand all
30 InspectorTest.log(result.playbackRate); 30 InspectorTest.log(result.playbackRate);
31 InspectorTest.completeTest(); 31 InspectorTest.completeTest();
32 } 32 }
33 } 33 }
34 34
35 </script> 35 </script>
36 </head> 36 </head>
37 <body onload="runTest()"> 37 <body onload="runTest()">
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698