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

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

Issue 2918313002: Implement new referrer policies (Closed)
Patch Set: update a comment 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 5edb42b4feaf9fef16ff9ccc60e3b938a4ba540a..556d8843ce285141d5da837fb694cd8e333b7cc7 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