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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.html

Issue 2249743006: [DevTools] Fill ExceptionDetails with more details, unify usage across protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser test Created 4 years, 4 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-protocol/runtime/runtime-runScript-async.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.html
index ae23ae90e64007391a1df9fb5a54df6b7b6ad19b..b81bafc8f5dee44b9fbdd7d14928dea21c492f60 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.html
@@ -118,6 +118,10 @@ function test()
return;
}
result = result.result;
+ if (result.exceptionDetails) {
+ result.exceptionDetails.exceptionId = 0;
+ result.exceptionDetails.exception.objectId = 0;
+ }
if (result.exceptionDetails && result.exceptionDetails.scriptId)
result.exceptionDetails.scriptId = 0;
if (result.exceptionDetails && result.exceptionDetails.stackTrace) {

Powered by Google App Engine
This is Rietveld 408576698