Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Shelley Vohr
365fe6b067
fix code fence lint failure
2018-01-22 12:41:46 -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
Cheng Zhao
6d9c6645a8
Add inAppPurchase to docs index
2018-01-10 17:25:04 +09:00
Cheng Zhao
e77ddd3221
Pass multiple transactions at the same time
...
This follows the design of SKPayment API.
2018-01-10 17:19:44 +09:00
Cheng Zhao
2dd545ebda
Payment should be part of Transaction
...
This follows The SKPayment API, and makes our JS wrappers easier to
implement.
2018-01-10 17:06:27 +09:00
Cheng Zhao
635b753ecd
No need for SKPaymentTransactionState prefix for states
2018-01-10 16:59:17 +09:00
Cheng Zhao
133bef3deb
Turn addTransactionListener into transaction-updated event
2018-01-10 16:57:52 +09:00
Cheng Zhao
ac6f895f64
Turn InAppPurchase into an EventEmitter
2018-01-10 16:37:05 +09:00
Adrien Fery
f3ae566164
Add in-app purchase for MacOS
2018-01-10 13:14:18 +09: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
Zeke Sikelianos
c272a18204
Merge pull request #11428 from TechnicalSoup/patch-1
...
docs: specify string values for DownloadItem
2018-01-05 08:42:10 -08:00
Zeke Sikelianos
eb89e12c5b
Merge pull request #11532 from sethlu/camelcase-menuitem-role
...
Make MenuItem roles camelCase-compatible
2018-01-04 09:53:58 -08:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
TechnicalSoup
0ea296b1cb
docs: specify string values for DownloadItem
...
Explicitly list the possible string return values for the updated and done events so that the typescript declaration file can model them more accurately. At present they are represented as a string type.
Fixes : https://github.com/electron/electron-typescript-definitions/issues/71
2018-01-03 13:34:19 +11:00
Cheng Zhao
46330ac2a9
Remove the closed event of Menu
...
The callback of Menu.popup does more things, and there is actually no
request for the closed event.
2018-01-01 17:22:07 +09:00
Cheng Zhao
9c6aa9ce90
docs: callback of Menu.popup
2018-01-01 16:42:23 +09:00
Zhuo Lu
d45914c3f7
MenuItem roles camelCase-compatible
2017-12-28 13:28:20 +08:00
HayateLaTech
f2e32791b1
Update browser-window.md
2017-12-22 15:13:12 +01:00
Heilig Benedek
bcef6eb3df
document menu closed event and fix styling issue
2017-12-20 15:40:07 +09: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
5d86da48c7
The missing :
2017-12-19 15:44:58 +09:00
Cheng Zhao
4dee778212
Clearer wording
2017-12-19 15:39:57 +09:00
Ajey Charantimath
8953042ee3
Updated auto-updater.md
...
Missing documentation on the issue https://github.com/electron/electron/issues/10903
2017-12-19 15:33:13 +09:00
Hugo Mano
ae7b96991c
Add webFrame.setIsolatedWorldSecurityOrigin
...
Move vector to cc file
Map executed javascript in isolated world to url
Some 💅
Documentation
Use WebSource[] as argument in executeJavaScriptInIsolatedWorld
Refactor and lint with @poiru’s comments
Remove duplicate call
Typo
Lint
2017-12-19 10:36:03 +09:00
Shelley Vohr
26ad37c4d1
remove key and value bullts
2017-12-13 16:02:15 -05:00
Shelley Vohr
8b447b9291
fixing error in registerDefaults
2017-12-12 13:08:09 -05:00
Alexey Kuzmin
1caa04c0bf
Revert "Add systemPreferences.registerDefaults()"
2017-12-12 13:59:15 +03:00
Shelley Vohr
027e78639a
update value type to Any
2017-12-11 14:06:02 -05:00
Shelley Vohr
765f223fef
update docs and spec
2017-12-11 13:06:23 -05:00
Shelley Vohr
c5aeda1fdd
fixes from code review
2017-12-11 00:20:26 -05:00
Shelley Vohr
5e51ab9791
fix doc parsing error
2017-12-10 14:55:14 -05:00
Shelley Vohr
9a40bbd082
update systemPreferences docs
2017-12-10 14:46:19 -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
Samuel Attard
0ddd078aaf
Add ability to set global preload scripts
2017-12-05 11:35:27 +09:00
Cheng Zhao
d598aa1a67
Merge pull request #11300 from electron/external-devtools
...
Add API to set arbitrary WebContents as devtools
2017-12-05 10:35:49 +09:00
Cheng Zhao
52c6f4bcc5
docs: responsiblity of destroying devtoolsWebContents
2017-12-04 18:42:42 +09:00
Charles Kerr
6beaafc7e5
Merge pull request #11282 from Toinane/fix-documentation
...
typographical revision in Documentation
2017-12-03 09:01:24 -06:00
Charles Kerr
851642f4b8
Merge pull request #11311 from electron/fix-typos-in-structures
...
fix typos in structures
2017-12-03 08:34:08 -06:00
Jonathan
f32f0fb774
Update cookies.md
2017-12-02 01:27:53 +01:00
Zeke Sikelianos
7dd921811f
fix typos in structures
2017-12-01 11:43:04 -08:00
Cheng Zhao
88c4fd3f2b
docs: Remove unnecessary shows
2017-12-01 12:04:50 +09:00
Cheng Zhao
6b408de884
Allow using docked devtools for webview
2017-12-01 11:56:58 +09:00
Cheng Zhao
25c5938c76
docs: Open detached devtools in example
2017-12-01 10:35:23 +09:00
Cheng Zhao
580abedbb7
docs: contents.setDevToolsWebContents
2017-12-01 10:35:23 +09:00