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/iteration_helpers.html"> | 8 <link rel="import" href="/tracing/base/utils.html"> |
9 <link rel="import" href="/tracing/core/test_utils.html"> | 9 <link rel="import" href="/tracing/core/test_utils.html"> |
10 <link rel="import" href="/tracing/model/event_set.html"> | 10 <link rel="import" href="/tracing/model/event_set.html"> |
11 <link rel="import" href="/tracing/model/object_collection.html"> | 11 <link rel="import" href="/tracing/model/object_collection.html"> |
12 <link rel="import" href="/tracing/model/scoped_id.html"> | 12 <link rel="import" href="/tracing/model/scoped_id.html"> |
13 <link rel="import" href="/tracing/model/selection_state.html"> | 13 <link rel="import" href="/tracing/model/selection_state.html"> |
14 <link rel="import" href="/tracing/ui/timeline_viewport.html"> | 14 <link rel="import" href="/tracing/ui/timeline_viewport.html"> |
15 <link rel="import" href="/tracing/ui/tracks/drawing_container.html"> | 15 <link rel="import" href="/tracing/ui/tracks/drawing_container.html"> |
16 <link rel="import" href="/tracing/ui/tracks/object_instance_track.html"> | 16 <link rel="import" href="/tracing/ui/tracks/object_instance_track.html"> |
17 | 17 |
18 <script> | 18 <script> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 const instance = new tr.model.ObjectInstance( | 102 const instance = new tr.model.ObjectInstance( |
103 {}, new tr.model.ScopedId('ptr', '0x1000'), 'cat', 'n', 10); | 103 {}, new tr.model.ScopedId('ptr', '0x1000'), 'cat', 'n', 10); |
104 | 104 |
105 assert.doesNotThrow(function() { | 105 assert.doesNotThrow(function() { |
106 track.addEventNearToProvidedEventToSelection(instance, 0, undefined); | 106 track.addEventNearToProvidedEventToSelection(instance, 0, undefined); |
107 }); | 107 }); |
108 }); | 108 }); |
109 }); | 109 }); |
110 </script> | 110 </script> |
111 | 111 |
OLD | NEW |