diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-04-12 12:11:52 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-12 22:37:00 +0200 |
commit | fc03f8d959daa5b3f6846dafca521a7fe13d41c1 (patch) | |
tree | 80e009451ed2a54c926ce468e6a97b0cc5944921 | |
parent | cab2e2dded573e891579b8323c713ddc20008f41 (diff) | |
download | serenity-fc03f8d959daa5b3f6846dafca521a7fe13d41c1.zip |
Base: Update cookie test page to set some attributes
-rw-r--r-- | Base/res/html/misc/cookie.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Base/res/html/misc/cookie.html b/Base/res/html/misc/cookie.html index 1391bab3ff..cf057f6986 100644 --- a/Base/res/html/misc/cookie.html +++ b/Base/res/html/misc/cookie.html @@ -1,7 +1,8 @@ <body> - <input type=button onclick="setCookie('cookie1=value1')" value="Set Cookie 1" /> - <input type=button onclick="setCookie('cookie2=value2')" value="Set Cookie 2" /> - <input type=button onclick="setCookie('cookie3=value3')" value="Set Cookie 3" /> + <input type=button onclick="setCookie('cookie1=value1; max-age=100; path=/res/html')" value="Set Cookie 1" /> + <input type=button onclick="setCookie('cookie2=value2; expires=Sat, 23 Jan 2060 08:10:36 GMT')" value="Set Cookie 2" /> + <input type=button onclick="setCookie('cookie3=value3; domain=serenityos.org')" value="Set Cookie 3" /> + <input type=button onclick="setCookie('cookie4=value4; httponly; secure')" value="Set Cookie 4" /> <br /><pre id=cookies></pre> <script> |