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

Unified Diff: ios/web/web_state/ui/web_view_js_utils.mm

Issue 2617433004: Increases the depth of parsing dictionaries returned by JS evaluation (Closed)
Patch Set: Created 3 years, 11 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: ios/web/web_state/ui/web_view_js_utils.mm
diff --git a/ios/web/web_state/ui/web_view_js_utils.mm b/ios/web/web_state/ui/web_view_js_utils.mm
index a6269247fa897bfeac3a6f0834898d396d02825b..02e4bd9147d2e900ecf49be21b2dc510b53baa96 100644
--- a/ios/web/web_state/ui/web_view_js_utils.mm
+++ b/ios/web/web_state/ui/web_view_js_utils.mm
@@ -78,7 +78,7 @@ std::unique_ptr<base::Value> ValueResultFromWKResult(id wk_result,
namespace web {
NSString* const kJSEvaluationErrorDomain = @"JSEvaluationError";
-int const kMaximumParsingRecursionDepth = 6;
+int const kMaximumParsingRecursionDepth = 8;
std::unique_ptr<base::Value> ValueResultFromWKResult(id wk_result) {
return ::ValueResultFromWKResult(wk_result, kMaximumParsingRecursionDepth);
« 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