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

Unified Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp

Issue 2392443007: reflow comments in modules/[app_banner,encoding] (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.");

Powered by Google App Engine
This is Rietveld 408576698