| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <!-- | 3 <!-- |
| 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. | 6 found in the LICENSE file. |
| 7 --> | 7 --> |
| 8 <head i18n-values="dir:textdirection;"> | 8 <head i18n-values="dir:textdirection;"> |
| 9 <title>Interactive Timeline Tests</title> | 9 <title>Interactive Timeline Tests</title> |
| 10 <link rel="stylesheet" href="timeline.css"> | 10 <link rel="stylesheet" href="timeline.css"> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 <div class="timeline-test" src="./tests/trivial_trace.json"> | 29 <div class="timeline-test" src="./tests/trivial_trace.json"> |
| 30 </div> | 30 </div> |
| 31 | 31 |
| 32 <div class="timeline-test" src="./tests/simple_trace.json"> | 32 <div class="timeline-test" src="./tests/simple_trace.json"> |
| 33 </div> | 33 </div> |
| 34 | 34 |
| 35 <div class="timeline-test" src="./tests/instance_counters.json"> | 35 <div class="timeline-test" src="./tests/instance_counters.json"> |
| 36 </div> | 36 </div> |
| 37 | 37 |
| 38 <div class="timeline-test" src="./tests/nonnested_trace.json"> | |
| 39 </div> | |
| 40 | |
| 41 <div class="timeline-test" src="./tests/tall_trace.json"> | 38 <div class="timeline-test" src="./tests/tall_trace.json"> |
| 42 </div> | 39 </div> |
| 43 | 40 |
| 44 <div class="timeline-test" src="./tests/big_trace.json"> | 41 <div class="timeline-test" src="./tests/big_trace.json"> |
| 45 </div> | 42 </div> |
| 46 | 43 |
| 47 <div class="timeline-test" src="./tests/huge_trace.json"> | 44 <div class="timeline-test" src="./tests/huge_trace.json"> |
| 48 </div> | 45 </div> |
| 49 | 46 |
| 50 <div class="timeline-test" src="./tests/main_thread_has_unclosed_slices.json"> | 47 <div class="timeline-test" src="./tests/main_thread_has_unclosed_slices.json"> |
| 51 </div> | 48 </div> |
| 52 | 49 |
| 53 <div class="timeline-test" src="./tests/linux_perf_simple.txt"> | 50 <div class="timeline-test" src="./tests/async_begin_end.json"> |
| 54 </div> | 51 </div> |
| 55 | 52 |
| 56 <script> | 53 <script> |
| 57 function load(parentEl) { | 54 function load(parentEl) { |
| 58 var src = parentEl.getAttribute('src'); | 55 var src = parentEl.getAttribute('src'); |
| 59 if (document.location.hash && document.location.hash.substring(1) != src) { | 56 if (document.location.hash && document.location.hash.substring(1) != src) { |
| 60 parentEl.hidden = true; | 57 parentEl.hidden = true; |
| 61 return; | 58 return; |
| 62 } | 59 } |
| 63 parentEl.hidden = false; | 60 parentEl.hidden = false; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 function onLoad() { | 92 function onLoad() { |
| 96 Array.prototype.forEach.call(document.querySelectorAll('.timeline-test'), | 93 Array.prototype.forEach.call(document.querySelectorAll('.timeline-test'), |
| 97 load); | 94 load); |
| 98 } | 95 } |
| 99 | 96 |
| 100 document.addEventListener('DOMContentLoaded', onLoad); | 97 document.addEventListener('DOMContentLoaded', onLoad); |
| 101 window.addEventListener('hashchange', onLoad); | 98 window.addEventListener('hashchange', onLoad); |
| 102 </script> | 99 </script> |
| 103 </body> | 100 </body> |
| 104 </html> | 101 </html> |
| OLD | NEW |