deepak1556
|
6dbd2ce243
|
use DownloadItem to determine download initiator
|
2016-04-27 20:29:39 +05:30 |
|
deepak1556
|
46208b5b3e
|
session: dont attach download dialog to deleted webContents window
|
2016-04-27 20:00:31 +05:30 |
|
Cheng Zhao
|
993695af07
|
Remove unneeded cleanup code
|
2016-04-25 10:23:36 +09:00 |
|
Cheng Zhao
|
2ae52d0ff4
|
Make Wrappable a template class
|
2016-04-25 10:17:54 +09:00 |
|
deepak1556
|
b8e04f4947
|
set client id on AtomNetworkDelegate instead of cmd line switch
|
2016-04-18 11:35:24 +05:30 |
|
deepak1556
|
fcf04377d7
|
set network emulation client id in request headers
|
2016-04-18 10:49:00 +05:30 |
|
Cheng Zhao
|
0bf1e56156
|
Update brightray for electron/brightray#212
|
2016-04-18 13:59:15 +09:00 |
|
Paul Betts
|
4503aafe64
|
int32 => int32_t
|
2016-03-10 17:06:21 +09:00 |
|
Cheng Zhao
|
8ff30a2abc
|
Revert "protocol: respect requests from partition"
This reverts commit 85800256de .
|
2016-02-24 13:25:30 +08:00 |
|
Robo
|
85800256de
|
protocol: respect requests from partition
|
2016-02-19 19:39:01 +05:30 |
|
Cheng Zhao
|
f1f91828ba
|
Rely on OnDownloadDestroyed to destroy downloadItem
|
2016-02-02 18:49:43 +08:00 |
|
Cheng Zhao
|
f624800881
|
Merge pull request #4314 from deepak1556/download_cancel_patch
fix crash when default download is canceled
|
2016-02-02 18:40:44 +08:00 |
|
Robo
|
2819af9586
|
fix lifetime of downloadItem class when defaultdownload canceled
|
2016-02-02 15:54:51 +05:30 |
|
Robo
|
ce2ea963b9
|
session: api to clear host resolver cache
|
2016-02-02 02:06:49 +05:30 |
|
Robo
|
045e42a10c
|
fix crash when default download is canceled
|
2016-02-02 00:26:37 +05:30 |
|
Robo
|
ff5fb512b8
|
use mediastreamdevicescontroller from brightray to enumerate available devices
|
2016-02-01 17:45:53 +05:30 |
|
Robo
|
db26dcaf4c
|
expose handler from session and remove permission-request event
|
2016-02-01 12:23:51 +05:30 |
|
Cheng Zhao
|
26350f4ccb
|
GetHttpCacheInIO => DoCacheActionInIO
|
2016-01-14 20:48:14 +08:00 |
|
Robo
|
10e4698baa
|
session: api to get current cache size
|
2016-01-14 17:15:45 +05:30 |
|
Robo
|
8433d94cac
|
session: api to flush DOMStorage data
|
2016-01-13 08:56:00 +05:30 |
|
Cheng Zhao
|
192fa4c86b
|
Cleanup docs and code of setProxy
|
2016-01-11 22:45:34 +08:00 |
|
Robo
|
8557cd223c
|
maintain api compatibility
|
2016-01-11 12:24:01 +05:30 |
|
Robo
|
be50ca2653
|
session: allow user to isolate pac script and proxy bypass rules
|
2016-01-11 03:55:56 +05:30 |
|
Robo
|
13b5cab738
|
session: add webrequest api
|
2015-12-09 20:14:18 +05:30 |
|
Cheng Zhao
|
73e7773d84
|
Update to API changes of Chrome 47
|
2015-12-07 19:56:23 +08:00 |
|
Cheng Zhao
|
a15f9fab5b
|
Use BuildPrototype to build prototype
This saves the step of manually keeping the global template object,
which is easy to forget then leak.
|
2015-12-03 16:04:46 +08:00 |
|
Cheng Zhao
|
6795bd1d96
|
Do not manually manage native resources
We should rely on the destructor to cleanup everything, instead of
putting them in the Destroy method.
|
2015-12-03 15:38:43 +08:00 |
|
Cheng Zhao
|
47d7f2c050
|
Fix cpplint warning
|
2015-11-18 11:45:15 +08:00 |
|
Cheng Zhao
|
c5bfac1969
|
Add session.setCertificateVerifyProc
|
2015-11-18 11:17:08 +08:00 |
|
Cheng Zhao
|
e432abfb42
|
Add certificate-error event
|
2015-11-18 10:39:25 +08:00 |
|
Cheng Zhao
|
961ee5a4d9
|
Rename verify-certificate to untrusted-certificate
|
2015-11-17 21:41:36 +08:00 |
|
Cheng Zhao
|
ebe66daa56
|
Emit verify-certificate only when default verifier fails
|
2015-11-17 21:36:36 +08:00 |
|
Cheng Zhao
|
e3517b701e
|
Create a new CertVerifierRequest for each request
It greatly simplifies the code.
|
2015-11-17 19:44:55 +08:00 |
|
Cheng Zhao
|
217311ef21
|
No need to use weak reference
Ref-counting manages everything.
|
2015-11-17 19:00:33 +08:00 |
|
Robo
|
92c3ee8e16
|
use delegate to notify verification requests
|
2015-11-16 20:45:49 +05:30 |
|
Robo
|
37e6e6fab7
|
emit verify-certificate event for handling verification
|
2015-11-13 06:44:49 +05:30 |
|
Robo
|
d072e61282
|
session: api to allow handling certificate verification
|
2015-11-13 01:27:30 +05:30 |
|
Cheng Zhao
|
75f49477ca
|
Cleanup wrapper function when app has done quitting
The app may still do something when quitting, we need to make sure the
wrapper function is still there at that time.
|
2015-11-04 16:54:36 +08:00 |
|
Robo
|
e9a5d05b27
|
session: allow setproxy to use external pac script
|
2015-10-22 23:03:47 +05:30 |
|
Haojian Wu
|
facd0fbc08
|
Implement webContents.savePage API.
|
2015-10-16 09:23:08 +08:00 |
|
Robo
|
fc7f4ae24b
|
session: api to emulate network conditions
|
2015-09-27 18:55:26 +05:30 |
|
Haojian Wu
|
0861d5d44b
|
Redefine 'will-download' design.
|
2015-09-24 16:04:44 +08:00 |
|
Haojian Wu
|
5ec74451ef
|
Introduce DownloadItem for supporting more downloading features.
|
2015-09-20 18:56:10 +08:00 |
|
Haojian Wu
|
87b9b0bc31
|
Implement session.setOpenDownloadDialog() API.
|
2015-09-20 18:45:34 +08:00 |
|
Cheng Zhao
|
e365cb6b1c
|
No longer needs to define node_includes.h at last
|
2015-09-07 16:41:49 +08:00 |
|
Cheng Zhao
|
e2bd1abce6
|
Make sure BrowserContext is destroyed on exit
|
2015-09-06 10:54:34 +08:00 |
|
Cheng Zhao
|
0b1a3f3ef3
|
Manage the life of BrowserContext in Session
|
2015-09-06 10:54:34 +08:00 |
|
Robo
|
4062ca5f68
|
implement wrapSession
|
2015-09-01 16:50:42 +05:30 |
|
Robo
|
aed487ef40
|
app: add will-download event to defaultSession
|
2015-08-31 12:57:56 +05:30 |
|
Cheng Zhao
|
c295979270
|
BrowserContext::GetRequestContext can only be called on UI thread
|
2015-08-10 15:02:16 +08:00 |
|