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

Issue 2953583002: PlzNavigate: fix empty FirstPartyForCookies in tests. (Closed)

Created:
3 years, 6 months ago by arthursonzogni
Modified:
3 years, 5 months ago
Reviewers:
clamy
CC:
chromium-reviews, nasko+codewatch_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, creis+watch_chromium.org, ahemery
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: fix empty FirstPartyForCookies in tests. This CL swaps the order of execution of WebFrameTestClient::WillSendRequest and the part where FirstPartyForCookies and RequestorOrigin are set. FirstPartyForCookies is used in WebFrameTestClient::WillSendRequest. Using the wrong order caused the following test to fail: TEST= * external/wpt/url/failure.html * fast/loader/main-document-url-for-non-http-loads.html * http/tests/cache/iframe-304-crash.html * http/tests/history/post-replace-state-reload.html * http/tests/inspector/network/network-datareceived.html * http/tests/inspector/resource-parameters-ipv6.html * http/tests/loading/307-after-303-after-post.html * http/tests/loading/redirect-methods.html * http/tests/misc/window-dot-stop.html * http/tests/navigation/location-reload-after-post.php BUG=735424 Review-Url: https://codereview.chromium.org/2953583002 Cr-Commit-Position: refs/heads/master@{#482621} Committed: https://chromium.googlesource.com/chromium/src/+/f06bfc089846a2175801cf7d249f292cfb337940

Patch Set 1 #

Patch Set 2 : Do not put it into WillSendRequest because of initiator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M content/renderer/render_frame_impl.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
arthursonzogni
Hi Camille, Could you please review this?
3 years, 6 months ago (2017-06-22 13:49:18 UTC) #10
arthursonzogni
Gentle ping. ;-)
3 years, 5 months ago (2017-06-27 09:37:18 UTC) #11
clamy
Thanks! Lgtm.
3 years, 5 months ago (2017-06-27 13:05:38 UTC) #12
arthursonzogni
On 2017/06/27 13:05:38, clamy wrote: > Thanks! Lgtm. Thanks!
3 years, 5 months ago (2017-06-27 13:06:35 UTC) #13
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/2953583002/20001
3 years, 5 months ago (2017-06-27 13:06:51 UTC) #15
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 14:34:18 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f06bfc089846a2175801cf7d249f...

Powered by Google App Engine
This is Rietveld 408576698