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

Side by Side Diff: LayoutTests/inspector/timeline/timeline-records-cleared.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 src="resources/timeline-data.js"></script> 5 <script src="resources/timeline-data.js"></script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 var timelineData = InspectorTest.timelineData(); 10 var timelineData = InspectorTest.timelineData();
11 11
12 WebInspector.inspectorView.showPanel("timeline"); 12 WebInspector.inspectorView.showPanel("timeline");
13 var timeline = WebInspector.panels.timeline; 13 var timeline = WebInspector.inspectorView.panel("timeline");
14 14
15 var model = timeline._model; 15 var model = timeline._model;
16 16
17 function createFileReader(file, delegate) 17 function createFileReader(file, delegate)
18 { 18 {
19 return new InspectorTest.FakeFileReader(timelineData, delegate, model.sa veToFile.bind(model)); 19 return new InspectorTest.FakeFileReader(timelineData, delegate, model.sa veToFile.bind(model));
20 } 20 }
21 21
22 InspectorTest.override(model, "_createFileReader", createFileReader); 22 InspectorTest.override(model, "_createFileReader", createFileReader);
23 23
(...skipping 15 matching lines...) Expand all
39 </p> 39 </p>
40 40
41 <p> 41 <p>
42 We expect that TFO paints nothing after RecordsCleared event. 42 We expect that TFO paints nothing after RecordsCleared event.
43 The check point is the length of _barTimes array. 43 The check point is the length of _barTimes array.
44 </p> 44 </p>
45 45
46 </body> 46 </body>
47 </html> 47 </html>
48 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698