mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Base: Update cookie test page to set some attributes
This commit is contained in:
parent
cab2e2dded
commit
fc03f8d959
Notes:
sideshowbarker
2024-07-18 20:27:49 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/fc03f8d959d Pull-request: https://github.com/SerenityOS/serenity/pull/6272 Reviewed-by: https://github.com/gmta
1 changed files with 4 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue