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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html

Issue 211273005: Do not override data getter in heap snapshot grid nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed unused parameter from findRow Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html b/LayoutTests/inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html
index 3ef4038302455a6cb25ac908702d70f8ca271891..ada454478663a4909a4605cf4f193717eaeb90db 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html
+++ b/LayoutTests/inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html
@@ -24,7 +24,7 @@ function test()
function step2()
{
- var row = InspectorTest.findRow("object", "B");
+ var row = InspectorTest.findRow("B");
InspectorTest.assertEquals(true, !!row, "\"B\" row");
InspectorTest.expandRow(row, expandB);
function expandB()
@@ -44,7 +44,7 @@ function test()
function step4()
{
- var row = InspectorTest.findRow("object", "B");
+ var row = InspectorTest.findRow("B");
InspectorTest.assertEquals(true, !!row, "\"B\" row");
var bInstanceRow = row.children[0];
InspectorTest.assertEquals(true, !!bInstanceRow, "\"B\" instance row");
@@ -53,9 +53,9 @@ function test()
{
function propertyMatcher(data)
{
- return data.name === "a" && data.value.charAt(0) === "A";
+ return data._referenceName === "a" && data._name.charAt(0) === "A";
}
- var aRow = InspectorTest.findRow("object", propertyMatcher, row);
+ var aRow = InspectorTest.findMatchingRow(propertyMatcher, row);
InspectorTest.assertEquals(true, !!aRow, "\"a: A\" row");
InspectorTest.expandRow(aRow, step5);
}

Powered by Google App Engine
This is Rietveld 408576698