repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Supervised user whitelists: Cleanup
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
setcookie.html
blob
b07e113672b96a53bf106eb5515bbc1842aa26dc
1
<html>
2
<head>
3
<title>
This page sets a cookie
</title>
4
<script
type
=
"text/javascript"
>
5
function
makeCookie
()
6
{
7
expireAt
=
new
Date
;
8
expireAt
.
setMonth
(
expireAt
.
getMonth
() +
3
);
9
username
=
"Good"
;
10
document
.
cookie
=
"name="
+
username
+
";expires="
+
expireAt
.
toGMTString
()
11
}
12
</script>
13
</head>
14
<body
onLoad
=
"makeCookie()"
>
15
</body>
16
</html>