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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js

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/http/tests/inspector/stacktraces/resources/stacktrace-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js
index e921cc8adf602d9d3abe452ab5a13e9eb527daf8..5d8d556075957c02c20b43d6c344fd603428c5cf 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js
@@ -6,7 +6,7 @@ function test() {
for (var i = 0; i < viewMessages.length; ++i) {
var m = viewMessages[i].consoleMessage();
InspectorTest.addResult("Message[" + i + "]: " + WebInspector.displayNameForURL(m.url) + ":" + m.line + " " + m.messageText);
- var trace = m.stackTrace;
+ var trace = m.stackTrace ? m.stackTrace.callFrames : null;
if (!trace) {
InspectorTest.addResult("FAIL: no stack trace attached to message #" + i);
} else {

Powered by Google App Engine
This is Rietveld 408576698