| OLD | NEW |
| 1 var initialize_HeapSnapshotTest = function() { | 1 var initialize_HeapSnapshotTest = function() { |
| 2 | 2 |
| 3 InspectorTest.preloadPanel("profiles"); | 3 InspectorTest.preloadPanel("profiles"); |
| 4 | 4 |
| 5 InspectorTest.createHeapSnapshotMockFactories = function() { | 5 InspectorTest.createHeapSnapshotMockFactories = function() { |
| 6 | 6 |
| 7 InspectorTest.createJSHeapSnapshotMockObject = function() | 7 InspectorTest.createJSHeapSnapshotMockObject = function() |
| 8 { | 8 { |
| 9 return { | 9 return { |
| 10 _rootNodeIndex: 0, | 10 _rootNodeIndex: 0, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 rawSnapshot.edges.push(this._targetNode._ordinal * builder.nodeFieldsCou
nt); // index | 254 rawSnapshot.edges.push(this._targetNode._ordinal * builder.nodeFieldsCou
nt); // index |
| 255 } | 255 } |
| 256 } | 256 } |
| 257 | 257 |
| 258 InspectorTest.HeapEdge.Type = { | 258 InspectorTest.HeapEdge.Type = { |
| 259 "context": "context", | 259 "context": "context", |
| 260 "element": "element", | 260 "element": "element", |
| 261 "property": "property", | 261 "property": "property", |
| 262 "internal": "internal", | 262 "internal": "internal", |
| 263 "hidden": "hidden", | 263 "hidden": "hidden", |
| 264 "shortcut": "shortcut" | 264 "shortcut": "shortcut", |
| 265 "weak": "weak" |
| 265 }; | 266 }; |
| 266 | 267 |
| 267 InspectorTest.HeapSnapshotBuilder = function() | 268 InspectorTest.HeapSnapshotBuilder = function() |
| 268 { | 269 { |
| 269 this._nodes = []; | 270 this._nodes = []; |
| 270 this._string2id = {}; | 271 this._string2id = {}; |
| 271 this._strings = []; | 272 this._strings = []; |
| 272 this.nodeFieldsCount = 7; | 273 this.nodeFieldsCount = 7; |
| 273 | 274 |
| 274 this._nodeTypesMap = {}; | 275 this._nodeTypesMap = {}; |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 function sortingComplete() | 729 function sortingComplete() |
| 729 { | 730 { |
| 730 dataGrid.removeEventListener(WebInspector.HeapSnapshotSortableDataGr
id.Events.SortingComplete, sortingComplete, null); | 731 dataGrid.removeEventListener(WebInspector.HeapSnapshotSortableDataGr
id.Events.SortingComplete, sortingComplete, null); |
| 731 callback(); | 732 callback(); |
| 732 } | 733 } |
| 733 dataGrid.addEventListener(WebInspector.HeapSnapshotSortableDataGrid.Even
ts.SortingComplete, sortingComplete, null); | 734 dataGrid.addEventListener(WebInspector.HeapSnapshotSortableDataGrid.Even
ts.SortingComplete, sortingComplete, null); |
| 734 } | 735 } |
| 735 }; | 736 }; |
| 736 | 737 |
| 737 }; | 738 }; |
| OLD | NEW |