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

Issue 2669463004: Chrome should send cookieless request to WebAPK server. (Closed)

Created:
3 years, 10 months ago by Xi Han
Modified:
3 years, 10 months ago
Reviewers:
dominickn, pkotwicz
CC:
chromium-reviews, zpeng+watch_chromium.org, battre
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Chrome should send cookieless request to WebAPK server. WebAPK server only takes the user agent from the request sent from Chrome, and ignores cookies. From security perspective, it is safer to send request without any cookie. Therefore, we add flag to exlude cookies from the request to the WebAPK server. BUG=687191 Review-Url: https://codereview.chromium.org/2669463004 Cr-Commit-Position: refs/heads/master@{#447282} Committed: https://chromium.googlesource.com/chromium/src/+/3faa6994cce92431aa1ba5179aa92e3a45a7bb91

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add more flags. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/browser/android/webapk/webapk_installer.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Xi Han
Hi Dominick, could you please take a look? Thanks!
3 years, 10 months ago (2017-01-31 15:56:50 UTC) #3
dominickn
lgtm % question https://codereview.chromium.org/2669463004/diff/1/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2669463004/diff/1/chrome/browser/android/webapk/webapk_installer.cc#newcode512 chrome/browser/android/webapk/webapk_installer.cc:512: net::LOAD_DO_NOT_SAVE_COOKIES); Should there be any other ...
3 years, 10 months ago (2017-01-31 18:02:14 UTC) #4
Xi Han
https://codereview.chromium.org/2669463004/diff/1/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2669463004/diff/1/chrome/browser/android/webapk/webapk_installer.cc#newcode512 chrome/browser/android/webapk/webapk_installer.cc:512: net::LOAD_DO_NOT_SAVE_COOKIES); On 2017/01/31 18:02:14, dominickn wrote: > Should there ...
3 years, 10 months ago (2017-01-31 18:12:58 UTC) #5
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/2669463004/20001
3 years, 10 months ago (2017-01-31 18:13:24 UTC) #8
pkotwicz
Is net::LOAD_DISABLE_CACHE redundant given that this is a POST request?
3 years, 10 months ago (2017-01-31 18:27:44 UTC) #9
pkotwicz
Looks like other places in the code set net::LOAD_DISABLE_CACHE for POST requests. So I guess ...
3 years, 10 months ago (2017-01-31 18:30:13 UTC) #11
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/2669463004/20001
3 years, 10 months ago (2017-01-31 18:31:24 UTC) #13
Xi Han
Thank you Peter for verifying these flags! I don't know whether there is a rule ...
3 years, 10 months ago (2017-01-31 18:35:31 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 18:55:30 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3faa6994cce92431aa1ba5179aa9...

Powered by Google App Engine
This is Rietveld 408576698