OLD | NEW |
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 Loading... |
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> |
OLD | NEW |