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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-events.html

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testts Created 4 years, 10 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-async/async-operation-events.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-events.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-events.html
index 648e21b83a0312d45db3110ab71412a58294326a..906f1c71d5006e480e00fe618760c1f011624be6 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-events.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-events.html
@@ -106,12 +106,12 @@ function test()
function asyncOperationDescription(operation)
{
var link = "";
- var callFrame = operation.stackTrace && operation.stackTrace[0];
+ var callFrame = operation.stack ? operation.stack.callFrames[0] : null;
if (callFrame) {
var url = WebInspector.displayNameForURL(callFrame.url);
link = " " + callFrame.functionName + " @ " + url + ":" + callFrame.lineNumber;
}
- return ("[" + operation.description + "]" + link);
+ return ("[" + operation.stack.description + "]" + link);
}
function maybeRunNoAsyncOperationsCallback()

Powered by Google App Engine
This is Rietveld 408576698