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
Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[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>