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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.cpp

Issue 2918313002: Implement new referrer policies (Closed)
Patch Set: update public/platform/OWNERS per presubmit Created 3 years, 6 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/core/dom/ExecutionContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
index 98c91f3007bad22491748aeaf68c0a1ff882f51a..1a38ac5155c76d5ec2c2ec4172bc3e3d94137406 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
@@ -215,7 +215,9 @@ void ExecutionContext::ParseAndSetReferrerPolicy(const String& policies,
? "'always', 'default', 'never', 'origin-when-crossorigin', "
: "") +
"'no-referrer', 'no-referrer-when-downgrade', 'origin', "
- "'origin-when-cross-origin', or 'unsafe-url'. The referrer policy "
+ "'origin-when-cross-origin', 'same-origin', 'strict-origin', "
+ "'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer "
+ "policy "
"has been left unchanged."));
return;
}

Powered by Google App Engine
This is Rietveld 408576698