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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-open-function-call.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/timeline-test.js"></script> 4 <script src="../../../http/tests/inspector/timeline-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 var sessionId = "6.23"; 9 var sessionId = "6.23";
10 var rawTraceEvents = [ 10 var rawTraceEvents = [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "cat": "disabled-by-default-devtools.timeline", 55 "cat": "disabled-by-default-devtools.timeline",
56 "name": "JSSample", 56 "name": "JSSample",
57 "ph": "I", 57 "ph": "I",
58 "pid": 17851, 58 "pid": 17851,
59 "tid": 23, 59 "tid": 23,
60 "ts": 142000, 60 "ts": 142000,
61 "args": {} 61 "args": {}
62 }]; 62 }];
63 63
64 var model = InspectorTest.createTimelineModelWithEvents(rawTraceEvents); 64 var model = InspectorTest.createTimelineModelWithEvents(rawTraceEvents);
65 var event = model.mainThreadEvents().find(e => e.name === WebInspector.Timel ineModel.RecordType.FunctionCall); 65 var event = model.mainThreadEvents().find(e => e.name === TimelineModel.Time lineModel.RecordType.FunctionCall);
66 InspectorTest.addResult(`${event.startTime} ${event.endTime}`); 66 InspectorTest.addResult(`${event.startTime} ${event.endTime}`);
67 InspectorTest.completeTest(); 67 InspectorTest.completeTest();
68 } 68 }
69 69
70 </script> 70 </script>
71 </head> 71 </head>
72 72
73 <body onload="runTest()"> 73 <body onload="runTest()">
74 <p> 74 <p>
75 Checks the FunctionCall with no closing event processed properly. 75 Checks the FunctionCall with no closing event processed properly.
76 </p> 76 </p>
77 </body> 77 </body>
78 </html> 78 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698