Samuel Attard
9d8619f305
fix: remove usage of private APIs in the MAS build ( #17224 )
...
* fix: remove usage of abort_report_np in MAS builds
* fix: remove usage of pthread_chdir in MAS builds
* fix: remove usage of setapplicationisdaemon in MAS builds
* chore: update patch manifest
2019-03-08 10:08:56 -08:00
Shelley Vohr
bbfa63fd9d
feat: promisify session.clearStorageData() ( #17249 )
2019-03-08 09:02:30 -08:00
Milan Burda
d34f81972d
refactor: make ELECTRON_BROWSER_SANDBOX_LOAD handler async ( #17107 )
2019-03-08 11:21:41 +01:00
Shelley Vohr
17dab8f239
build: turn gpg signing off for bootstrap ( #17282 )
2019-03-07 18:11:31 -08:00
Shelley Vohr
a4418a9014
chore: add static promise resolution helpers ( #17223 )
...
* chore: add static promise resolution helpers
* address feedback
* address feedback from review
2019-03-07 18:07:04 -08:00
Samuel Attard
61fc95417b
build: fix new TS linting errors ( #17279 )
...
* remove unused _args var
* handle type/variable shadowing
2019-03-07 17:18:10 -08:00
John Kleinschmidt
2be62b1c33
test: fix incorrect reference to skip ( #17278 )
2019-03-07 16:03:10 -08:00
Samuel Maddock
42b7b25ac3
feat: support chrome extensions in sandboxed renderer ( #16218 )
...
* Add content script injector to sandboxed renderer
* Fix 'getRenderProcessPreferences' binding to the wrong object
* Pass getRenderProcessPreferences to content-scripts-injector
* Emit document-start and document-end events in sandboxed renderer
* Use GetContext from RendererClientBase
* Prevent script context crash caused by lazily initialization
* Remove frame filtering logic for onExit callback
Since we're keeping track of which frames we've injected the bundle into, this logic is redundant.
* Add initial content script tests
* Add contextIsolation variants to content script tests
* Add set include
* Fix already loaded extension error
* Add tests for content scripts 'run_at' options
* Catch script injection eval error when CSP forbids it
This can occur in a rendered sandbox when a CSP is enabled. We'll need to switch to using isolated worlds to fix this.
* Fix content script tests not properly cleaning up extensions
* Fix lint and type errors
2019-03-07 16:00:28 -08:00
Jeremy Apthorp
825e526456
build: minor fixes to git-export-patches ( #17276 )
...
* fix: make export-patches robust to tags with dashes
* fix: --output is a required parameter of export-patches
2019-03-07 15:59:17 -08:00
Jeremy Apthorp
ca2c345997
chore: update package-lock.json with npm@latest ( #17146 )
...
* chore: update package-lock.json with npm@latest
* also for spec/
2019-03-07 15:34:33 -08:00
Milan Burda
5791a2a9ec
refactor: use ipcRendererUtils.invoke / ipcMainUtils.handle for desktopCapturer.getSources() ( #16619 )
2019-03-07 15:31:25 -08:00
Samuel Maddock
ac88b3ead5
feat: add 'disableHtmlFullscreenWindowResize' option to webPreferences ( #17203 )
...
This option allows users to prevent the window from resizing when the HTML5 FullScreen API is used.
2019-03-07 15:29:37 -08:00
Felix Rieseberg
f3fc4023cf
refactor: Port renderer/web-view to TypeScript ( #17250 )
2019-03-07 15:26:23 -08:00
Roller Bot
8c6bf9c848
chore: bump chromium in DEPS to 73.0.3683.68 ( #17262 )
2019-03-07 14:52:02 -08:00
Robo
bb88a07a94
fix: gn check errors in release build ( #17274 )
2019-03-07 14:48:22 -08:00
Samuel Maddock
8ec304f32f
fix: run subframe preload bundles in isolated context ( #17165 )
...
* fix: run subframe preload bundles in isolated context
* test subframe contextIsolation when disabled
2019-03-07 14:46:57 -08:00
Felix Rieseberg
5581990d78
build: Update TypeScript, use @typescript-eslint ( #17251 )
...
* build: Update TypeScript to v3.3
* build: Update TypeScript, use @typescript-eslint
2019-03-07 12:56:02 -08:00
Electron Bot
8c4d6438de
Bump v6.0.0-nightly.20190307
2019-03-07 12:51:33 -08:00
Electron Bot
229934ec66
Revert "Bump v6.0.0-nightly.20190307"
...
This reverts commit ab785e73ac
.
2019-03-07 12:47:33 -08:00
Electron Bot
ab785e73ac
Bump v6.0.0-nightly.20190307
2019-03-07 12:34:10 -08:00
Robo
d4d6b9862f
fix: make StreamSubscriber ref counted ( #17221 )
...
It is owned by URLRequestStreamJob on the IO thread once request starts,
but if the ownership was abondoned while transfering it to IO thread
which is possible when a request is aborted, then we need to make sure
its destroyed on the right thread to avoid lock in v8.
2019-03-07 20:50:03 +05:30
Jeremy Apthorp
b575631bb0
fix: bad assertion in crypto functions that use BN_bn2bin_padded ( #17220 )
...
* chore: roll node
in particular, this picks up electron/node#70a78f07b, which fixes an issue with incorrect usage of the BN_bn2bin_padded API in boringssl
* fix tests
2019-03-07 07:29:53 +05:30
Heilig Benedek
5422fd9941
fix: backport upstream fixes for color chooser dialogs ( #17227 )
...
* fix: backport upstream fixes for color chooser dialogs
* chore: fix patches, Windows bad, linux good
* Update color_chooser_mac.patch
* Update color_chooser_win.patch
2019-03-07 07:25:15 +05:30
Milan Burda
2733697819
refactor: make ELECTRON_INSPECTOR_SELECT_FILE handler async ( #17235 )
2019-03-06 22:22:45 +01:00
Shelley Vohr
6cb7b8d3a4
feat: promisify dialog.showSaveDialog() ( #17054 )
...
* feat: promisify dialog.showSaveDialog()
* address some feedback from review
* filename => filePath
* fix last filename => filePath
2019-03-05 13:48:20 -08:00
Roller Bot
92c9dbc179
chore: bump chromium in DEPS to 73.0.3683.65 ( #17234 )
2019-03-05 11:01:38 -08:00
Jeremy Apthorp
5a88d9e6fc
docs: add troubleshooting note about pywin32 ( #17216 )
2019-03-05 10:40:52 -08:00
Koen [XII]
aa863f3246
Fix typo in registerSchemesAsPrivileged reference ( #17214 )
2019-03-05 09:20:52 -08:00
Shelley Vohr
e05985145b
feat: promisify dialog.showOpenDialog() ( #16973 )
...
* feat: promisify dialog.showOpenDialog()
* address feedback from review
* address feedback from review
2019-03-05 05:54:48 -08:00
Robo
7936237677
build: enable gn check for //electron:electron_lib ( #17100 )
...
* build: enable gn check for //electron:electron_lib
* ci: add gn check step
* ci: set depot_tools path
* chrome_key_systems_provider.h nogncheck
* chore: fix gn check errors on windows
* chore: gn check //electron:electron_app
2019-03-05 10:38:55 +05:30
Charles Kerr
ed31cfebc9
fix: check for pane focus before removing it. ( #17164 )
...
Fixes #16883 . This bug seems to have been introduced in the #15302 's
menu a11y refactor and is new in 5-0-x.
2019-03-04 09:47:59 -06:00
Samuel Attard
8dcb5662e3
refactor: remove chromium/net_url_request_job.patch ( #17174 )
...
Does not appear to be used any more
2019-03-02 15:23:47 +05:30
Jeremy Apthorp
f4169f3491
chore: bump chromium to 73.0.3683.61 (master) ( #17191 )
...
also backport https://chromium-review.googlesource.com/c/chromium/src/+/1496448
2019-03-01 12:35:27 -08:00
Milan Burda
bbd1ae315a
refactor: use invoke/invokeSync helpers for <webview> implementation ( #16784 )
2019-03-01 13:33:03 -05:00
Jeremy Apthorp
2adbc7836b
refactor: prevent node macros from overriding base ( #17178 )
2019-03-01 10:04:30 -08:00
Felix Rieseberg
59a7fa6927
refactor: Port api/web-frame to TypeScript ( #17053 )
2019-03-01 08:39:04 +00:00
Milan Burda
676c02611d
spec: add missing checks to "validates process APIs access in sandboxed renderer" ( #17129 )
2019-02-28 22:24:18 -08:00
Jeremy Apthorp
67f04c0370
docs: remove dead link to chromiumdev slack ( #17161 )
...
* docs: remove dead link to chromiumdev slack
Closes #17154
* Update chromium-development.md
2019-02-28 16:43:55 -05:00
Shelley Vohr
544d8a423c
feat: allow MenuItems to work optionally when hidden ( #16853 )
...
* feat: allow MenuItems to work optionally when hidden
* fix: actually include forward_declaration
2019-02-28 17:00:54 +00:00
Linda_pp
6d55498cc7
docs: Fix types and missing property in WebRequest APIs ( #17046 )
...
* docs: Fixed hook methods of WebRequest accepts null as listener
* docs: Added missing `referrer` property in OnBeforeRequestDetails
* docs: Add `referrer` to each webRequest responses
2019-02-28 09:30:38 +00:00
Milan Burda
64078324bf
refactor: make CHROME_GET_MESSAGES handler async ( #17148 )
2019-02-27 21:30:35 -06:00
Nitish Sakhawalkar
bfa07ec4be
feat: Add new powerMonitor synchronous API ( #17144 )
...
`powerMonitor.querySystemIdleState` and `powerMonitor.querySystemIdleTime` had async backing APIs in chromium (https://chromium-review.googlesource.com/c/chromium/src/+/1379183 ). However, that has changed in ch73. So, this PR deprecates the old async APIs and adds new sync APIs.
2019-02-27 15:54:01 -05:00
Jeremy Apthorp
29ab74688d
chore: update CODEOWNERS to reflect governance ( #17143 )
...
* chore: update CODEOWNERS to reflect governance
* Add /patches/ @electron/wg-upgrades
* Update CODEOWNERS
2019-02-27 15:17:35 -05:00
qwabra
d4cfaaf047
Update debugging-main-process-vscode.md ( #16363 )
...
[console.log() not printing to terminal when debugging Electron apps. #49 ](https://github.com/Microsoft/vscode-recipes/issues/49#issuecomment-354367330 )
2019-02-27 15:03:15 -05:00
Nitish Sakhawalkar
5da89c3a2b
chore:Remove transparency hack ( #17128 )
...
This change undoes the hack that was put in because of a bug in chromium. That has since been fixed in chromium, so this is no longer need, hence removing.
The 'BrowserWindow' > 'preserves transparency' test, validates this working.
2019-02-27 14:51:30 -05:00
Samuel Attard
e01c3615c4
chore: replace usage of deprecated beginSheetModalForWindow API ( #16994 )
2019-02-27 10:23:17 -08:00
Luca Carettoni
1bbb47be5b
docs: Improved security doc, particularly around isolation and tool ( #16703 )
...
* Improved security doc, particularly around isolation and tool
* Fixes as suggested by @ckerr
* libcc update
* fixing lint stuff
2019-02-27 10:09:38 -08:00
Electron Bot
a07cb2afd7
Bump v6.0.0-nightly.20190227
2019-02-27 09:55:19 -08:00
Roller Bot
4e25dc3c3c
chore: bump chromium in DEPS to 73.0.3683.58 ( #17156 )
2019-02-27 09:48:08 -08:00
Shelley Vohr
5ecda17c7a
refactor: make shell.ShowItemInFolder asynchronous ( #17121 )
...
* fix: add scoped_blocking_calls to platform_win
https://chromium-review.googlesource.com/c/chromium/src/+/1191582
* feat: make ShowItemInFolder async
* address feedback from review
* fix build
2019-02-27 12:58:23 +00:00