Index: Source/core/loader/BeaconLoader.cpp |
diff --git a/Source/core/loader/BeaconLoader.cpp b/Source/core/loader/BeaconLoader.cpp |
index 7773528991bc5790ba422e45667ad2c4bcda7bd3..3f4b81a109ed08030f0007c5ae2c94ce717cd136 100644 |
--- a/Source/core/loader/BeaconLoader.cpp |
+++ b/Source/core/loader/BeaconLoader.cpp |
@@ -21,8 +21,7 @@ namespace blink { |
void BeaconLoader::prepareRequest(LocalFrame* frame, ResourceRequest& request) |
{ |
- // NOTE: do not distinguish Beacon by target type. |
- request.setRequestContext(blink::WebURLRequest::RequestContextPing); |
Mike West
2014/08/13 13:54:41
Why was this note here? It's certainly less releva
sof
2014/08/13 14:05:38
Just a remark that Blink didn't expose the "Beacon
|
+ request.setRequestContext(WebURLRequest::RequestContextBeacon); |
request.setHTTPMethod("POST"); |
request.setHTTPHeaderField("Cache-Control", "max-age=0"); |
request.setAllowStoredCredentials(true); |