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

Unified Diff: LayoutTests/inspector-protocol/json-parse.html

Issue 1291703004: Make inspector-protocol/json-parse.html report an error rather than time out. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector-protocol/json-parse.html
diff --git a/LayoutTests/inspector-protocol/json-parse.html b/LayoutTests/inspector-protocol/json-parse.html
index 33127ae9408d91452ccefc76b4fec6ec1df3f474..dc40b6d6e0f2798afd82cec77572c5a10edb4891 100644
--- a/LayoutTests/inspector-protocol/json-parse.html
+++ b/LayoutTests/inspector-protocol/json-parse.html
@@ -11,7 +11,10 @@ function test()
function step2(msg)
{
yurys 2015/08/12 19:05:42 Alternatively we could always dump JSON.stringify(
dgozman 2015/08/12 21:19:26 Used InspectorTest.logObject.
- InspectorTest.log(msg.result.result.value);
+ if (msg.result && msg.result.result)
+ InspectorTest.log(msg.result.result.value);
+ else
+ InspectorTest.log("Error: " + msg.error);
InspectorTest.completeTest();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698