Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Side by Side Diff: LayoutTests/inspector/profiler/heap-snapshot-test.js

Issue 674443003: DevTools: ignore weak referenced when calculating dominators for heap snapshot (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Renamed test function named as suggested by loislo Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/profiler/heap-snapshot-weak-dominator.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/profiler/heap-snapshot-weak-dominator.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698