Matthew Shen
c0e72bd335
docs: update to the use of arrow functions in line with the style guide ( #30194 )
...
* docs: Update to the use of arrow functions in line with the style guide
* docs: Fixed unmatched bracket typo in previous commit 9ebe3e58f7948c6636d77f3c58a2693683b69691
* fix linting
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
2021-08-02 10:57:37 +09:00
Biru Mohanathas
ced2e8779f
feat: Allow detection of MITM HTTPS proxies like ZScaler ( #30174 )
...
* feat: Allow detection of MITM HTTPS proxies like ZScaler
For security purposes, Figma heavily restrics the origins that are
allowed to load within our Electron app. Unfortunately some corporate
environments use MITM proxies like ZScaler, which intercepts our
connection to `https://www.figma.com ` and serves a redirect to e.g.
`https://gateway.zscloud.net ` before finally redirecting back to
`https://www.figma.com `.
In order to detect this situation and handle it gracefully, we need to
be able to know whether or not the certificate for our own origin
(`https://www.figma.com `) is chained to a known root. We do this by
exposesing `CertVerifyResult::is_issued_by_known_root`.
If the certification verification passed without the certificate being
tied to a known root, we can safely assume that we are dealing with a
MITM proxy that has its root CA installed locally on the machine. This
means that HTTPS can't be trusted so we might as well make life easier
for corporate users by loosening our origin restrictions without any
manual steps.
* Tweak docs wording
2021-08-02 10:24:58 +09:00
Samuel Attard
9693fb9a37
build: update build images to update npm and node ( #30359 )
2021-08-02 10:01:59 +09:00
Jeremy Rose
9a63d96e83
fix: respect LogJsConsoleMessages feature in InspectableWebContents::DidAddMessageToConsole ( #30312 )
2021-07-30 10:18:49 -07:00
Electron Bot
7b5deb2f3a
Bump v16.0.0-nightly.20210730
2021-07-30 06:01:04 -07:00
Samuel Attard
8651c5d02d
chore: update deps ( #30339 )
2021-07-30 02:21:54 -07:00
Shelley Vohr
639f03977f
fix: BrowserViews not painting their WebContents ( #29919 )
2021-07-30 08:59:24 +09:00
John Kleinschmidt
9cc1b55663
chore: remove experimental from navigator.serial implementation ( #30237 )
2021-07-30 08:57:22 +09:00
Shelley Vohr
3ee6326b93
fix: use contentAspectRatio not aspectRatio ( #30305 )
2021-07-29 23:27:21 +02:00
Shelley Vohr
39c3ff5292
fix: guard against missing native view ( #30304 )
2021-07-29 23:27:02 +02:00
Electron Bot
4aa9455613
Bump v16.0.0-nightly.20210729
2021-07-29 06:02:12 -07:00
Milan Burda
c5ad7ed0cd
refactor: remove guestInstanceId from WebPreferences ( #30280 )
...
* refactor: remove guestInstanceId from WebPreferences
* refactor: remove WebViewManager::GetEmbedder
2021-07-28 15:32:53 -07:00
Samuel Attard
c3abbdefdd
build: set the export goma auth fallback flag for the control process ( #30313 )
2021-07-28 14:02:50 -07:00
George Xu
bd85b1d028
docs: create documentation for browser api ( #30071 )
...
* docs: create documentation for browser api
* docs: add cpp theme
2021-07-28 12:37:45 -07:00
Jeremy Rose
fa464286ee
test: deflake crashReporter.getLastCrashReport test ( #30276 )
2021-07-28 08:56:15 -07:00
Electron Bot
d63980edeb
Bump v16.0.0-nightly.20210728
2021-07-28 06:01:28 -07:00
Anders Kaseorg
1c95d30c0f
fix: Add missing items to menuItem.role documentation ( #30217 )
2021-07-28 08:45:06 +02:00
Milan Burda
fc7ea75009
refactor: move related code to makeWebPreferences in guest-view-manager.ts ( #30272 )
2021-07-27 16:12:49 -07:00
Jeremy Rose
ceebae170e
feat: partially support chrome.tabs.update ( #30069 )
2021-07-27 13:36:22 -07:00
John Kleinschmidt
cce27a0961
chore: update publish to npm to use GitHub token ( #30275 )
...
ensures that we don't get hit with a rate limit while trying to publish a release.
2021-07-27 09:52:18 -04:00
Electron Bot
10424c0149
Bump v16.0.0-nightly.20210727
2021-07-27 06:00:51 -07:00
Milan Burda
a545cd3790
fix: type internal APIs that can return null properly ( #29852 )
2021-07-27 14:48:12 +09:00
John Kleinschmidt
461db8f1ab
fix: persist permission granted to serial ports ( #30209 )
2021-07-26 13:10:57 -04:00
Cheng Zhao
d2989de5d9
fix: update traffic lights position for macOS 11 ( #30263 )
2021-07-26 09:22:21 -07:00
Jeremy Rose
385d0f590f
refactor: remove base::Value from WebContentsPreferences ( #30193 )
2021-07-26 09:04:09 -07:00
electron-roller[bot]
64ba8feb93
chore: bump chromium to 94.0.4584.0 (main) ( #30030 )
...
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-07-26 09:02:16 -07:00
Electron Bot
a6ab702ae4
Bump v16.0.0-nightly.20210726
2021-07-26 06:01:26 -07:00
Antón Molleda
62711e23ad
docs: update title of guide ( #30205 )
2021-07-26 17:42:55 +09:00
Electron Bot
3cb06457c4
Bump v16.0.0-nightly.20210723
2021-07-23 06:01:58 -07:00
stephen9357
e3fe80e0e8
fix: increase stack size on windows x86 ( #29474 )
...
* fix: increace main thread stack size on windows x86
* chore: improve quit-on-crashed-event spec
* chore: add debug logs
* Revert "chore: add debug logs"
This reverts commit 0be81ae07c85095ac2c920436b97557c95c1c524.
* chore: use a reliable crash endpoint
Co-authored-by: Stephen Wang <wangwenqiang.wwq@bytedance.com>
Co-authored-by: Deepak Mohan <hop2deep@gmail.com>
2021-07-22 12:49:21 -07:00
Shelley Vohr
b24cfe17bc
fix: process.exit crash in nativeWindowOpen ( #30218 )
2021-07-22 15:38:11 +02:00
Electron Bot
eca1098b55
Bump v16.0.0-nightly.20210722
2021-07-22 06:01:34 -07:00
Keeley Hammond
19820fc2a7
chore: add additional crash key to gin::Wrappable ( #30161 )
2021-07-21 09:33:25 -04:00
Electron Bot
adc3f39a9e
Bump v15.0.0-nightly.20210721
2021-07-21 06:02:02 -07:00
Samuel Attard
9fe70c5580
build: handle release failure by existing with code 1 ( #30216 )
2021-07-21 00:45:57 -07:00
Electron Bot
ea69da279f
Bump v15.0.0-nightly.20210720
2021-07-20 06:02:23 -07:00
Keeley Hammond
deb75ceaa5
build: update version-bumper to support alpha ( #30165 )
...
* build: update version-bumper to support alpha
* build: seperate alpha bump version tests
For easier deletion. If we want to continue supporting an alpha channel,
they can be reintegrated with main tests.
* chore: fix regex
Co-authored-by: Samuel Attard <sam@electronjs.org>
Co-authored-by: Samuel Attard <sam@electronjs.org>
2021-07-19 17:58:15 -07:00
Jeremy Rose
d35fb2a2e3
docs: mention sandboxing in security docs ( #30147 )
2021-07-19 12:45:47 -07:00
Jeremy Rose
c9ba0d02d7
feat: support crashpad on linux ( #29719 )
2021-07-19 10:11:10 -07:00
Jeremy Rose
612361c4da
chore: remove unused getWebPreferences method ( #30160 )
2021-07-19 09:29:23 -07:00
Mark Lee
a3298424b3
docs: update default branch for Electron Packager API links ( #30175 )
2021-07-19 09:25:05 -07:00
Jota
9441ff747d
docs: Ffx broken context isolation link in sandbox docs ( #30177 )
2021-07-19 09:24:27 -07:00
Electron Bot
d4b2f69f36
Bump v15.0.0-nightly.20210719
2021-07-19 06:02:42 -07:00
Electron Bot
cfb2829634
Bump v15.0.0-nightly.20210716
2021-07-16 06:01:06 -07:00
Jeremy Rose
0d9e6f29ba
fix: allow colored tray titles when font type is specified ( #30146 )
2021-07-15 16:45:20 -07:00
Shelley Vohr
1bb689e6dd
fix: BrowserWindow transparency not working ( #30136 )
2021-07-15 16:18:39 -04:00
electron-roller[bot]
063ac19712
chore: bump node to v16.5.0 (main) ( #30031 )
...
* chore: bump node in DEPS to v16.4.2
* chore: update patches
* ci: run main and remote woa tests separately
* chore: bump node in DEPS to v16.5.0
* build: restore libplatform headers in distribution
https://github.com/nodejs/node/pull/39288
* build: pass directory instead of list of files to js2c.py
https://github.com/nodejs/node/pull/39069
* chore: various BoringSSL/OpenSSL upstreams
- https://github.com/nodejs/node/pull/39136
- https://github.com/nodejs/node/pull/39138
- https://github.com/nodejs/node/pull/39054
* test: move debugger test case to parallel
https://github.com/nodejs/node/pull/39300
* chore: fixup patch indices
* build: pass directory instead of list of files to js2c.py
https://github.com/nodejs/node/pull/39069
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2021-07-15 11:25:00 -04:00
Electron Bot
849a3b6f81
Bump v15.0.0-nightly.20210715
2021-07-15 07:13:56 -07:00
David Sanders
341b370213
fix: handle redirects within registered protocols ( #29796 )
2021-07-15 20:14:46 +09:00
Shelley Vohr
3f38681c55
fix: double traffic lights on exit fullscreen ( #30114 )
2021-07-14 16:45:12 -07:00