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

Issue 2327783002: Fix domdistiller for new JS execution (Closed)

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

Description

Fix domdistiller for new JS execution Javascript execution does not support returning strings anymore; fixed domdistiller to work with this requirement. BUG=NONE Committed: https://crrev.com/3d08d5a050833c9f5f24cf5ab006b9675d6ea0ac Cr-Commit-Position: refs/heads/master@{#419749}

Patch Set 1 #

Total comments: 13

Patch Set 2 : comments test #

Total comments: 6

Patch Set 3 : test & comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -16 lines) Patch
M components/dom_distiller/ios/distiller_page_ios.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M components/dom_distiller/ios/distiller_page_ios.mm View 1 2 3 chunks +86 lines, -13 lines 0 comments Download
M ios/web/web_state/ui/web_view_js_utils.mm View 1 2 1 chunk +12 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/web_view_js_utils_unittest.mm View 1 2 2 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
lody
As discussed w/ eugene this is duplicated code but is the safest way to modify ...
4 years, 3 months ago (2016-09-09 09:23:57 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2327783002/diff/1/components/dom_distiller/ios/distiller_page_ios.h File components/dom_distiller/ios/distiller_page_ios.h (right): https://codereview.chromium.org/2327783002/diff/1/components/dom_distiller/ios/distiller_page_ios.h#newcode49 components/dom_distiller/ios/distiller_page_ios.h:49: std::unique_ptr<base::Value> ValueResultFromWKResult(id wk_result); Optional NIT: Maybe s/WKResult/ScriptResult for consistency ...
4 years, 3 months ago (2016-09-09 15:28:28 UTC) #3
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2327783002/diff/1/components/dom_distiller/ios/distiller_page_ios.mm File components/dom_distiller/ios/distiller_page_ios.mm (right): https://codereview.chromium.org/2327783002/diff/1/components/dom_distiller/ios/distiller_page_ios.mm#newcode152 components/dom_distiller/ios/distiller_page_ios.mm:152: ValueResultFromWKResult([wk_result objectForKey:key])); On 2016/09/09 15:28:28, Eugene But wrote: > ...
4 years, 3 months ago (2016-09-10 00:23:40 UTC) #4
lody
eugene, are you ok finishing this CL? I saw you mentioned not taking on so ...
4 years, 3 months ago (2016-09-19 15:34:36 UTC) #6
Eugene But (OOO till 7-30)
It would make sense to finish all reviews I started :) lgtm and thank you ...
4 years, 3 months ago (2016-09-19 21:52:27 UTC) #7
lody
https://codereview.chromium.org/2327783002/diff/40001/components/dom_distiller/ios/distiller_page_ios.mm File components/dom_distiller/ios/distiller_page_ios.mm (right): https://codereview.chromium.org/2327783002/diff/40001/components/dom_distiller/ios/distiller_page_ios.mm#newcode25 components/dom_distiller/ios/distiller_page_ios.mm:25: // However WKWebView only allows us to return "numbers." ...
4 years, 3 months ago (2016-09-20 13:41:37 UTC) #8
noyau (Ping after 24h)
components/dom_distiller/ios/ lgtm.
4 years, 3 months ago (2016-09-20 13:52:50 UTC) #9
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/2327783002/60001
4 years, 3 months ago (2016-09-20 13:53:25 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-09-20 14:09:26 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 14:10:55 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3d08d5a050833c9f5f24cf5ab006b9675d6ea0ac
Cr-Commit-Position: refs/heads/master@{#419749}

Powered by Google App Engine
This is Rietveld 408576698