Shelley Vohr
d87b3ead76
chore: remove promisification deprecation callbacks ( #17907 )
...
* chore: remove promisification deprecation callbacks
* update docs
* fix smoke test
* fix executejs issue
* cleanup leftovers
* fix webContents.executeJavaScript tests
* cleanup WebContents.prototype.takeHeapSnapshot
* fix "sets arbitrary webContents as devtools" test
* fix executeJavaScriptInFrame related tests
2019-04-30 07:08:32 -07:00
pathim
cc1e8ecef6
docs: Correct doc for registerFileProtocol ( #18022 )
...
In the registerFileProtocol docs the "headers" argument of the callback was described as being a list. In fact is has to be an Object mapping header-entries to values. This can be seen in Line 326 of `/spec/api-protocol-spec.js` [fe618631f1/spec/api-protocol-spec.js (L326)
].
2019-04-29 15:26:55 -07:00
Shelley Vohr
e1acfffaf8
docs: remove outdated refs to protocol.registerStandardSchemes ( #17959 )
2019-04-25 15:56:59 -07:00
Kilian Valkhof
ea6641afe5
docs: explanation on using protocols with partitions ( #17759 )
...
* docs: explanation on using protocols with partitions
* linting fixes
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com>
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com>
* Update docs/api/protocol.md
Co-Authored-By: Kilian <kilian@kilianvalkhof.com>
* be more explicit about there being a default session.
2019-04-18 12:40:04 -07: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
Koen [XII]
aa863f3246
Fix typo in registerSchemesAsPrivileged reference ( #17214 )
2019-03-05 09:20:52 -08:00
Robo
5478cc7e8e
chore: fix lint errors ( #16906 )
2019-02-13 00:19:47 +05:30
Jeremy Apthorp
5a44cc50cf
docs: migration guide for register{StandardSchemes => SchemesAsPrivileged} ( #16762 )
...
* docs: migration guide for register{StandardSchemes => SchemesAsPrivileged}
cc @nitsakh
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net>
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net>
* Update protocol.md
* Update docs/api/protocol.md
Co-Authored-By: nornagon <nornagon@nornagon.net>
2019-02-12 04:31:53 -10:00
Nitish Sakhawalkar
bd4e14dcee
fix: update docs for protocol API ( #16601 )
...
* fix: update docs for protocol API
* upddate source for new attribute name
* update electron-typescript-definitions package
2019-01-30 12:54:18 -08:00
Nitish Sakhawalkar
940c4c0787
feat: move webFrame scheme privilege methods to main process ( #16416 )
...
* chore: deprecate webFrame.registerURLSchemeAsPrivileged
* Add register schemes protocol api
* update branch to enable browser process API
* Revert deprecation changes
* Fetch API support
* Updated api to take an array, still working on tests
* Update tests
* Remove web frame API
* Minor changes
* update scheme registrations on browser and renderer process
* fix: enable ses.getBlobData spec
* Update breaking changes doc
2019-01-29 16:11:01 +09:00
Shelley Vohr
1f2b02c18f
feat: promisify protocol.isProtocolHandled() ( #16423 )
...
* feat: promisify protocol
* fix base::Bind and specs
* update documentation
* make callback-compatible
* async awaitify tests
2019-01-17 09:05:10 -08:00
David Baker
cc85946f55
feat: Support response headers in File protocol handler ( #16098 )
...
* feat: Support response headers in File protocol handler
* bugfix: Null check headers value & fix tests
* refactor: Use non-deprecated FindKeyOfType
2018-12-18 23:17:02 -07:00
David Sanders
bae652f46d
docs: http protocol handlers can access headers ( #15431 )
...
* test: check http protocol handlers can access headers
* docs: http protocol handlers can access headers
2018-10-30 11:37:49 -07:00
David Sanders
c93973ab7a
docs: fix protocol.isProtocolHandled documentation ( #15430 )
2018-10-29 15:23:23 -04:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Thiago de Arruda
5e8618ec3b
Add documentation for {intercept,register}StreamProtocol.
2017-11-13 16:16:14 -03:00
Zeke Sikelianos
3d2c622ba7
use new Buffer.from
2017-06-10 12:22:27 -07: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
Kevin Sawicki
c5097ae483
Add options to protocol.registerStandardSchemes docs
2016-12-20 09:44:58 -08:00
Samuel Attard
06960704c4
Update docs for dts again
2016-11-25 23:17:31 +11:00
Zeke Sikelianos
ac68de6215
document process(es) for all APIs
2016-11-03 10:26:00 -07:00
tinydew4
67a09d9fe0
Fix typo, and trimming.
2016-10-24 06:34:09 +00:00
Samuel Attard
20323e7032
Specifiy function param types in docs
2016-10-13 17:30:57 +11:00
Samuel Attard
e0e47ea9a1
Update docs to contain more specific return values
2016-09-28 18:28:44 +13:00
deepak1556
ad783652c8
update docs
2016-09-22 00:20:34 +05:30
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
Kevin Sawicki
4ce2c221c9
Minor doc edits and link to MDN page
2016-08-24 09:03:44 -07:00
deepak1556
ae297760af
add spec and docs
2016-08-24 06:53:14 +05:30
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07: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
139a4f984a
📝 Add missing semicolons
...
[ci skip]
2016-05-11 01:57:55 +09:00
Cheng Zhao
4dc431043f
docs: When to use protocol.registerStandardSchemes
2016-05-10 09:53:35 +09:00
deepak1556
9c71c9fa6a
fix docs and spec
2016-05-08 01:37:57 +05:30
Steve Kinney
5a9f28e034
📝 Update API documentation to ES6 [ci skip]
2016-05-04 11:59:02 -06:00
Zeke Sikelianos
799fd13c50
more updates to api summaries based on feedback
2016-04-22 11:42:54 -07: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
Cheng Zhao
d195cc3796
docs: uploadData is optional
2016-01-28 18:59:58 +08:00
Cheng Zhao
f820b0db83
docs: Revise the webRequest and protocol docs
2016-01-28 18:59:07 +08:00
Cheng Zhao
a05aa81570
Merge pull request #3701 from deepak1556/protocol_post_data_patch
...
protocol: provide upload data when available
2015-12-10 19:38:35 +08:00
deepak1556
fbb5091f94
provide option to set content for POST request with url_fetcher
2015-12-09 20:10:57 +05:30
Robo
855d49100f
protocol: api to register schemes that can handle service worker
2015-12-09 03:11:58 +05:30
Cheng Zhao
bcdd0952f8
docs: Fix typo
2015-11-18 17:56:50 +08:00
Cheng Zhao
eac2e7cc61
docs: Update codes in docs to use require('electron')
2015-11-12 21:20:09 +08:00
Cheng Zhao
d9cf9a7cbc
docs: Fix wrong level for API titles
2015-10-08 11:14:04 +08:00