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

Side by Side Diff: LayoutTests/inspector/timeline/timeline-load.html

Issue 183893010: DevTools: extract TimelineModel.Record from TimelinePresentationModel.Record. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 6 years, 9 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> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 WebInspector.TimelineModel._doNotAssignEndTime = true;
10 function runTestWithDataAndCheck(input, expectedOutput) 9 function runTestWithDataAndCheck(input, expectedOutput)
11 { 10 {
12 WebInspector.showPanel("timeline"); 11 WebInspector.showPanel("timeline");
13 var model = new WebInspector.TimelineModel(); 12 var model = new WebInspector.TimelineModel();
14 13
15 function createFileReader(file, delegate) 14 function createFileReader(file, delegate)
16 { 15 {
17 return new InspectorTest.FakeFileReader(input, delegate, model.saveT oFile.bind(model)); 16 return new InspectorTest.FakeFileReader(input, delegate, model.saveT oFile.bind(model));
18 } 17 }
19 18
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 <p> 87 <p>
89 Tests the Timeline save/load functionality. 88 Tests the Timeline save/load functionality.
90 </p> 89 </p>
91 90
92 <p> 91 <p>
93 Also tests save/load of unknown (incompatible) record types. <a href="https://bu gs.webkit.org/show_bug.cgi?id=91714">(Bug 91714)</a> 92 Also tests save/load of unknown (incompatible) record types. <a href="https://bu gs.webkit.org/show_bug.cgi?id=91714">(Bug 91714)</a>
94 </p> 93 </p>
95 94
96 </body> 95 </body>
97 </html> 96 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/timeline/timeline-filtering.html ('k') | LayoutTests/inspector/timeline/timeline-load-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698