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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-expand-scope.html

Issue 1884213003: DevTools: teach SourceMapNamesResolver to resolve "this" object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ids
Patch Set: fix tesst Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-expand-scope.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-expand-scope.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-expand-scope.html
index 0dcee13642a2d9797b5e22c6fc7d4193aacb58de..5c4989994d2a218cf70e408e1345c7c2f3fec5d7 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-expand-scope.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-expand-scope.html
@@ -30,19 +30,24 @@ function testFunction()
function test()
{
- InspectorTest.startDebuggerTest(step1);
+ InspectorTest.startDebuggerTest(onTestStarted);
- function step1()
+ function onTestStarted()
{
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+ InspectorTest.runTestFunctionAndWaitUntilPaused(onDebuggerPaused);
}
- function step2()
+ function onDebuggerPaused()
{
- InspectorTest.expandScopeVariablesSidebarPane(step3);
+ InspectorTest.addSniffer(WebInspector.ScopeChainSidebarPane.prototype, "_sidebarPaneUpdatedForTest", onSidebarRendered, true);
}
- function step3()
+ function onSidebarRendered()
+ {
+ InspectorTest.expandScopeVariablesSidebarPane(onScopeVariablesExpanded);
+ }
+
+ function onScopeVariablesExpanded()
{
InspectorTest.addResult("");
InspectorTest.dumpScopeVariablesSidebarPane();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698