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

Issue 2335483004: Limit depth of parsing of dictionaries returned by JS evaluation. (Closed)

Created:
4 years, 3 months ago by jif
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit depth of parsing of dictionaries returned by JS evaluation. BUG=645486 Committed: https://crrev.com/8c6bd84b9151d53c938205ad7809cd7784980403 Cr-Commit-Position: refs/heads/master@{#418289}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Addressed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -14 lines) Patch
M ios/web/web_state/ui/web_view_js_utils.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/web_view_js_utils.mm View 1 2 3 chunks +30 lines, -8 lines 0 comments Download
M ios/web/web_state/ui/web_view_js_utils_unittest.mm View 1 3 chunks +46 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
jif
ptal
4 years, 3 months ago (2016-09-12 15:30:38 UTC) #6
Eugene But (OOO till 7-30)
Thanks! lgtm https://codereview.chromium.org/2335483004/diff/40001/ios/web/web_state/ui/web_view_js_utils.mm File ios/web/web_state/ui/web_view_js_utils.mm (right): https://codereview.chromium.org/2335483004/diff/40001/ios/web/web_state/ui/web_view_js_utils.mm#newcode22 ios/web/web_state/ui/web_view_js_utils.mm:22: std::unique_ptr<base::Value> ValueResultFromWKResult(id wk_result, Could you please move ...
4 years, 3 months ago (2016-09-12 16:12:01 UTC) #7
jif
Thanks. TAL if you want, I'll submit it on Wednesday if you don't post any ...
4 years, 3 months ago (2016-09-13 09:41:10 UTC) #9
Eugene But (OOO till 7-30)
Still lgtm https://codereview.chromium.org/2335483004/diff/40001/ios/web/web_state/ui/web_view_js_utils.mm File ios/web/web_state/ui/web_view_js_utils.mm (right): https://codereview.chromium.org/2335483004/diff/40001/ios/web/web_state/ui/web_view_js_utils.mm#newcode29 ios/web/web_state/ui/web_view_js_utils.mm:29: if (max_depth < 0) { On 2016/09/13 ...
4 years, 3 months ago (2016-09-13 15:52:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2335483004/100001
4 years, 3 months ago (2016-09-13 16:55:53 UTC) #17
jif
https://codereview.chromium.org/2335483004/diff/80001/ios/web/web_state/ui/web_view_js_utils.mm File ios/web/web_state/ui/web_view_js_utils.mm (right): https://codereview.chromium.org/2335483004/diff/80001/ios/web/web_state/ui/web_view_js_utils.mm#newcode66 ios/web/web_state/ui/web_view_js_utils.mm:66: } // anonymous namespace On 2016/09/13 15:52:55, Eugene But ...
4 years, 3 months ago (2016-09-13 16:56:12 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 3 months ago (2016-09-13 17:51:05 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 17:52:46 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8c6bd84b9151d53c938205ad7809cd7784980403
Cr-Commit-Position: refs/heads/master@{#418289}

Powered by Google App Engine
This is Rietveld 408576698