Make cookie aligns to Chrome's.
This commit is contained in:
parent
969916442f
commit
c164da5a38
2 changed files with 15 additions and 2 deletions
|
@ -161,8 +161,8 @@ struct Converter<net::CanonicalCookie> {
|
|||
mate::Dictionary dict(isolate, v8::Object::New(isolate));
|
||||
dict.Set("name", val.Name());
|
||||
dict.Set("value", val.Value());
|
||||
dict.Set("source", val.Source());
|
||||
dict.Set("domain", val.Domain());
|
||||
dict.Set("host_only", net::cookie_util::DomainIsHostOnly(val.Domain()));
|
||||
dict.Set("path", val.Path());
|
||||
dict.Set("secure", val.IsSecure());
|
||||
dict.Set("http_only", val.IsHttpOnly());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue