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

Unified Diff: Source/devtools/front_end/sdk/ConsoleModel.js

Issue 416843002: DevTools: Send async stack trace with Network.Initiator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 5 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: Source/devtools/front_end/sdk/ConsoleModel.js
diff --git a/Source/devtools/front_end/sdk/ConsoleModel.js b/Source/devtools/front_end/sdk/ConsoleModel.js
index c22b353d9f5a7f52fdc3f946ad986938fa3d3473..88bd55f5366867b9355a96ffd832ed0b295c4a1b 100644
--- a/Source/devtools/front_end/sdk/ConsoleModel.js
+++ b/Source/devtools/front_end/sdk/ConsoleModel.js
@@ -207,11 +207,11 @@ WebInspector.ConsoleMessage = function(target, source, level, messageText, type,
if (this.request) {
this.stackTrace = this.request.initiator.stackTrace;
+ this.asyncStackTrace = this.request.initiator.asyncStackTrace;
if (this.request.initiator && this.request.initiator.url) {
this.url = this.request.initiator.url;
this.line = this.request.initiator.lineNumber;
}
- this.asyncStackTrace = undefined;
}
}
« no previous file with comments | « Source/devtools/front_end/networkLogView.css ('k') | Source/devtools/front_end/sources/CallStackSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698