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

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

Issue 313333002: Extract implementation based on timeline events into TimelineModelImpl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/devtools/devtools.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 function runTestWithDataAndCheck(input, expectedOutput) 9 function runTestWithDataAndCheck(input, expectedOutput)
10 { 10 {
11 WebInspector.inspectorView.showPanel("timeline"); 11 WebInspector.inspectorView.showPanel("timeline");
12 var model = new WebInspector.TimelineModel(WebInspector.timelineManager) ; 12 var model = new WebInspector.TimelineModelImpl(WebInspector.timelineMana ger);
13 13
14 function createFileReader(file, delegate) 14 function createFileReader(file, delegate)
15 { 15 {
16 return new InspectorTest.FakeFileReader(input, delegate, model.saveT oFile.bind(model)); 16 return new InspectorTest.FakeFileReader(input, delegate, model.saveT oFile.bind(model));
17 } 17 }
18 18
19 function createFileWriter() 19 function createFileWriter()
20 { 20 {
21 return new InspectorTest.StringOutputStream(checkSaveData); 21 return new InspectorTest.StringOutputStream(checkSaveData);
22 } 22 }
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 <p> 87 <p>
88 Tests the Timeline save/load functionality. 88 Tests the Timeline save/load functionality.
89 </p> 89 </p>
90 90
91 <p> 91 <p>
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> 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>
93 </p> 93 </p>
94 94
95 </body> 95 </body>
96 </html> 96 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/devtools.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698