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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/exception-from-worker-contains-stack.html

Issue 2154623002: [DevTools] Make most fields of ExceptionDetails non-optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector-protocol/console/exception-from-worker-contains-stack.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/console/exception-from-worker-contains-stack.html b/third_party/WebKit/LayoutTests/inspector-protocol/console/exception-from-worker-contains-stack.html
index 4a8f0f154528eddb8dfbccfc943755d92050f44e..b612c9bedf2010e801e65ac737ac5a002d009e73 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/console/exception-from-worker-contains-stack.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/console/exception-from-worker-contains-stack.html
@@ -54,7 +54,7 @@ function test()
{
var message = JSON.parse(messageObject["params"]["message"]);
if (message["method"] === "Runtime.exceptionThrown") {
- var callFrames = message.params.details.stack ? message.params.details.stack.callFrames : [];
+ var callFrames = message.params.details.stackTrace ? message.params.details.stackTrace.callFrames : [];
InspectorTest.log(callFrames.length > 0 ? "Message with stack trace received." : "[FAIL] Message contains empty stack trace");
messageReceived = true;
if (messageReceived && workerTerminated)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698