Chromium Code Reviews| 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> |