📝 Fix a type error.

This commit is contained in:
Haojian Wu 2015-06-26 10:47:50 +08:00
parent 09c2317ae6
commit 80e02d945c

View file

@ -1102,9 +1102,9 @@ win.webContents.on('did-finish-load', function() {
* `secure` Boolean - Whether the cookie is marked as Secure (typically HTTPS)
* `http_only` Boolean - Whether the cookie is marked as HttpOnly
* `session` Boolean - Whether the cookie is a session cookie or a persistent
* cookie with an expiration date.
cookie with an expiration date.
* `expirationDate` Double - (Option) The expiration date of the cookie as
the number of seconds since the UNIX epoch. Not provided for session cookies.
the number of seconds since the UNIX epoch. Not provided for session cookies.
### WebContents.session.cookies.set(details, callback)