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/extensions/extensions-reload.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/extensions/extensions-reload.html
diff --git a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-reload.html b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-reload.html
index f7d2654e67d396af33952e2a2359abb93631d5c9..93ff4fb86983c79bce9dce5f47abe08d3eeb8034 100644
--- a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-reload.html
+++ b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-reload.html
@@ -46,9 +46,9 @@ function initialize_testReloadInjectsCodeWithMessage()
callback(null);
var uiMessage = viewMessages[viewMessages.length - 1];
var message = uiMessage.consoleMessage();
- if (message.stackTrace.length < 1)
+ if (!message.stackTrace)
callback(null);
- callback(message.stackTrace[0].scriptId);
+ callback(message.stackTrace.callFrames[0].scriptId);
}
InspectorTest.getScriptSource = function(scriptId, callback)
{

Powered by Google App Engine
This is Rietveld 408576698