1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <link rel=
"stylesheet" href=
"resources/cookies-test-style.css">
5 <script src=
"resources/cookies-test-pre.js"></script>
8 <p id=
"description"></p>
9 <div id=
"console"></div>
12 "This test checks that cookies are correctly set using Max-Age."
17 debug("Check that setting a simple cookie works.");
18 cookiesShouldBe("test=foobar; Max-Age=90000000", "test=foobar");
21 debug("Check setting a cookie that timed out.");
22 cookiesShouldBe("test2=foobar; Max-Age=0", "");
25 successfullyParsed
= true;
27 <script src=
"resources/cookies-test-post.js"></script>