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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/animation/animation-empty-web-animations.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script> 5 <script>
6 function startAnimation() 6 function startAnimation()
7 { 7 {
8 player = node.animate([], { duration: 200, delay: 100 }); 8 player = node.animate([], { duration: 200, delay: 100 });
9 } 9 }
10 10
11 var initialize_Animations = function() { 11 var initialize_Animations = function() {
12 12
13 InspectorTest.preloadModule("animation"); 13 InspectorTest.preloadModule("animation");
14 } 14 }
15 15
16 function test() 16 function test()
17 { 17 {
18 WebInspector.viewManager.showView("animations"); 18 UI.viewManager.showView("animations");
19 var timeline = self.runtime.sharedInstance(WebInspector.AnimationTimeline); 19 var timeline = self.runtime.sharedInstance(Animation.AnimationTimeline);
20 InspectorTest.evaluateInPage("startAnimation()"); 20 InspectorTest.evaluateInPage("startAnimation()");
21 InspectorTest.addSniffer(WebInspector.AnimationModel.prototype, "animationSt arted", animationStarted); 21 InspectorTest.addSniffer(Animation.AnimationModel.prototype, "animationStart ed", animationStarted);
22 22
23 function animationStarted() 23 function animationStarted()
24 { 24 {
25 InspectorTest.addResult(timeline._previewMap.size); 25 InspectorTest.addResult(timeline._previewMap.size);
26 InspectorTest.completeTest(); 26 InspectorTest.completeTest();
27 } 27 }
28 } 28 }
29 29
30 </script> 30 </script>
31 </head> 31 </head>
32 32
33 <body onload="runTest()"> 33 <body onload="runTest()">
34 <p> 34 <p>
35 Tests the empty web animations do not show up in animation timeline. 35 Tests the empty web animations do not show up in animation timeline.
36 </p> 36 </p>
37 37
38 <div id="node" style="background-color: red; height: 100px"></div> 38 <div id="node" style="background-color: red; height: 100px"></div>
39 39
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698