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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html

Issue 2726763002: [Devtools] Fixed flicker in network for large stream of requests (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html b/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html
index 98202d4fa3d5d985412c39a70368c04ca5b3d6f4..5154f54f088bd095dfdebc577d13a84a82b6691f 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html
@@ -140,20 +140,20 @@ function test()
var xn = new DataGrid.ViewportDataGridNode({id: "x" + i});
root.appendChild(xn);
if (i + 1 === 500) {
- dataGrid.updateInstantlyForTests();
+ dataGrid.updateInstantly();
xn.revealAndSelect();
xn.refresh();
}
}
root.removeChildren();
- dataGrid.updateInstantlyForTests();
+ dataGrid.updateInstantly();
// The below should not crash either.
for (var i = 0; i < 40; ++i) {
var xn = new DataGrid.ViewportDataGridNode({id: "x" + i});
root.appendChild(xn);
}
- dataGrid.updateInstantlyForTests();
+ dataGrid.updateInstantly();
dataGrid.setStickToBottom(false);
var children = root.children.slice();
root.removeChildren();
@@ -163,7 +163,7 @@ function test()
children[i].refresh();
root.appendChild(children[i]);
}
- dataGrid.updateInstantlyForTests();
+ dataGrid.updateInstantly();
InspectorTest.completeTest();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698