| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/base/base.html"> | 8 <link rel="import" href="/tracing/base/base.html"> |
| 9 <link rel="import" href="/tracing/base/base64.html"> | 9 <link rel="import" href="/tracing/base/base64.html"> |
| 10 <link rel="import" href="/tracing/extras/importer/trace_event_importer.html"> |
| 10 <link rel="import" | 11 <link rel="import" |
| 11 href="/tracing/ui/extras/about_tracing/mock_tracing_controller_client.html
"> | 12 href="/tracing/ui/extras/about_tracing/mock_tracing_controller_client.html
"> |
| 12 <link rel="import" href="/tracing/extras/importer/trace_event_importer.html"> | |
| 13 <link rel="import" href="/tracing/ui/extras/about_tracing/profiling_view.html"> | 13 <link rel="import" href="/tracing/ui/extras/about_tracing/profiling_view.html"> |
| 14 | 14 |
| 15 <script> | 15 <script> |
| 16 'use strict'; | 16 'use strict'; |
| 17 | 17 |
| 18 tr.b.unittest.testSuite(function() { | 18 tr.b.unittest.testSuite(function() { |
| 19 var Base64 = tr.b.Base64; | 19 var Base64 = tr.b.Base64; |
| 20 var testData = [ | 20 var testData = [ |
| 21 {name: 'a', args: {}, pid: 52, ts: 15000, cat: 'foo', tid: 53, ph: 'B'}, | 21 {name: 'a', args: {}, pid: 52, ts: 15000, cat: 'foo', tid: 53, ph: 'B'}, |
| 22 {name: 'a', args: {}, pid: 52, ts: 19000, cat: 'foo', tid: 53, ph: 'E'}, | 22 {name: 'a', args: {}, pid: 52, ts: 19000, cat: 'foo', tid: 53, ph: 'E'}, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 }, | 75 }, |
| 76 function(err) { | 76 function(err) { |
| 77 didAbort = true; | 77 didAbort = true; |
| 78 reject(err); | 78 reject(err); |
| 79 }); | 79 }); |
| 80 }); | 80 }); |
| 81 }); | 81 }); |
| 82 }); | 82 }); |
| 83 </script> | 83 </script> |
| 84 | 84 |
| OLD | NEW |