| Index: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
|
| diff --git a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
|
| index 489e8529f6ad762fef785c44b8a8c22801edf34f..33cae5d175d7867981074c4d57e5865dd4411e5f 100644
|
| --- a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
|
| +++ b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
|
| @@ -61,7 +61,8 @@ bool NavigatorBeacon::canSendBeacon(ExecutionContext* context,
|
| // FIXME: CSP is not enforced on redirects, crbug.com/372197
|
| if (!ContentSecurityPolicy::shouldBypassMainWorld(context) &&
|
| !context->contentSecurityPolicy()->allowConnectToSource(url)) {
|
| - // We can safely expose the URL to JavaScript, as these checks happen synchronously before redirection. JavaScript receives no new information.
|
| + // We can safely expose the URL to JavaScript, as these checks happen
|
| + // synchronously before redirection. JavaScript receives no new information.
|
| exceptionState.throwSecurityError(
|
| "Refused to send beacon to '" + url.elidedString() +
|
| "' because it violates the document's Content Security Policy.");
|
|
|