issues
search
WICG
/
cookie-store
Asynchronous access to cookies from JavaScript
https://wicg.github.io/cookie-store/
Apache License 2.0
143
stars
35
forks
source link
Fix and simplify cookie writing example
#196
Closed
lahmatiy
closed
3 years ago
lahmatiy
commented
3 years ago
URL
interface has no
domain
property but
host
new URL(self.location.href)
is not needed since
self.location
has similar interface as
URL
(see
https://html.spec.whatwg.org/multipage/history.html#location
,
https://html.spec.whatwg.org/multipage/workers.html#workerlocation
)
inexorabletash
commented
3 years ago
Thanks!
URL
interface has nodomain
property buthost
new URL(self.location.href)
is not needed sinceself.location
has similar interface asURL
(see https://html.spec.whatwg.org/multipage/history.html#location, https://html.spec.whatwg.org/multipage/workers.html#workerlocation)