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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.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
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
index 9c302a8703a6b397c5a7b3d2c173b7d7f4fb2f68..ffcbfb398e53c4fd91d991e8936de4b382b382ca 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
@@ -47,19 +47,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();

Powered by Google App Engine
This is Rietveld 408576698