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

Issue 1016373002: Perform CORS access checks on Beacon redirects. (Closed)

Created:
5 years, 9 months ago by sof
Modified:
5 years, 9 months ago
Reviewers:
Nate Chapin, Mike West
CC:
blink-reviews, gavinp+loader_chromium.org, Nate Chapin, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Perform CORS access checks on Beacon redirects. Beacon "fetches" follow CORS, which means that a CORS check must be performed on the redirect response. R=mkwst BUG=468527 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192294

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebased + add mixed content test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -8 lines) Patch
A LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html View 1 chunk +24 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/navigation/beacon-cross-origin-redirect-expected.txt View 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/navigation/beacon-cross-origin.https.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/navigation/beacon-cross-origin.https-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/fetch/CrossOriginAccessControl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/CrossOriginAccessControl.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/loader/BeaconLoader.h View 4 chunks +11 lines, -1 line 0 comments Download
M Source/core/loader/BeaconLoader.cpp View 1 5 chunks +48 lines, -1 line 0 comments Download
M Source/core/loader/PingLoader.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
sof
please take a look.
5 years, 9 months ago (2015-03-19 16:28:56 UTC) #2
Mike West
LGTM % nits. https://codereview.chromium.org/1016373002/diff/1/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html File LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html (right): https://codereview.chromium.org/1016373002/diff/1/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html#newcode16 LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html:16: shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.php?status=302&target=non-existent.php", "CrossOrigin");'); Would you mind adding ...
5 years, 9 months ago (2015-03-20 16:51:27 UTC) #3
sof
https://codereview.chromium.org/1016373002/diff/1/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html File LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html (right): https://codereview.chromium.org/1016373002/diff/1/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html#newcode16 LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html:16: shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.php?status=302&target=non-existent.php", "CrossOrigin");'); On 2015/03/20 16:51:27, Mike West wrote: > ...
5 years, 9 months ago (2015-03-20 20:33:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016373002/20001
5 years, 9 months ago (2015-03-20 21:50:27 UTC) #7
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 23:04:36 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192294

Powered by Google App Engine
This is Rietveld 408576698