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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/compile-script.html

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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/timeline-test.js"></script> 4 <script src="../../../http/tests/inspector/timeline-test.js"></script>
5 <script> 5 <script>
6 6
7 function performActions() 7 function performActions()
8 { 8 {
9 var script = document.createElement("script"); 9 var script = document.createElement("script");
10 script.textContent = "function noop1() {} \n//# sourceURL=script-content.js" ; 10 script.textContent = "function noop1() {} \n//# sourceURL=script-content.js" ;
11 document.body.appendChild(script); 11 document.body.appendChild(script);
12 eval("function noop2() {} \n//# sourceURL=script-content.js"); 12 eval("function noop2() {} \n//# sourceURL=script-content.js");
13 13
14 script = document.createElement("script"); 14 script = document.createElement("script");
15 script.src = "timeline-script-tag-2.js"; 15 script.src = "timeline-script-tag-2.js";
16 document.body.appendChild(script); 16 document.body.appendChild(script);
17 } 17 }
18 18
19 function test() 19 function test()
20 { 20 {
21 InspectorTest.performActionsAndPrint("performActions()", WebInspector.Timeli neModel.RecordType.CompileScript); 21 InspectorTest.performActionsAndPrint("performActions()", WebInspector.Timeli neModel.RecordType.CompileScript);
22 } 22 }
23 23
24 </script> 24 </script>
25 </head> 25 </head>
26 26
27 <body onload="runTest()"> 27 <body onload="runTest()">
28 <p> 28 <p>
29 Tests the Timeline instrumentation for CompileScript event. 29 Tests the Timeline instrumentation for CompileScript event.
30 </p> 30 </p>
31 31
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698