blob: ab8eb4d8bfc97424d86320e242e6b7a578f85ae6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="resources/cookies-test-style.css">
<script src="resources/cookies-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script>
description(
'Test that a cookie set using JavaScript can be correctly read by HTTP server'
);
clearAllCookies();
document.cookie = "name=value;Max-Age=1000";
debug('checking that the cookie set in javascript can be read by HTTP server');
testCookies("name=value");
clearCookies();
successfullyParsed = true;
</script>
<script src="resources/cookies-test-post.js"></script>
</body>
</html>