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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-attribute-import-no-referrer.html

Issue 2495313002: Add referrerpolicy to style and import (Closed)
Patch Set: Fixed import tests Created 3 years, 12 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/LayoutTests/http/tests/security/referrer-policy-attribute-import-no-referrer.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-attribute-import-no-referrer.html b/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-attribute-import-no-referrer.html
new file mode 100644
index 0000000000000000000000000000000000000000..82ad99e6b012a296a99c613bed712c425f2f7209
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-attribute-import-no-referrer.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <meta name="referrer" content="origin">
+ <link rel=import href="resources/pass-if-no-referrer.php"
+ referrerpolicy="no-referrer" onload="console.log('PASS');"
+ onerror="console.log('FAIL');">
+ <script>
+ if (testRunner)
+ testRunner.dumpAsText();
+ </script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698