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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript.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-compileScript.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript.html
index da8e833a6952aebd726edacc680ffea95c446565..a93d06f4882cc236bf31d4d0973492f9182d4d27 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-compileScript.html
@@ -49,8 +49,11 @@ function test()
function onCompiled(messageObject)
{
var result = messageObject.result;
- if (result.exceptionDetails)
+ if (result.exceptionDetails) {
+ result.exceptionDetails.exceptionId = 0;
+ result.exceptionDetails.exception.objectId = 0;
result.exceptionDetails.scriptId = 0;
+ }
if (result.scriptId)
result.scriptId = 0;
InspectorTest.logObject(result, "compilation result: ");

Powered by Google App Engine
This is Rietveld 408576698