Merge pull request #2066 from atom/doc-type-error

📝 Fix a type error.
This commit is contained in:
Kevin Sawicki 2015-06-26 08:24:33 -06:00
Родитель a79fcac047 80e02d945c
Коммит 4b4654ec71
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1113,9 +1113,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)