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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/cookies/resources/get-cookie.html

Issue 2623423002: Add console warning and tests for strict secure cookies.
Patch Set: Update comment Created 3 years, 11 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/cookies/resources/get-cookie.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cookies/resources/get-cookie.html b/third_party/WebKit/LayoutTests/http/tests/security/cookies/resources/get-cookie.html
new file mode 100644
index 0000000000000000000000000000000000000000..f21f83c049d300047428165a21319d26120978c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/cookies/resources/get-cookie.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<script>
+var has_cookie = document.cookie.indexOf("test_cookie=1") >= 0;
+window.parent.postMessage(has_cookie, '*');
+</script>
+</head>
+<body onload="checkCookie()">
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698