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
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
misc
/
empty-cookie.html
blob
bf2986e4437dcbfe27ca4128efbab6f9887dea43
1
<body>
2
<p>
Test that setting a document.cookie to an empty value has no effect
</p>
3
<script>
4
if
(
window
.
testRunner
)
5
testRunner
.
dumpAsText
();
6
7
document
.
cookie
=
""
;
8
document
.
write
(
document
.
cookie
?
"FAILURE"
:
"SUCCESS"
);
9
if
(
document
.
cookie
)
10
document
.
write
(
': "'
+
document
.
cookie
+
'"'
);
11
</script>
12
</body>