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
Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
android
/
cookie.html
blob
f2e6415ca16782a05f0b89200e564149dd63e80d
1
<!DOCTYPE
html
>
2
<html>
3
<script>
4
if
(
window
.
location
.
hash
.
indexOf
(
'clear'
) != -
1
) {
5
document
.
cookie
=
''
;
6
}
7
8
function
setCookie
() {
9
document
.
cookie
=
'Foo=Bar'
;
10
}
11
12
function
getCookie
() {
13
return
document
.
cookie
;
14
}
15
</script>
16
<body>
Test for setting and getting cookies.
</body>
17
</html>