| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <link rel="stylesheet" href="resources/cookies-test-style.css"> |
| <script src="resources/cookies-test-pre.js"></script> |
| "This test checks that cookies are correctly set using Max-Age." |
| debug("Check that setting a simple cookie works."); |
| cookiesShouldBe("test=foobar; Max-Age=90000000", "test=foobar"); |
| debug("Check setting a cookie that timed out."); |
| cookiesShouldBe("test2=foobar; Max-Age=-1", ""); |
| successfullyParsed = true; |
| <script src="resources/cookies-test-post.js"></script> |