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

Issue 2967503003: Introduce a parse for digital asset links. (Closed)

Created:
3 years, 5 months ago by vasilii
Modified:
3 years, 5 months ago
Reviewers:
vabr (Chromium), battre
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments #

Patch Set 3 : Fix compilation #

Messages

Total messages: 24 (13 generated)
vasilii
Hi Vaclav, please review
3 years, 5 months ago (2017-06-30 17:31:22 UTC) #4
vabr (Chromium)
LGTM, nice! Cheers, Vaclav https://codereview.chromium.org/2967503003/diff/1/components/password_manager/core/browser/site_affiliation/asset_link_data.cc File components/password_manager/core/browser/site_affiliation/asset_link_data.cc (right): https://codereview.chromium.org/2967503003/diff/1/components/password_manager/core/browser/site_affiliation/asset_link_data.cc#newcode25 components/password_manager/core/browser/site_affiliation/asset_link_data.cc:25: static void RegisterJSONConverter( I was ...
3 years, 5 months ago (2017-07-01 12:21:42 UTC) #7
vasilii
https://codereview.chromium.org/2967503003/diff/1/components/password_manager/core/browser/site_affiliation/asset_link_data.cc File components/password_manager/core/browser/site_affiliation/asset_link_data.cc (right): https://codereview.chromium.org/2967503003/diff/1/components/password_manager/core/browser/site_affiliation/asset_link_data.cc#newcode25 components/password_manager/core/browser/site_affiliation/asset_link_data.cc:25: static void RegisterJSONConverter( On 2017/07/01 12:21:42, vabr (Chromium) wrote: ...
3 years, 5 months ago (2017-07-03 09:31:00 UTC) #8
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/2967503003/20001
3 years, 5 months ago (2017-07-03 09:31:36 UTC) #11
vabr (Chromium)
Thanks for the answers and for explaining the noexcept. (Still LGTM of course.)
3 years, 5 months ago (2017-07-03 09:33:00 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/447318)
3 years, 5 months ago (2017-07-03 10:13:22 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/2967503003/40001
3 years, 5 months ago (2017-07-03 16:53:11 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/2befc6f4110c0146686f35638e6e890cc1486d7e
3 years, 5 months ago (2017-07-03 18:17:02 UTC) #20
battre
Are you sure it is ok to do the parsing of untrusted JSON in the ...
3 years, 5 months ago (2017-07-03 20:29:14 UTC) #22
vasilii
On 2017/07/03 20:29:14, battre wrote: > Are you sure it is ok to do the ...
3 years, 5 months ago (2017-07-04 11:55:46 UTC) #23
battre
3 years, 5 months ago (2017-07-04 15:14:44 UTC) #24
Message was sent while issue was closed.
On 2017/07/04 11:55:46, vasilii wrote:
> On 2017/07/03 20:29:14, battre wrote:
> > Are you sure it is ok to do the parsing of untrusted JSON in the browser
> process
> > instead of a sandboxed worker process?
> 
> We do it for Cloud Print for example
>
(https://cs.chromium.org/chromium/src/chrome/browser/printing/cloud_print/priv...)
> Or we parse OpenSearch descriptions which are just XMLs referenced by random
> sites
>
(https://cs.chromium.org/chromium/src/components/search_engines/template_url_f...)
> I can check with the security team of course if you are not convinced.

I think it would be great to quickly ping them and ask them whether in the light
of the precedents you found, this is expected.

Thanks,
Dominic

Powered by Google App Engine
This is Rietveld 408576698