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

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

Issue 2609653002: [DevTools] Migrate CallStackSidebarPane to UI.ListControl. (Closed)
Patch Set: comments addressed, more 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-url.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url.html
index 86e8faaa28cd948e6ef9d952a6d2124467588e3d..8a06b992d67576c8e771c17b68489abf34087d07 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-url.html
@@ -44,9 +44,9 @@ var test = function()
function step6()
{
- 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"));
InspectorTest.completeDebuggerTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698