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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js

Issue 2916743002: [DevTools] Introduce Common.List used as a backend for list controls (Closed)
Patch Set: Tests.js Created 3 years, 7 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/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js
index 226c642d7b72bce57fa67335deb230f8f51ca5ba..7fc09aeceddff0879e9f2a5acbab084ee52cd095 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js
@@ -33,10 +33,10 @@ function test() {
function dump()
{
TestRunner.addResult("Query:" + JSON.stringify(filteredSelectionDialog._value()));
- var list = filteredSelectionDialog._list;
+ var items = filteredSelectionDialog._items;
var output = [];
- for (var i = 0; i < list.length(); ++i)
- output.push(provider.itemKeyAt(list.itemAtIndex(i)));
+ for (var i = 0; i < items.length(); ++i)
caseq 2017/06/01 01:37:56 let's make length a getter?
dgozman 2017/06/01 20:31:49 I'll follow up.
+ output.push(provider.itemKeyAt(items.itemAtIndex(i)));
TestRunner.addResult("Output:" + JSON.stringify(output));
}

Powered by Google App Engine
This is Rietveld 408576698