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

Issue 468853002: Use a precise target type for Beacon requests. (Closed)

Created:
6 years, 4 months ago by sof
Modified:
6 years, 4 months ago
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use a precise target type for Beacon requests. To allow the embedder to distinguish POST requests emanating from sendBeacon() from those from a <a ping>, assign a more precise target type to the former. This is done in preparation for adding Beacon-Age: headers to Beacon requests. R=mkwst@chromium.org BUG=398167 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180179

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M Source/core/loader/BeaconLoader.cpp View 1 chunk +1 line, -2 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
sof
6 years, 4 months ago (2014-08-13 12:49:14 UTC) #1
sof
On 2014/08/13 12:49:14, sof wrote: > Oops, meant to add "Please take a look, if ...
6 years, 4 months ago (2014-08-13 12:50:53 UTC) #2
Mike West
LGTM, thanks for cleaning this up. https://codereview.chromium.org/468853002/diff/1/Source/core/loader/BeaconLoader.cpp File Source/core/loader/BeaconLoader.cpp (left): https://codereview.chromium.org/468853002/diff/1/Source/core/loader/BeaconLoader.cpp#oldcode25 Source/core/loader/BeaconLoader.cpp:25: request.setRequestContext(blink::WebURLRequest::RequestContextPing); Why was ...
6 years, 4 months ago (2014-08-13 13:54:41 UTC) #3
sof
https://codereview.chromium.org/468853002/diff/1/Source/core/loader/BeaconLoader.cpp File Source/core/loader/BeaconLoader.cpp (left): https://codereview.chromium.org/468853002/diff/1/Source/core/loader/BeaconLoader.cpp#oldcode25 Source/core/loader/BeaconLoader.cpp:25: request.setRequestContext(blink::WebURLRequest::RequestContextPing); On 2014/08/13 13:54:41, Mike West (OOO until 19th) ...
6 years, 4 months ago (2014-08-13 14:05:38 UTC) #4
sof
Thanks for the review.
6 years, 4 months ago (2014-08-13 14:06:33 UTC) #5
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 4 months ago (2014-08-13 14:06:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/468853002/1
6 years, 4 months ago (2014-08-13 14:07:29 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 15:06:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (1) as 180179

Powered by Google App Engine
This is Rietveld 408576698