Samuel Attard
b87b501161
build: update eslint + eslint plugins ( #22777 )
...
* build: run eslint --fix
* chore: manually fix all hasOwnProperty errors
* chore: manually fix all void 0 vs undefined errors
* chore: manually fix all async-in-promise errors
* chore: manually fix lexical declaration in case block
2020-03-20 11:12:18 -04:00
Erick Zhao
34e004015d
feat: add API to check if session is persistent ( #22622 )
2020-03-11 16:02:22 +09:00
John Kleinschmidt
e0c0875d6f
docs: update session.clearAuthCache ( #22292 )
...
* docs: update session.clearAuthCache
* Update specs to match doc change.
2020-02-21 13:40:45 -05:00
Cheng Zhao
0209302d84
test: use exit event to wait for process exit ( #21865 )
2020-01-27 10:29:50 +09:00
Cheng Zhao
d5192853f9
fix: name and expirationDate should be optional when setting cookie ( #21454 )
...
* fix: correctly set cookie date
* fix: name is not required for setting cookie
* test: clear cookie after each cookie test
* test: should test session property
* chore: style fixes
2019-12-11 16:44:49 +09:00
OJ Kwon
ca61d2fae7
fix: allow reading body from non-2xx responses in net.request ( #21055 )
...
* fix(urlrequest): allow non-2xx repsponse results
- closes #21046
* test(net): add test cases to verify non-2xx body
* test(session): update spec to match clientrequest behavior
* test(net): update test cases to match clientrequest behavior
* spec: clean up async net spec
2019-11-25 14:34:25 -08:00
Jeremy Apthorp
4f1536479e
fix: implement 'login' event for net.ClientRequest ( #21096 )
2019-11-14 10:01:18 -08:00
Jeremy Apthorp
034f4d5734
fix: implement 'login' event for WebContents ( #20954 )
2019-11-11 09:47:01 -08:00
Jeremy Apthorp
ecd9e1f26e
chore: lint spec-main ( #20835 )
2019-11-01 13:37:02 -07:00
Jeremy Apthorp
6781d5e3c8
test: there is only --ci ( #20794 )
2019-10-30 16:38:21 -07:00
Cheng Zhao
5e11be6898
fix: cookies.get should be able to filter domain ( #20471 )
...
* fix: use GetAllCookies when url is empty
* test: get cookie without url
2019-10-09 15:57:40 +09:00
Jeremy Apthorp
593f1774e9
fix: backport Node nested microtask fix ( #20303 )
2019-09-25 17:38:50 -04:00
Electron Bot
913ec1e0d0
chore: bump chromium to 0239d631f03d0111f77b0b98c7765 (master) ( #20285 )
2019-09-21 10:51:28 -04:00
Cheng Zhao
96b42bddb8
fix: implement ses.getBlobData() for NetworkService ( #20041 )
...
* pass data pipe to JS
* implement reading buffer
* re-enable ses.getBlobData test
* remove AtomBlobReader
2019-09-04 07:54:14 +09:00
Jeremy Apthorp
90d62e5b98
fix: nws13n: make ses.setUserAgent work ( #20014 )
...
* refactor tests to better control window creation
* fix: nws13n: make ses.setUserAgent work
2019-08-29 15:50:14 +09:00
Milan Burda
eed72c35d7
feat: add session.downloadURL() ( #19889 )
2019-08-28 20:27:20 -07:00
Jeremy Apthorp
79e936aea8
test: fix clearAuthCache test ( #20015 )
2019-08-28 17:43:12 -07:00
Jeremy Apthorp
bdc84d0bfb
test: tsify session spec ( #19604 )
2019-08-27 14:55:19 -07:00