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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function.html

Issue 2609653002: [DevTools] Migrate CallStackSidebarPane to UI.ListControl. (Closed)
Patch Set: review fixes Created 3 years, 11 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/sources/debugger-ui/async-call-stack-async-function.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function.html
index 42904a0f2760f7fb11511cc3f4fdf52ee289a196..b1ce791b3a1a0df1323ca8b8f85d68108b6751e7 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function.html
@@ -35,9 +35,9 @@ var test = function()
function dumpCallStackSidebarPane()
{
- var callFrameList = self.runtime.sharedInstance(Sources.CallStackSidebarPane).callFrameList;
- for (var item of callFrameList._items)
- InspectorTest.addResult(item.element.textContent.replace(/VM\d+/g, "VM"));
+ var pane = self.runtime.sharedInstance(Sources.CallStackSidebarPane);
+ for (var element of pane.contentElement.querySelectorAll('.call-frame-item'))
+ InspectorTest.addResult(element.deepTextContent().replace(/VM\d+/g, "VM"));
}
}

Powered by Google App Engine
This is Rietveld 408576698