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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/tabbed-pane.js

Issue 2837083003: DevTools: create test infrastructure so devtools drives the test (Closed)
Patch Set: rebaseline Created 3 years, 6 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/tabbed-pane.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/tabbed-pane.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/tabbed-pane.js
index 9782aba45fa6272cd15c7a23937730d7de4fd444..204ff60ef213669834031b9a461558514b40b4f0 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/tabbed-pane.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/tabbed-pane.js
@@ -11,7 +11,7 @@ class FocusableWidget extends UI.Widget {
var tabbedPane = new UI.TabbedPane();
tabbedPane.show(UI.inspectorView.element);
-TestRunner.addSniffer(tabbedPane, '_innerUpdateTabElements').then(tabsAdded);
+TestRunner.addSnifferPromise(tabbedPane, '_innerUpdateTabElements').then(tabsAdded);
for (var i = 0; i < 10; i++)
tabbedPane.appendTab(i.toString(), 'Tab ' + i, new FocusableWidget('Widget ' + i));

Powered by Google App Engine
This is Rietveld 408576698