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

Side by Side Diff: LayoutTests/inspector/timeline/timeline-script-tag-2.html

Issue 709423002: DevTools: remove old Timeline front-end implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated LayoutTests/inspector/layers/layer-canvas-log.html Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script>
6
7 function performActions()
8 {
9 var script = document.createElement("script");
10 script.src = "timeline-script-tag-2.js";
11 document.body.appendChild(script);
12 }
13
14 function test()
15 {
16 InspectorTest.startTimeline(step1);
17 function step1()
18 {
19 InspectorTest.addConsoleSniffer(step2);
20 InspectorTest.evaluateInPage("performActions()");
21 }
22
23 function step2()
24 {
25 InspectorTest.stopTimeline(step3);
26 }
27
28 function step3()
29 {
30 InspectorTest.printTimelineRecords("EvaluateScript");
31 InspectorTest.completeTest();
32 }
33 }
34
35 </script>
36 </head>
37
38 <body onload="runTest()">
39 <p>
40 Tests the Timeline API instrumentation of a script tag with an external script.
41 </p>
42
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698