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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)
Patch Set: 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/inspector/console/console-context-selector.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html b/third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html
index 864a7e4bfa3c5078c8da96e6b995a17399b754ad..145af0a23ea86a341a1a28325d3f16e98ff38c84 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html
@@ -98,9 +98,9 @@ async function test()
var consoleView = Console.ConsoleView.instance();
var selector = consoleView._consoleContextSelector;
InspectorTest.addResult('Console context selector:');
- for (var executionContext of selector._list._items) {
+ for (var executionContext of selector._dropdown._list._items) {
var selected = UI.context.flavor(SDK.ExecutionContext) === executionContext;
- var text = '____'.repeat(selector._depthFor(executionContext)) + selector._titleFor(executionContext);
+ var text = '____'.repeat(selector.depthFor(executionContext)) + selector.titleFor(executionContext);
var disabled = !selector.isItemSelectable(executionContext);
InspectorTest.addResult(`${selected ? '*' : ' '} ${text} ${disabled ? '[disabled]' : ''}`);
}

Powered by Google App Engine
This is Rietveld 408576698