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

Issue 2871303002: Add missing fields to ResourceResponse::DeepCopy (Closed)

Created:
3 years, 7 months ago by estark
Modified:
3 years, 7 months ago
Reviewers:
nasko
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add missing fields to ResourceResponse::DeepCopy ResourceResponse::DeepCopy wasn't copying all fields, which, in the case of security details, was causing PlzNavigate navigation requests to be missing security info when committed. A test will be added in a follow-up CL. https: //horo-t.github.io. Open DevTools and go to the Security tab. Reload the Review-Url: https://codereview.chromium.org/2871303002 Cr-Commit-Position: refs/heads/master@{#470752} Committed: https://chromium.googlesource.com/chromium/src/+/bb92571ebde21cea713ce66c5330f5907ae5cafc

Patch Set 1 #

Patch Set 2 : fix typo #

Patch Set 3 : add another note about updating DeepCopy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M content/public/common/resource_response.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/common/resource_response_info.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
estark
nasko: PTAL? Will look into writing a browser test this afternoon.
3 years, 7 months ago (2017-05-10 19:21:26 UTC) #3
estark
Oops, fixed a typo, now it actually compiles :)
3 years, 7 months ago (2017-05-10 19:30:44 UTC) #8
nasko
Maybe worthwhile putting a big fat comment in resource_response_info.h to point that whenever a new ...
3 years, 7 months ago (2017-05-10 19:51:32 UTC) #10
estark
On 2017/05/10 19:51:32, nasko wrote: > Maybe worthwhile putting a big fat comment in resource_response_info.h ...
3 years, 7 months ago (2017-05-10 20:03:45 UTC) #11
nasko
On 2017/05/10 20:03:45, estark wrote: > On 2017/05/10 19:51:32, nasko wrote: > > Maybe worthwhile ...
3 years, 7 months ago (2017-05-10 20:08:39 UTC) #12
estark
On 2017/05/10 20:08:39, nasko wrote: > On 2017/05/10 20:03:45, estark wrote: > > On 2017/05/10 ...
3 years, 7 months ago (2017-05-10 20:12:03 UTC) #14
nasko
LGTM and thanks a ton for the quick fix!
3 years, 7 months ago (2017-05-10 22:10:44 UTC) #18
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/2871303002/40001
3 years, 7 months ago (2017-05-10 22:17:46 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 23:43:37 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bb92571ebde21cea713ce66c5330...

Powered by Google App Engine
This is Rietveld 408576698