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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js

Issue 2742623002: DevTools: improve test infrastructure w/ devtools driving the test (Closed)
Patch Set: fixup Created 3 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: third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js
index 44774ddb2726dee6bd173c7884b6455f8460cee9..8ff262508101fcd95f86de386b2e6caa214a3501 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js
@@ -36,7 +36,7 @@ function test() {
]);
function setProvider(provider) {
- var promise = TestRunner.addSniffer(filteredListWidget, "_itemsFilteredForTest").then(dump);
+ var promise = TestRunner.addSnifferPromise(filteredListWidget, "_itemsFilteredForTest").then(dump);
filteredListWidget.setProvider(provider);
return promise;
}

Powered by Google App Engine
This is Rietveld 408576698