Milan Burda
8cf15cc931
feat: only allow bundled preload scripts ( #17308 )
2019-03-28 11:38:51 +01:00
Shelley Vohr
879462af4b
docs: document modernization initiative more clearly ( #17376 )
...
* docs: document modernization initiative more clearly
2019-03-19 10:31:45 -07:00
Shelley Vohr
aa8b66aae1
feat: promisify session.getBlobData() ( #17303 )
2019-03-14 08:11:01 -07:00
Shelley Vohr
9ea6c01e02
feat: promisify session.clearAuthCache() ( #17259 )
...
* feat: promisify session.clearAuthCache()
* remove unused callback runner helpers
2019-03-08 18:41:42 -08:00
Shelley Vohr
fc10620082
feat: promisify session cache methods ( #17185 )
2019-03-08 14:42:03 -08:00
Shelley Vohr
2769e75b49
feat: promisify session proxy methods ( #17222 )
2019-03-08 12:51:12 -08:00
Shelley Vohr
e5e6aa207c
feat: promisify ses.clearHostResolverCache() ( #17229 )
2019-03-08 10:26:17 -08:00
Shelley Vohr
bbfa63fd9d
feat: promisify session.clearStorageData() ( #17249 )
2019-03-08 09:02:30 -08:00
Milan Burda
7e7abc28f5
feat: promisify netLog.stopLogging ( #16862 )
2019-02-19 10:48:27 +00:00
Robo
434a6e3561
refactor: create request context from network context ( #14656 )
...
* [ci skip] refactor: create request context from network context
* [ci skip] refactor: subscribe to mojo cookiemanager for cookie changes
* [ci skip] refactor: manage the lifetime of custom URLRequestJobFactory
* refactor: use OOP mojo proxy resolver
* revert: add support for kIgnoreCertificateErrorsSPKIList
* build: provide service manifest overlays for content services
* chore: gn format
* fix: log-net-log switch not working as expected
* spec: verify proxy settings are respected from pac script with session.setProxy
* chore: use chrome constants where possible
* fix: initialize request context for global cert fetcher
* refactor: fix destruction of request context getters
* spec: use custom session for proxy tests
* fix: queue up additional stop callbacks while net log is being stopped
* fix: Add CHECK for cookie manager retrieval
* chore: add helper to retrieve logging state for net log module
* fix: ui::ResourceBundle::GetRawDataResourceForScale => GetRawDataResource
* style: comment unused parameters
* build: move //components/certificate_transparency deps from //brightray
* chore: update gritsettings_resource_ids patch
* chore: update api for chromium 68
* fix: net log instance is now a property of session
2018-10-04 13:08:56 -05:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Samuel Attard
7025cbd0c9
feat: add mediaTypes to media permission requests
...
This is done to be consistent with setPermissionCheckHandler and to be
backwards compatible
Fixes #14168
2018-09-13 16:58:57 +10:00
Samuel Attard
68da311ed1
feat: add session.setPermissionCheckHandler ( #13925 )
...
* feat: add session.setPermissionCheckHandler to handle syncornous permission checks vs requests
* spec: add tests for session.setPermissionCheckHandler
* docs: add docs for session.setPermissionCheckHandler
* feat: add mediaType to media permission checks
* chore: cleanup check impl
2018-08-28 09:05:08 -05:00
Zhuo Lu
a0cac05555
Clear cache storage data ( #12546 )
2018-04-13 13:03:16 -04:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Zeke Sikelianos
4e328a2a08
Merge pull request #11481 from teiles/master
...
docs: change getBlobData return type from Blob to Buffer
2018-01-05 20:43:26 -08:00
Ted Eiles
5ccfac81ed
Reviewed getBlobData source, not return value (void)
2017-12-19 22:21:45 -05:00
Cheng Zhao
4fd8b04329
Better field names for details object
2017-12-20 10:25:31 +09:00
Samuel Attard
98e9311669
Give user access to the URL that is attempting to be openExternal'ed
2017-12-20 10:21:38 +09:00
Ted Eiles
19f2d42c07
change getBlobData return type from Blob to Buffer, fixes doc and typescript def
2017-12-19 19:52:59 -05:00
Cheng Zhao
cb3a9c69ab
Add a SessionPreferences to manage session related data
...
By design the BrowserClient should not be aware of the api:: classes.
2017-12-05 15:59:15 +09:00
Samuel Attard
3b80ee0655
Move global preload implementation to be session based
2017-12-05 11:35:53 +09:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Charles Kerr
70643a865b
Merge pull request #11178 from electron/fenced-code-block-lang
...
enforce rules on code blocks style in docs
2017-11-21 13:38:46 +01:00
Cheng Zhao
596a61f1ad
Merge pull request #11059 from electron/clear-permissions-handler
...
Document setPermissionRequestHandler(null)
2017-11-21 09:50:17 +09:00
Vanessa Yuen
435e027dc3
fix linting for fenced codeblocks only (see electron/electronjs.org#868 )
2017-11-20 14:33:25 +08:00
Numaan Ashraf
b695f1221c
📝 Fix typo in session docs
2017-11-15 20:54:24 +05:30
Felix Rieseberg
13749797ec
📝 Document setPermissionRequestHandler(null)
2017-11-10 14:48:15 -08:00
Boik
f40cc5ab54
add error code to session.setCertificateVerifyProc
2017-10-16 17:17:21 +08:00
rhysd
2edf4da859
fix some optional args docs
2017-08-16 02:23:36 +09:00
Zeke Sikelianos
56ee50f3a3
use lowercase for optional annotation
2017-06-13 13:50:10 -07:00
Samuel Attard
de066b8d13
Make clearStorageData options object's property optional
...
Fixes #9749
2017-06-14 04:34:13 +10:00
Kevin Sawicki
3ec7900e6e
Merge pull request #9154 from miniak/fix-api-docs
...
Fix api docs
2017-04-10 08:16:54 -07:00
Milan Burda
8f46137fda
Fix session.setPermissionRequestHandler webContents argument type
2017-04-10 02:12:15 +02:00
Kevin Sawicki
b7b7f28c5a
Link properties to class docs
2017-04-08 18:50:55 -07:00
Samuel Attard
f97066511f
Capitalize type
2017-03-07 21:25:40 +11:00
João Moreno
5a4d9807ee
Update ses.resolveProxy
return type
...
As far as I'm aware, after using the `ses.resolveProxy` API, it seems to return a string in the shape of `PROXY foopy:80;SOCKS5 bar.com:1080`, not an object. Correct me if I'm wrong.
2017-03-07 11:21:51 +01:00
Kevin Sawicki
91bd95a0b2
Add space after if
2017-02-22 08:11:21 -08:00
René Herrmann
c4280612c1
update setCertificateVerifyProc example
...
setCertificateVerifyProc example should reflect new api
2017-02-22 11:49:14 +01:00
Fabian Zeindl
46c65ae5fc
Update session.md
2017-02-12 10:06:24 +01:00
Kevin Sawicki
70178adb6e
Use object for verification request
2017-02-08 11:59:43 -08:00
Greg Nolle
e29b64a18a
modify CertVerifier Class
...
* respond to multiple similar verification requests.
* accept net error result as callback response.
2017-02-08 11:59:43 -08:00
Chandan Rai
4a6cbd76c8
corrected typo
2017-02-03 19:26:37 +05:30
Drew Chandler
b28a865436
Use localstorage in clearStorageData docs
...
It won't work if you use include the space that is currently in the docs.
2016-12-22 09:51:39 -08:00
Zeke Sikelianos
e57cb713b2
link process annotations to glossary
2016-12-21 13:47:40 -08:00
Kevin Sawicki
f99dabbac6
Merge pull request #8078 from electron/dts-docs-update-again
...
Update Docs
2016-12-21 13:39:53 -08:00
deepak1556
975d677f55
add docs
2016-12-09 09:56:16 -08:00
deepak1556
d944219b28
add docs
2016-12-09 09:37:46 -08:00
Samuel Attard
06960704c4
Update docs for dts again
2016-11-25 23:17:31 +11:00
Zeke Sikelianos
b084dc29ea
move each API doc into its own file
2016-11-16 09:02:49 -08:00
Zeke Sikelianos
21105271a4
document processes for APIs nested in parent docs
2016-11-03 11:50:00 -07:00
Zeke Sikelianos
ac68de6215
document process(es) for all APIs
2016-11-03 10:26:00 -07:00
Kevin Sawicki
a2a44621fd
Merge pull request #7708 from tinydew4/fix-typo
...
Fix typo, and trimming.
2016-10-24 16:12:29 +09:00
tinydew4
67a09d9fe0
Fix typo, and trimming.
2016-10-24 06:34:09 +00:00
Kevin Sawicki
632739ec6e
Merge pull request #7590 from electron/docs-cleanup
...
Cleanup docs and standardize structs
2016-10-24 15:13:39 +09:00
Samuel Attard
20323e7032
Specifiy function param types in docs
2016-10-13 17:30:57 +11:00
Samuel Attard
78343a62b8
Cleanup docs and standardize structs
2016-10-13 14:38:06 +11:00
Kevin Sawicki
96e48ac13c
Document cookie changed event
2016-09-29 09:16:35 -07:00
Samuel Attard
e0e47ea9a1
Update docs to contain more specific return values
2016-09-28 18:28:44 +13:00
Samuel Attard
d2a701a465
Document the return values of all methods in the docs
2016-09-25 12:59:30 +13:00
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +05:30
deepak1556
be4bc6b7ef
fix docs and update specs
2016-09-01 01:01:52 +05:30
deepak1556
a23e7ecf8f
add docs
2016-09-01 01:01:52 +05:30
Zeke Sikelianos
7ff5649965
fix optional param spacing
2016-08-26 23:47:04 -07:00
Kevin Sawicki
1276587ebe
Merge pull request #6934 from electron/add-missing-class-descriptions
...
Give every class a description
2016-08-23 10:16:29 -07:00
Zeke Sikelianos
098d4dc0ca
improve wording about class instantiation
2016-08-22 21:45:25 -07:00
Kevin Sawicki
4fc6cf48b0
Document enableNetworkEmulation defaults
2016-08-22 14:25:42 -07:00
Zeke Sikelianos
3d371e09b7
add a blockquote for every class
2016-08-22 14:11:03 -07:00
Kevin Sawicki
e84d0ebb7e
Merge pull request #6932 from electron/fix-power-save-blocker-doc-bug
...
Fix some invalid docs
2016-08-22 12:30:00 -07:00
Zeke Sikelianos
8c0a551d25
fix linting errors in docs
2016-08-22 11:47:55 -07:00
Haojian Wu
6a9801b82c
Remove an extra space in front of #.
2016-08-12 22:01:30 +02:00
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
deepak1556
aa6d79a3d8
session: add proxyBypassRules option to setProxy api
2016-07-21 10:14:54 +05:30
liusi
154daa8d6a
make Session::ClearStorageData's callback optional
2016-07-15 14:13:56 +08:00
Cheng Zhao
e7666b0448
docs: options of session.fromPartition
2016-07-13 12:23:14 +09:00
Kevin Sawicki
5b8c4f55e7
Update key to be httpOnly instead of session
2016-06-29 08:39:20 -07:00
Cheng Zhao
1a74177e2d
docs: Separate Cookies and WebRequest classes in session.md
2016-06-22 16:34:58 +09:00
Cheng Zhao
6b1df5838c
docs: ses.setUserAgent(userAgent[, acceptLanguages])
2016-06-22 16:05:38 +09:00
Cheng Zhao
62d0dbea5a
docs: Reformat the menu-item.md
2016-06-22 13:23:07 +09:00
deepak1556
4749e18fc0
fix spec and docs
2016-06-09 10:48:05 +05:30
deepak1556
ebff40b5a5
add docs
2016-06-09 10:39:18 +05:30
Cheng Zhao
3ec4fcb3ec
bellow => below
2016-06-08 11:03:01 +09:00
Vadim Macagon
c2633460eb
Improve documentation of ses.cookies.set()
...
Fix description of the `details.url` param in `ses.cookies.set()`, and clarify the fact that cookies without an expiration date will not be retained between sessions.
2016-05-25 12:46:17 +07:00
deepak1556
f68d0f324f
deprecate app.allowNTLMCredentialsForAllDomains
2016-05-23 11:44:21 +05:30
Plusb Preco
4cdba29fbd
📝 Match object notation style
...
[ci skip]
2016-05-11 10:30:02 +09:00
Plusb Preco
f1b184ef78
📝 Fix code style issue
...
* Change `var` to `let`.
* Change `function() {}` to `() => {}`.
* Use shorthand function syntax on object notation.
* Remove spaces between object notation brackets.
* Small fixes.
2016-05-11 02:15:09 +09:00
Plusb Preco
4d7296e1db
📝 Match destructuring style
...
[ci skip]
2016-05-11 01:26:38 +09:00
Plusb Preco
5787bb0226
📝 Fix code style issue
...
* Match equality operators for consistent that `==`, `!=` by `===`,
`!==`.
* Match string expression notation `"` by `'`.
[ci skip]
2016-05-10 18:42:21 +09:00
Steve Kinney
5a9f28e034
📝 Update API documentation to ES6 [ci skip]
2016-05-04 11:59:02 -06:00
Zeke Sikelianos
2c8261b429
update excerpts based on feedback
2016-04-22 10:32:28 -07:00
Zeke Sikelianos
0527b17e42
blockquote summaries
2016-04-22 10:32:28 -07:00
Zeke Sikelianos
ee190ca62a
create a one-liner description for each API
2016-04-22 10:32:28 -07:00
Plusb Preco
6205dfa25f
📝 Remove additional whitespaces
...
[ci skip]
2016-04-22 23:30:41 +09:00
Plusb Preco
a14014941b
📝 Fix coding style issues
...
[ci skip]
2016-04-22 23:26:19 +09:00
Plusb Preco
66f4701d93
📝 Remove additional whitespaces
...
[ci skip]
2016-04-22 23:23:15 +09:00
Plusb Preco
4f4277e25e
📝 Fix coding style issues
...
* Adjust line length to `80`
* Normalize whitespaces
[ci skip]
2016-04-22 22:54:43 +09:00
deepak1556
ca756c3c24
session: allow providing permission to handle external protocols
2016-04-21 05:27:07 +05:30