Chromium Code Reviews
DescriptionPlzNavigate: 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 #Messages
Total messages: 18 (12 generated)
|