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

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: Created 4 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-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..92ece9f7adc449033d912b43276c5ba070023658 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,7 +106,7 @@ function test()
function asyncOperationDescription(operation)
{
var link = "";
- var callFrame = operation.stackTrace && operation.stackTrace[0];
+ var callFrame = operation.stackTrace ? operation.stackTrace.callFrames[0] : null;
if (callFrame) {
var url = WebInspector.displayNameForURL(callFrame.url);
link = " " + callFrame.functionName + " @ " + url + ":" + callFrame.lineNumber;

Powered by Google App Engine
This is Rietveld 408576698