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

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

Issue 2592433003: [DevTools] Replace ViewportControl with ListControl. (Closed)
Patch Set: tests Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d4a7ada7e1bf97a664c11dc21d0aa729fcc1917..a8dcea9366c35c0992dee23a9104e068d32f217b 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
@@ -41,10 +41,10 @@ function test() {
function dump()
{
TestRunner.addResult("Query:" + JSON.stringify(filteredSelectionDialog._value()));
- var items = filteredSelectionDialog._filteredItems;
+ var list = filteredSelectionDialog._list;
var output = [];
- for (var i = 0; i < items.length; ++i)
- output.push(delegate.itemKeyAt(items[i]));
+ for (var i = 0; i < list.length(); ++i)
+ output.push(delegate.itemKeyAt(list.itemAtIndex(i)));
TestRunner.addResult("Output:" + JSON.stringify(output));
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698