Sign in
chromium
/
chromium
/
src
/
0afd01280b68464fbde2087071ab8441415c1ea7
/
.
/
third_party
/
blink
/
web_tests
/
external
/
wpt
/
cookies
/
attributes
/
resources
/
path-redirect-shared.js
blob: 83a614117cd54c23540a7405e15dcbedf96cfa00 [
file
] [
log
] [
blame
]
window
.
expireCookie
=
(
cookie
)
=>
{
const
cookies
=
Array
.
isArray
(
cookie
)
?
cookie
:
[
cookie
];
for
(
let c of cookies
)
{
document
.
cookie
=
c
+=
"; max-age=0"
;
}
}
window
.
getCookies
=
()
=>
document
.
cookie
;