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

Unified Diff: LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer.html

Issue 1291613010: Implement referrerpolicy attribute for img elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: actually fix webexposed test this time Created 5 years, 4 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: LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer.html
diff --git a/LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer.html b/LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer.html
new file mode 100644
index 0000000000000000000000000000000000000000..c716d9303f419fdfb0afbd82ca58c2de40969333
--- /dev/null
+++ b/LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <meta name="referrer" content="origin">
+ <img src="resources/green-if-no-referrer.php"
+ referrerpolicy="no-referrer" />
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698