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

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

Issue 2918313002: Implement new referrer policies (Closed)
Patch Set: ios fix 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 1441ab9982615e117910dba6a85b3c9f238274b8..dafba6b05299a9c56e1e5c080204c218ff5819e1 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
@@ -216,7 +216,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