Shelley Vohr
239ba7d905
fix: BrowserView setBackgroundColor needs two calls ( #31863 )
2021-11-22 09:38:05 +09:00
Milan Burda
7ff15038d6
fix: lint Objective-C header files ( #31923 )
2021-11-22 09:36:32 +09:00
Sudowoodo Release Bot
98a5996b30
Bump v18.0.0-nightly.20211119
2021-11-19 05:02:11 -08:00
Sudowoodo Release Bot
eb56209206
Bump v18.0.0-nightly.20211118
2021-11-18 05:01:32 -08:00
Keeley Hammond
0cb46a3712
fix: add resource strings for file selection ( #31881 )
2021-11-17 14:13:49 -08:00
Sudowoodo Release Bot
dcf1df0959
Bump v17.0.0-nightly.20211117
2021-11-17 05:01:22 -08:00
Sudowoodo Release Bot
16ba2eff9a
Bump v17.0.0-nightly.20211116
2021-11-16 05:01:49 -08:00
Darshan Sen
25f2abb64d
chore: use `std::forward()` in `ConvertToV8()` ( #31817 )
...
The variable `input` is accepted by a universal reference, so it doesn't
make sense to cast a potential lvalue reference into an rvalue
reference. In case `input` is an lvalue reference, we should rather
forward the value as is to `ToV8()`.
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
2021-11-16 09:15:32 +01:00
Samuel Attard
246884c4fb
fix: provide paths for all NetworkContextFilePaths keys ( #31777 )
...
* fix: provide paths for all NetworkContextFilePaths keys
* chore: include chrome features header
* chore: build browser_features
* yolo
* add pref service
* fix: include sandbox policy features
* fix pref key
* fix: gate pref key to OS_WIN
Co-authored-by: VerteDinde <khammond@slack-corp.com>
2021-11-15 15:26:09 -08:00
Shelley Vohr
65e4f75058
fix: make BrowserView aware of owning window ( #31796 )
2021-11-15 16:23:31 +01:00
Keeley Hammond
bf7b245fa0
fix: change cookie default from NO_RESTRICTION to LAX_MODE ( #31800 )
...
* fix: change default from NO_RESTRICTION to LAX_MODE
* chore: update cookie docs, redirect tests
2021-11-15 09:20:04 -06:00
Sudowoodo Release Bot
2e11f609ac
Bump v17.0.0-nightly.20211115
2021-11-15 05:01:56 -08:00
Micha Hanselmann
d4abb6fb66
fix: setContentProtection affects BrowserWindow frame ( #31768 )
2021-11-15 10:51:27 +01:00
Shelley Vohr
7e328c4b87
fix: crash on browserView.webContents.destroy() ( #31794 )
2021-11-15 08:24:22 +01:00
Charles Kerr
22f863b37a
fix: correct default text for button labels in gtk dialogs ( #31798 )
2021-11-15 08:18:33 +01:00
Charles Kerr
c8ba3b4556
fix: in GTK open dialog, do not preview huge files ( #31799 )
2021-11-15 08:17:11 +01:00
Sudowoodo Release Bot
a41898bb9b
Bump v17.0.0-nightly.20211112
2021-11-12 05:00:58 -08:00
Charles Kerr
cac871c027
Revert "refactor: only create webContents after 'will-attach-webview' ( #30311 )" ( #31785 )
...
This reverts commit 6e43b0bcbf
.
2021-11-11 15:04:06 -05:00
Sudowoodo Release Bot
09d160f406
Bump v17.0.0-nightly.20211111
2021-11-11 05:00:57 -08:00
Sudowoodo Release Bot
4c4ed6c705
Bump v17.0.0-nightly.20211110
2021-11-10 05:02:00 -08:00
Shelley Vohr
b40f3d4cfc
fix: BrowserView setBackgroundColor() ( #31746 )
2021-11-09 11:36:29 -05:00
Sudowoodo Release Bot
0f83624693
Bump v17.0.0-nightly.20211109
2021-11-09 05:00:42 -08:00
Milan Burda
fe7f296339
refactor: remove duplicate contextIsolation from getWebPreference() ( #31730 )
2021-11-08 11:57:56 -05:00
Sudowoodo Release Bot
4af21a1df8
Bump v17.0.0-nightly.20211108
2021-11-08 05:02:28 -08:00
Milan Burda
97eb424450
refactor: move certificate_manager_model to shell ( #31631 )
2021-11-08 09:53:00 +09:00
Milan Burda
95a867b795
fix: <webview> background transparency ( #31722 )
2021-11-05 19:55:19 -07:00
Sudowoodo Release Bot
bc4308dcf8
Bump v17.0.0-nightly.20211105
2021-11-05 06:02:02 -07:00
henrit
3c33d70294
fix: clipboard.writeBuffer raw format access ( #31116 )
...
* fix: clipboard.writeBuffer raw format access
* test: clipboard.writeBuffer raw format access
* test: clipboard win32 test skip
* fixup spec
* cleanup patch
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2021-11-04 14:19:30 -04:00
Shelley Vohr
96a04c67fd
fix: crash dump location on Linux ( #31668 )
...
* fix: crash dump location on Linux
* fix: ignore client_id for Zygote process
* chore: update comment
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2021-11-04 13:45:59 -04:00
Sudowoodo Release Bot
b6b9cec604
Bump v17.0.0-nightly.20211104
2021-11-04 06:04:56 -07:00
Keeley Hammond
86f6285299
fix: apply transparency settings to WebContentsPreferences ( #31685 )
...
* fix: add transparency to web_contents_preferences
* fix: correctly apply transparency settings to new webContents from webPreferences
2021-11-03 11:16:18 -07:00
Charles Kerr
190dd31dbc
refactor: use upstream AutofillDriverFactory diffs ( #31676 )
...
* refactor: use upstream AutofillDriverFactory diffs
Update our copy of AutofillDriver and AutofillDriverFactory to match chromium.
2021-11-03 12:17:06 -05:00
Shelley Vohr
24b02d68a7
fix: incorrect Content-Disposition serialization ( #31669 )
...
* fix: incorrect Content-Disposition serialization
* test: fixup test
2021-11-03 10:11:37 -04:00
Sudowoodo Release Bot
31e877515c
Bump v17.0.0-nightly.20211103
2021-11-03 06:05:31 -07:00
Milan Burda
65a980c673
refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN ( #31633 )
2021-11-03 20:41:45 +09:00
Sudowoodo Release Bot
2a2a1a834c
Bump v17.0.0-nightly.20211102
2021-11-02 06:04:29 -07:00
Cheng Zhao
c4d35cd18c
fix: do not run dialog callback inside transaction commit ( #31606 )
2021-11-01 17:08:31 -04:00
John Kleinschmidt
5899a72df9
fix: clipboard.read() to recognize custom types ( #31623 )
2021-11-01 10:00:36 -04:00
John Kleinschmidt
a938af3f54
fix: use disable-hid-blocklist to allow FIDO ( #31626 )
2021-11-01 10:00:07 -04:00
Sudowoodo Release Bot
97a109991e
Bump v17.0.0-nightly.20211101
2021-11-01 06:04:57 -07:00
Shelley Vohr
20b4813cf8
fix: crash on close window when webContents destroyed ( #31620 )
2021-11-01 13:32:54 +09:00
Sudowoodo Release Bot
a6e5ff3607
Bump v17.0.0-nightly.20211029
2021-10-29 06:02:06 -07:00
Shelley Vohr
639f4428a5
fix: navigator.keyboard.lock() not working ( #31572 )
...
* fix: navigator.keyboard.lock() not working
* chore: address review feedback
2021-10-28 10:23:05 -04:00
Sudowoodo Release Bot
120cff38c5
Bump v17.0.0-nightly.20211028
2021-10-28 06:01:45 -07:00
Sudowoodo Release Bot
e88a2955da
Bump v17.0.0-nightly.20211027
2021-10-27 06:05:09 -07:00
Sudowoodo Release Bot
43987bbc19
Bump v17.0.0-nightly.20211026
2021-10-26 06:02:41 -07:00
Shelley Vohr
deb7ab2a40
fix: clipboard.read() crash ( #31566 )
2021-10-26 14:14:08 +02:00
Mitchell McCaffrey
23cdf65c53
feat: add webContents.getMediaSourceId() method ( #31204 )
...
* feat: add webContents.getMediaSourceId() method
* fix: account for null frame_hosts in webContents.getMediaSourceId()
* fix: move webContents.getMediaSourceId definition to be more organised
* fix: move webContents.getMediaSourceId implementation
* fix: move webContents.getMediaSourceId docs
2021-10-25 20:03:59 -04:00
Samuel Attard
63eed52626
fix: do not trigger CSP violations when checking eval ( #30991 )
...
* fix: do not trigger CSP violations when checking eval
* Update shell/renderer/api/electron_api_web_frame.cc
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
2021-10-25 14:11:24 -07:00
Darshan Sen
8f51d3e1bf
feat: add `webContents.getPrintersAsync()` ( #31023 )
...
This deprecates the synchronous and blocking `webContents.getPrinters()`
function and introduces `webContents.getPrintersAsync()`, which is
asynchronous and non-blocking.
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
2021-10-25 14:16:58 -04:00
Sudowoodo Release Bot
084bcf56ff
Bump v17.0.0-nightly.20211025
2021-10-25 06:03:30 -07:00
Sudowoodo Release Bot
f020ec4748
Bump v17.0.0-nightly.20211022
2021-10-22 14:27:46 -07:00
Keeley Hammond
35d6c2fa98
chore: import base/macros.h into asar archive.h ( #31557 )
2021-10-22 14:26:55 -07:00
Sudowoodo Release Bot
690dbb7e62
Revert "Bump v17.0.0-nightly.20211022"
...
This reverts commit b8ea7bf90b
.
2021-10-22 13:22:03 -07:00
Sudowoodo Release Bot
b8ea7bf90b
Bump v17.0.0-nightly.20211022
2021-10-22 06:01:55 -07:00
Shelley Vohr
1d0f94f6b3
fix: vibrant window should have transparent background ( #31493 )
2021-10-21 15:53:52 -04:00
Shelley Vohr
40a8e4fb58
fix: MediaMetadata not working properly ( #31492 )
2021-10-21 15:39:38 -04:00
electron-roller[bot]
87f7625c5d
chore: bump chromium to 96.0.4664.4 (main) ( #31317 )
...
* chore: bump chromium in DEPS to 96.0.4662.0
* chore: bump chromium in DEPS to 96.0.4663.0
* chore: update patches
* [Extensions] Remove RuntimeData entirely
https://chromium-review.googlesource.com/c/chromium/src/+/3177328
* Make helper macros behave consistently for //content/public UserData types
https://chromium-review.googlesource.com/c/chromium/src/+/3198788
* Enabling sandboxing for the speech recognition service browser tests
https://chromium-review.googlesource.com/c/chromium/src/+/3146090
* [devtools] Add 'RegisterPreference' host binding
https://chromium-review.googlesource.com/c/chromium/src/+/3162281
* [Reland][Extensions]: Add persistAcrossSessions flag (scripting API)
https://chromium-review.googlesource.com/c/chromium/src/+/3175161
* [Bluetooth] Add Passkey prompt dialog for bonding.
https://chromium-review.googlesource.com/c/chromium/src/+/2841104
* Clipboard: Remove ReadImage path in browser
https://chromium-review.googlesource.com/c/chromium/src/+/3194826
* Split printing metafile code into its own target.
https://chromium-review.googlesource.com/c/chromium/src/+/3164925
* Cleanup unused DesktopMediaListObserver params
https://chromium-review.googlesource.com/c/chromium/src/+/3179203
* Remove base::DictionaryValue::GetBinary
https://chromium-review.googlesource.com/c/chromium/src/+/3201974
* Window Placement: change RWHV::GetDisplayList to GetScreenInfos
https://chromium-review.googlesource.com/c/chromium/src/+/3138774
* Add a preview to the Tab Capture picker dialog
https://chromium-review.googlesource.com/c/chromium/src/+/3045268
* Add service-based usage to update print settings
https://chromium-review.googlesource.com/c/chromium/src/+/3155426
* chore: bump chromium in DEPS to 96.0.4664.2
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4664.4
* chore: update patches
* chore: bump chromium in DEPS to 97.0.4666.0
* Revert "chore: bump chromium in DEPS to 97.0.4666.0"
This reverts commit d73caae8ba4b39efc9b3ea4de52685b9c92ef3d0.
* Reland "Block external protocol handler with sandbox."
https://chromium-review.googlesource.com/c/chromium/src/+/3198263
* fixup for lint
* Add CookiePartitionKeychain parameter to CookeManager.GetCookieList.
https://chromium-review.googlesource.com/c/chromium/src/+/3206016
* Move ui/gfx/transform*,rrect*,mask_filter_info* into ui/gfx/geometry
https://chromium-review.googlesource.com/c/chromium/src/+/3200392
* fixup Move ui/gfx/transform*,rrect*,mask_filter_info* into ui/gfx/geometry
* ozone: //chrome/browser clean up from USE_X11
https://chromium-review.googlesource.com/c/chromium/src/+/3186490
* content: don't load v8 snapshot in browser process
https://chromium-review.googlesource.com/c/chromium/src/+/3183394
* [devtools] Add 'RegisterPreference' host binding
https://chromium-review.googlesource.com/c/chromium/src/+/3162281
* 3186491: Add 'devtools.sync_preferences' preference
https://chromium-review.googlesource.com/c/chromium/src/+/3186491
* 2951147: DCHECK accessible names for focusable Views
https://chromium-review.googlesource.com/c/chromium/src/+/2951147
* 3201014: Use real font size for calculation of SmallTextRatio
https://chromium-review.googlesource.com/c/chromium/src/+/3201014
* fixup Clipboard: Remove ReadImage path in browser
* chore: update patches
* fix: disable PlzServiceWorker to fix custom protocol SW script loading
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3199761
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2021-10-21 11:51:36 -07:00
Sudowoodo Release Bot
ed2aaed4bd
Bump v17.0.0-nightly.20211021
2021-10-21 06:02:28 -07:00
Sudowoodo Release Bot
6bd06c9a71
Bump v17.0.0-nightly.20211020
2021-10-20 06:04:11 -07:00
Michaela Laurencin
a2d993c9b4
fix: remove 'NOTREACHED()' from 'GetWindowResizeEdge' ( #31470 )
2021-10-19 11:19:04 -05:00
Shelley Vohr
8364375347
fix: ensure TracingAgent in place for SWs ( #31459 )
2021-10-19 15:04:48 +02:00
Sudowoodo Release Bot
51b49d5bd8
Bump v17.0.0-nightly.20211019
2021-10-19 06:02:51 -07:00
Sudowoodo Release Bot
6f31683ea5
Bump v17.0.0-nightly.20211018
2021-10-18 06:03:07 -07:00
Sudowoodo Release Bot
e9c6f274f3
Bump v17.0.0-nightly.20211015
2021-10-15 06:01:08 -07:00
Raymond Zhao
db0a152bc1
feat: Add data parameter to `app.requestSingleInstanceLock()` ( #30891 )
...
* WIP
* Use serialization
* Rebase windows impl of new app requestSingleInstanceLock parameter
* Fix test
* Implement posix side
* Add backwards compatibility test
* Apply PR feedback Windows
* Fix posix impl
* Switch mac impl back to vector
* Refactor Windows impl
* Use vectors, inline make_span
* Use blink converter
* fix: ownership across sequences
* Fix upstream merge from Chromium
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2021-10-14 21:32:32 -04:00
Samuel Maddock
b744707536
fix: mac window crash native theme update ( #31329 )
2021-10-14 13:36:32 -04:00
Keeley Hammond
bff20bd769
fix: reset render_frame_disposed_ after render frame host change ( #31401 )
...
* fix: reset render_frame_disposed_ after hang
* fix: handle exception in webContents.send
2021-10-14 09:44:44 -07:00
Sudowoodo Release Bot
e883beadff
Bump v17.0.0-nightly.20211014
2021-10-14 06:02:25 -07:00
Sudowoodo Release Bot
bc3198ed81
Bump v17.0.0-nightly.20211013
2021-10-13 16:14:39 -07:00
Samuel Attard
e4d5ddc85e
Revert "Bump v17.0.0-nightly.20211013"
...
This reverts commit b99b4e7f22
.
2021-10-13 16:13:52 -07:00
Maxime Serrano
b2a2b077da
fix: also pass securityOrigin to media permissions request handler ( #31357 )
2021-10-13 17:10:12 -04:00
Sudowoodo Release Bot
b99b4e7f22
Bump v17.0.0-nightly.20211013
2021-10-13 06:03:15 -07:00
Sudowoodo Release Bot
22ae945311
Bump v17.0.0-nightly.20211012
2021-10-12 06:03:06 -07:00
Micha Hanselmann
95f81f5980
fix: black window on screen capture when content protection is enabled ( #31340 )
...
Co-authored-by: Micha Hanselmann <mhanselmann@microsoft.com>
2021-10-11 13:29:43 -07:00
Sudowoodo Release Bot
371b521dd2
Bump v17.0.0-nightly.20211011
2021-10-11 06:03:43 -07:00
Cheng Zhao
0eb9c4b16d
fix: correctly notify WebViewGuestDelegate when webview is detached ( #31350 )
2021-10-11 09:33:35 +09:00
Sudowoodo Release Bot
1e666e5076
Bump v17.0.0-nightly.20211008
2021-10-08 06:04:18 -07:00
Sudowoodo Release Bot
65d7f893ad
Bump v17.0.0-nightly.20211007
2021-10-07 06:05:09 -07:00
Shelley Vohr
9c8bd18c41
fix: crash on missing render frame ( #31289 )
2021-10-07 07:26:18 +02:00
Samuel Attard
014ebbd6fa
feat: add commandLine.removeSwitch ( #30933 )
...
* feat: add commandLine.removeSwitch
In some cases apps may want to remove Chromium command line switches to avoid certain Chromium behaviors being used, E.g. remote-debugging-port or gpu-launcher
* fix: add missing removeSwitch to app.ts
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2021-10-06 16:45:58 -04:00
John Kleinschmidt
d6de243837
chore: refactor persisting permission granted to serial ports ( #31181 )
2021-10-06 16:18:00 -04:00
Sudowoodo Release Bot
21c6b33ebe
Bump v17.0.0-nightly.20211006
2021-10-06 06:04:50 -07:00
electron-roller[bot]
cc01272a8d
chore: bump chromium to 96.0.4647.0 (main) ( #30814 )
...
* chore: bump chromium in DEPS to 95.0.4630.0
* 3133701: Fix chrome root store codegen for cross-compile builds.
https://chromium-review.googlesource.com/c/chromium/src/+/3133701
* 49125: Include SHA512-256 in EVP_get_digestbyname and EVP_MD_do_all.
https://boringssl-review.googlesource.com/c/boringssl/+/49125
* chore: fixup patch indices
* 3131662: [Code Health] Remove ListValue::Append(Integer|Boolean)
https://chromium-review.googlesource.com/c/chromium/src/+/3131662
* chore: bump chromium in DEPS to 95.0.4631.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4635.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4636.0
* chore: bump chromium in DEPS to 95.0.4637.0
* chore: update patches
* refactor: move PlatformNotificationService into BrowserContext
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3137256
* refactor: ListValue::GetSize and ListValue::AppendString were removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3144540
* chore: bump chromium in DEPS to 95.0.4638.0
* chore: bump chromium in DEPS to 95.0.4638.4
* chore: bump chromium in DEPS to 96.0.4640.0
* chore: bump chromium in DEPS to 96.0.4641.0
* chore: bump chromium in DEPS to 96.0.4642.0
* chore: update patches
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org>
* 3134756: Move extensions/browser/value_store to components/value_store.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3134756
* 3150092: [Autofill] Allow aligning Autofill suggestions to the field's center
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3150092
* chore: bump chromium in DEPS to 96.0.4643.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4644.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4645.0
* chore: update patches
* chore: bump chromium in DEPS to 96.0.4646.0
* chore: bump chromium in DEPS to 96.0.4647.0
* chore: update patches
Ref (for chromium): https://chromium-review.googlesource.com/c/chromium/src/+/3165772
* 3162087: Reland "Ensure Branch Target Identification is enabled for executable pages."
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3162087
* chore: update evert_add_inline_and_inline_origin_records_to_symbol_file.patch
Xref: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3166678
Xref: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3166674
* chore: update Allocator construction
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3135195
Change RefCount::kAllowed/Disallowed semantics into BackupRefPtr::kEnabled/Disabled
* chore: add UseConfigurablePool to v8::ArrayBuffer::Allocator invocation
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3090845
* chore: do not set network_context_params.context_name
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3155743
Remove name field from mojom::NetworkContext
* fix: use ForEachRenderFrameHost to iterate frames.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3163336
New implementation partially cribbed from
https://source.chromium.org/chromium/chromium/src/+/main:extensions/browser/script_executor.cc;drc=f894f106c6d5fac8e0b75158f622256e0f34f593;l=109
* [Blink Cleanup] Remove WebLocalFrame::RequestExecuteScriptAndReturnValue()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3149699
ExecuteJavaScript's RequestExecuteScript() new params are cribbed from
https://chromium-review.googlesource.com/c/chromium/src/+/3149699/4/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
* Remove IsDescendantOf API on RenderFrameHost.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3165357
function is trivial to implement, so make a local copy in anon namespace
* Rewrite IsDescendantOf check to check GetParentOrOuterDocument.
https://chromium-review.googlesource.com/c/chromium/src/+/3160061
* Remove GetFramesInSubtree from RenderFrameHost
https://chromium-review.googlesource.com/c/chromium/src/+/3163336
* fix: dump_syms for macOS
* chore: update patches
* [Code Health] Remove ListValue::AppendString and ListValue::GetSize
https://chromium-review.googlesource.com/c/chromium/src/+/3144540
* fix: gn check
https://chromium-review.googlesource.com/c/chromium/src/+/3163890
* fix: crash with Isolate::GetHeapCodeAndMetadataStatistics
https://chromium-review.googlesource.com/c/v8/v8/+/3175820
* chore: update patches
* chore: fix windows build
* Add kPrintWithPostScriptType42Fonts feature.
https://chromium-review.googlesource.com/c/chromium/src/+/3150776
* chore: update patches
* chore: fix tests
* ozone/x11: fix VA-API.
https://chromium-review.googlesource.com/c/chromium/src/+/3141878
* Revert "ozone/x11: fix VA-API."
This reverts commit 23e742acb1
.
* Reland "Make Ozone/X11 default."
https://chromium-review.googlesource.com/c/chromium/src/+/3114071
* fixup Reland "Make Ozone/X11 default."
* fixup Reland "Make Ozone/X11 default." for clipboard
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com>
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org>
Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2021-10-05 19:21:00 -07:00
Cheng Zhao
959b657903
chore: remove Node.js patch on Module.globalPaths ( #31275 )
...
* chore: remove Node.js patch on Module.globalPaths
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-10-06 09:20:05 +09:00
Robo
2a92d8f962
refactor: only access memory coordinator interface from browser process ( #31295 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3174305
2021-10-05 15:30:31 -07:00
Samuel Attard
34599114ce
fix: return HTNOWHERE in resize hit test to allow draggable regions to kick in when required ( #30925 )
2021-10-05 12:48:22 -07:00
Sudowoodo Release Bot
7919851451
Bump v17.0.0-nightly.20211005
2021-10-05 06:05:15 -07:00
Shelley Vohr
d2508a6941
chore: add logging for print_backend failures ( #29884 )
2021-10-05 09:16:04 +02:00
Milan Burda
d7a7c120d1
fix: "Failed to serialize arguments" when emitting 'context-menu' for webview ( #31259 )
...
* fix: sanitize params for 'context-menu' event sent over IPC for webview
* Revert "fix: sanitize params for 'context-menu' event sent over IPC for webview"
This reverts commit 7fee455138
.
* fix: make frame property non-enumerable in params for 'context-menu' event
2021-10-04 14:00:25 -04:00
Sudowoodo Release Bot
3b2c46dfd6
Bump v17.0.0-nightly.20211004
2021-10-04 06:03:59 -07:00
Jeremy Rose
4fd7c2adcd
feat: make desktopCapturer main-process-only ( #30720 )
...
* feat: make desktopCapturer main-process-only
* remove --enable-api-filtering-logging
* remove test
* merge lib/browser/api/desktop-capturer.ts with lib/browser/desktop-capturer.ts
* remove desktop-capturer-get-sources event
* fix specs
* getSources needs to be async
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2021-10-04 12:16:00 +09:00
Sudowoodo Release Bot
d2425472df
Bump v17.0.0-nightly.20211001
2021-10-01 06:03:54 -07:00
Sudowoodo Release Bot
6f684d564f
Bump v17.0.0-nightly.20210930
2021-09-30 06:02:17 -07:00
Shelley Vohr
e07d74cf29
chore: remove redundant 10.11 @avilable checks ( #31184 )
2021-09-30 11:41:28 +02:00
Shelley Vohr
2c10d0fe1b
fix: draggable regions in BrowserViews are independent ( #31085 )
2021-09-30 11:41:08 +02:00
Sudowoodo Release Bot
22d683e3f8
Bump v17.0.0-nightly.20210929
2021-09-29 06:01:29 -07:00
Aidan Nulman
abf6f1cf78
fix: BrowserView drag now delegates to the OS when possible ( #31114 )
2021-09-28 21:12:22 +02:00
Sudowoodo Release Bot
4da66b9d68
Bump v17.0.0-nightly.20210928
2021-09-28 06:03:27 -07:00
Sudowoodo Release Bot
3b155f7391
Bump v17.0.0-nightly.20210927
2021-09-27 13:52:10 -07:00
Milan Burda
80577a4f08
refactor: use native WeakRef instead of v8util.weaklyTrackValue() ( #31153 )
2021-09-27 16:50:42 -04:00
Sudowoodo Release Bot
ecf191e71f
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit 104e0f3059
.
2021-09-27 10:18:22 -07:00
Sudowoodo Release Bot
104e0f3059
Bump v17.0.0-nightly.20210927
2021-09-27 09:35:35 -07:00
Sudowoodo Release Bot
10d92e9f29
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit a758a2eab3
.
2021-09-27 09:34:24 -07:00
Sudowoodo Release Bot
a758a2eab3
Bump v17.0.0-nightly.20210927
2021-09-27 09:07:06 -07:00
John Kleinschmidt
0f6560f1f7
Revert "Bump v17.0.0-nightly.20210927"
...
This reverts commit c377fe4ba6
.
2021-09-27 12:05:51 -04:00
Milan Burda
98ac0ca52a
fix: running tests with release build ( #31092 )
2021-09-27 16:58:03 +02:00
Sudowoodo Release Bot
c377fe4ba6
Bump v17.0.0-nightly.20210927
2021-09-27 06:04:08 -07:00
Cheng Zhao
2360012cad
fix: avoid double free when destroying WebContents ( #31104 )
2021-09-27 09:20:55 +02:00
Sudowoodo Release Bot
1a6a8f55af
Bump v17.0.0-nightly.20210924
2021-09-24 06:01:55 -07:00
Keeley Hammond
d88e71f688
chore: remove gin::Wrappable crash keys ( #31075 )
...
* chore: remove gin wrappable crash keys
* chore: remove class headers from crash keys
2021-09-23 21:38:40 -07:00
Shelley Vohr
919fd0f28d
fix: first mouse not dragging BrowserView ( #31062 )
2021-09-23 17:35:12 -04:00
Sudowoodo Release Bot
da921e680f
Bump v17.0.0-nightly.20210923
2021-09-23 06:02:26 -07:00
John Kleinschmidt
6aece4a83d
feat: add support for WebHID ( #30213 )
...
* feat: add support for WebHID
* Apply suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* Address review feedback
* Address review feedback
* chore: clear granted_devices on navigation
Also added test to verify devices get cleared
* fixup testing for device clear
* make sure navigator.hid.getDevices is run on correct frame
* clear granted devices on RenderFrameHost deletion/change
* manage device permissions per RenderFrameHost
This change makes sure we don't clear device permission prematurely due to child frame navigation
* Update shell/browser/api/electron_api_web_contents.cc
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* apply review feedback from @zcbenz
* Match upstream ObjectMap
This change matches what ObjectPermissionContextBase uses to cache object permissions: https://source.chromium.org/chromium/chromium/src/+/main:components/permissions/object_permission_context_base.h;l=52;drc=8f95b5eab2797a3e26bba299f3b0df85bfc98bf5;bpv=1;bpt=0
The main reason for this was to resolve this crash on Win x64:
ok 2 WebContentsView doesn't crash when GCed during allocation
Received fatal exception EXCEPTION_ACCESS_VIOLATION
Backtrace:
gin::WrappableBase::SecondWeakCallback [0x00007FF6F2AFA005+133] (o:\gin\wrappable.cc:53)
v8::internal::GlobalHandles::InvokeSecondPassPhantomCallbacks [0x00007FF6F028F9AB+171] (o:\v8\src\handles\global-handles.cc:1400)
v8::internal::GlobalHandles::InvokeSecondPassPhantomCallbacksFromTask [0x00007FF6F028F867+391] (o:\v8\src\handles\global-handles.cc:1387)
node::PerIsolatePlatformData::RunForegroundTask [0x00007FF6F3B4D065+317] (o:\third_party\electron_node\src\node_platform.cc:415)
node::PerIsolatePlatformData::FlushForegroundTasksInternal [0x00007FF6F3B4C424+776] (o:\third_party\electron_node\src\node_platform.cc:479)
uv_run [0x00007FF6F2DDD07C+492] (o:\third_party\electron_node\deps\uv\src\win\core.c:609)
electron::NodeBindings::UvRunOnce [0x00007FF6EEE1E036+294] (o:\electron\shell\common\node_bindings.cc:631)
base::TaskAnnotator::RunTask [0x00007FF6F2318A19+457] (o:\base\task\common\task_annotator.cc:178)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl [0x00007FF6F2E6F553+963] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:361)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork [0x00007FF6F2E6EC69+137] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:266)
base::MessagePumpForUI::DoRunLoop [0x00007FF6F235AA58+216] (o:\base\message_loop\message_pump_win.cc:221)
base::MessagePumpWin::Run [0x00007FF6F235A01A+106] (o:\base\message_loop\message_pump_win.cc:79)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run [0x00007FF6F2E702DA+682] (o:\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:470)
base::RunLoop::Run [0x00007FF6F22F95BA+842] (o:\base\run_loop.cc:136)
content::BrowserMainLoop::RunMainMessageLoop [0x00007FF6F14423CC+208] (o:\content\browser\browser_main_loop.cc:990)
content::BrowserMainRunnerImpl::Run [0x00007FF6F144402F+143] (o:\content\browser\browser_main_runner_impl.cc:153)
content::BrowserMain [0x00007FF6F143F911+257] (o:\content\browser\browser_main.cc:49)
content::RunBrowserProcessMain [0x00007FF6EFFA7D18+112] (o:\content\app\content_main_runner_impl.cc:608)
content::ContentMainRunnerImpl::RunBrowser [0x00007FF6EFFA8CF4+1220] (o:\content\app\content_main_runner_impl.cc:1104)
content::ContentMainRunnerImpl::Run [0x00007FF6EFFA87C9+393] (o:\content\app\content_main_runner_impl.cc:971)
content::RunContentProcess [0x00007FF6EFFA73BD+733] (o:\content\app\content_main.cc:394)
content::ContentMain [0x00007FF6EFFA79E1+54] (o:\content\app\content_main.cc:422)
wWinMain [0x00007FF6EECA1535+889] (o:\electron\shell\app\electron_main.cc:291)
__scrt_common_main_seh [0x00007FF6F6F88482+262] (d:\A01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x00007FFEC0087034+20]
RtlUserThreadStart [0x00007FFEC1F02651+33]
✗ Electron tests failed with code 0xc0000005.
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-09-23 20:00:11 +09:00
Milan Burda
77579614e0
feat: add width option to dialog.showMessageBox() ( #30474 )
2021-09-23 19:56:14 +09:00
CezaryKulakowski
68d3659f75
fix: update Windows' cache after changing window's style ( #31021 )
...
To enable/disable window resizing we set/unset WS_THICKFRAME style
flag on the window. Window's frame styles are cached so we need to
call SetWindowPos with the SWP_FRAMECHANGED flag set to update
cache properly.
2021-09-23 16:33:41 +09:00
Shelley Vohr
38b810b2e3
fix: proper localization when using GtkFileChooserNative ( #30888 )
...
* fix: proper localization when using GtkFileChooserNative
* fix: iwyu
2021-09-22 14:12:50 -04:00
Sudowoodo Release Bot
a75617bff1
Bump v16.0.0-nightly.20210922
2021-09-22 06:01:20 -07:00
Samuel Maddock
70c534fd14
feat: add frame to context-menu event params ( #30831 )
...
* feat: add frame to context-menu event params
* doc: rephrase frame description
2021-09-22 08:52:49 +09:00
Sudowoodo Release Bot
ee19e5ee48
Bump v16.0.0-nightly.20210921
2021-09-21 06:00:36 -07:00
Shelley Vohr
629d8913f6
fix: maximized state calculation for non-resizable windows ( #30989 )
2021-09-21 12:04:32 +02:00
Milan Burda
92bff00d43
feat: add isMainFrame argument to 'certificate-error' event ( #30879 )
2021-09-21 15:49:15 +09:00
Jeremy Rose
82da4b0090
fix: transparency on child windows being lost ( #31003 )
...
* fix: transparency on child windows being lost
* fix crash
* fix a different crash
* fix more crash
2021-09-21 09:20:54 +09:00
Sudowoodo Release Bot
a96f42ce86
Bump v16.0.0-nightly.20210920
2021-09-20 06:01:27 -07:00
Darshan Sen
efa70131e2
refactor: make `InitWithWebContents` and `InspectableWebContents` take a `unique_ptr` ( #30920 )
...
* refactor: make InitWithWebContents take a unique_ptr
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
* refactor: make InspectableWebContents take a unique_ptr
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
2021-09-20 09:34:11 +09:00
Shelley Vohr
6fdf350bea
fix: disabling and enabling resizability on macOS ( #30999 )
2021-09-17 15:54:15 +02:00
Sudowoodo Release Bot
8d8fcd88f5
Bump v16.0.0-nightly.20210917
2021-09-17 06:01:05 -07:00
Sudowoodo Release Bot
64c70c420f
Bump v16.0.0-nightly.20210916
2021-09-16 06:00:56 -07:00
Michaela Laurencin
b491a4c82f
fix: add casing for WCO edge ( #30938 )
2021-09-16 09:34:51 +09:00
Shelley Vohr
c8e4cc29c0
fix: prevent navigator.fonts.query() from crashing ( #30930 )
...
* fix: prevent navigator.fonts.query() from crashing
* refactor: use base::PostTask instead
2021-09-15 09:56:38 -04:00
Sudowoodo Release Bot
9eaa9de3b4
Bump v16.0.0-nightly.20210915
2021-09-15 06:01:48 -07:00
Raymond Zhao
1295ba0ffc
fix: Building on macOS with is_debug true ( #30913 )
...
* fix: Building on macOS with is_debug true
* Change to no-op impl
2021-09-15 09:40:36 +09:00
Sudowoodo Release Bot
87050d75b8
Bump v16.0.0-nightly.20210914
2021-09-14 06:01:52 -07:00
Shelley Vohr
00d0265782
refactor: reuse upstream //shell_dialogs ( #30663 )
2021-09-14 12:16:34 +02:00
Keeley Hammond
c74b9ff312
fix: remove conflicting RunFileChooserEnd for Mac ( #30935 )
2021-09-13 15:10:28 -07:00
Keeley Hammond
b6a12a53e3
fix: delete rfh after open/save dialog done ( #30916 )
2021-09-13 06:25:13 -07:00
Sudowoodo Release Bot
06b3b49214
Bump v16.0.0-nightly.20210913
2021-09-13 06:02:34 -07:00
Sudowoodo Release Bot
c556ccac08
Bump v16.0.0-nightly.20210910
2021-09-10 06:02:10 -07:00
Samuel Attard
fb539f15d0
chore: fix compile errors ( #30903 )
2021-09-09 19:52:23 -07:00
Samuel Attard
57d088517c
feat: add support for validating asar archives on macOS ( #30667 )
...
* feat: add support for validating asar archives on macOS
* chore: fix lint
* chore: update as per feedback
* feat: switch implementation to asar integrity hash checks
* feat: make ranged requests work with the asar file validator DataSourceFilter
* chore: fix lint
* chore: fix missing log include on non-darwin
* fix: do not pull block size out of missing optional
* fix: match ValidateOrDie symbol on non-darwin
* chore: fix up asar specs by repacking archives
* fix: maintain integrity chain, do not load file integrity if header integrity was not loaded
* debug test
* Update node-spec.ts
* fix: initialize header_validated_
* chore: update PR per feedback
* chore: update per feedback
* build: use final asar module
* Update fuses.json5
2021-09-09 14:49:01 -07:00
Sudowoodo Release Bot
fcad531f2e
Bump v16.0.0-nightly.20210909
2021-09-09 06:01:36 -07:00
Sudowoodo Release Bot
9dee1183f9
Bump v16.0.0-nightly.20210908
2021-09-08 06:02:30 -07:00
Shelley Vohr
9891ff14a7
refactor: remove dead code in NeedsCompleteGpuInfoCollection ( #30855 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/1208362
2021-09-08 08:42:03 +09:00
Darshan Sen
90a3e7f927
feat: warn when crash key name is longer than 39 bytes ( #30742 )
...
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
2021-09-07 11:09:48 -07:00
Jeremy Rose
55c57808fb
feat: serialize NativeImage over ipc ( #30729 )
2021-09-07 10:37:45 -07:00
Sudowoodo Release Bot
64e33002f8
Bump v16.0.0-nightly.20210907
2021-09-07 06:02:06 -07:00
Samuel Maddock
fb40065c1e
fix: show maximized frameless window ( #30804 )
2021-09-07 10:18:43 +02:00
Sudowoodo Release Bot
ce6a71e936
Bump v16.0.0-nightly.20210906
2021-09-06 19:02:56 -07:00
Sudowoodo Release Bot
57e3c25378
Revert "Bump v16.0.0-nightly.20210906"
...
This reverts commit f39ba9281c
.
2021-09-06 18:48:49 -07:00
Samuel Maddock
1546cb6e6c
refactor: use getter for frame in webrequest details ( #30830 )
2021-09-07 09:13:16 +09:00
Sudowoodo Release Bot
f39ba9281c
Bump v16.0.0-nightly.20210906
2021-09-06 06:02:05 -07:00
Samuel Maddock
7379e5eb36
fix: BrowserWindow backgroundColor ( #30778 )
...
* fix: BrowserWindow backgroundColor
* refactor: propagate transparency via backgroundColor
2021-09-06 16:59:09 +09:00
Shelley Vohr
26f981fa3e
fix: devtools not resizable on Windows ( #30823 )
2021-09-06 16:54:47 +09:00
Robo
99c0a723fd
chore: follow-up to roll 95.0.4612.5 ( #30835 )
...
* chore: enable v8 oilpan
* chore: update patches
* fix: network isolation key for preconnect requests
* chore: update feat_expose_raw_response_headers_from_urlloader.patch
2021-09-06 09:33:10 +02:00
Milan Burda
94ca57e296
chore: move global_menu_bar_registrar_x11 out of chromium_src ( #30837 )
2021-09-06 09:03:07 +02:00
Jeremy Rose
1dcb8a370e
refactor: simplify desktop_capturer patch ( #30685 )
2021-09-03 16:37:36 -07:00
Raymond Zhao
e6f781f403
refactor: Convert ProcessSingleton changes to patch ( #30594 )
...
* Convert ProcessSingleton changes to patch
* Update patch
* Polish
* Add sandbox check to patch
* Add missing includes
* Fix linking error
* Fix compile error
* Apply PR feedback
* Fix compile fails
* Fix tests
* Remove extra patch
* Update test
2021-09-03 14:16:33 -07:00
Sudowoodo Release Bot
92222c874f
Bump v16.0.0-nightly.20210903
2021-09-03 06:02:32 -07:00
Sudowoodo Release Bot
c30303207a
Bump v16.0.0-nightly.20210902
2021-09-02 16:35:36 -07:00
Sudowoodo Release Bot
5554de0237
Revert "Bump v16.0.0-nightly.20210902"
...
This reverts commit 6d4995ec17
.
2021-09-02 14:40:45 -07:00
Sudowoodo Release Bot
6d4995ec17
Bump v16.0.0-nightly.20210902
2021-09-02 06:01:22 -07:00
Black-Hole
fd8eb3de1b
fix: remove extension warning that do not have any impact ( #29695 )
2021-09-01 15:36:21 -07:00
Samuel Maddock
4d89174b41
feat: add 'dom-ready' event to WebFrameMain ( #29290 )
2021-09-01 15:21:15 -07:00
electron-roller[bot]
49e62f1261
chore: bump chromium to 95.0.4629.0 (main) ( #30676 )
...
* chore: bump chromium in DEPS to 95.0.4620.0
* chore: update patches
* 3076261: Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* [GURL -> SiteForCookies] content/public/browser/content_browser_client.h
https://chromium-review.googlesource.com/c/chromium/src/+/3107759
* chore: fix -Wunreachable-code-return in node
* Tracing to diagnose ContentScriptTracker-related bad message reports
https://chromium-review.googlesource.com/c/chromium/src/+/3057922
* chore: bump chromium in DEPS to 95.0.4621.0
* chore: update patches
* Remove title from the URL format on Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/3108445
* chore: bump chromium in DEPS to 95.0.4623.0
* Revert "chore: disable v8 oilpan"
This reverts commit 5d255cf1d8e8efbb906047937a713279e5f800d0.
(cherry picked from commit ba5cde4da2
)
* Change file paths in network context params to be relative.
https://chromium-review.googlesource.com/c/chromium/src/+/3092927
* Code Health: Rename/replace content::WebUI::RegisterMessageCallback().
https://chromium-review.googlesource.com/c/chromium/src/+/3104691
* Migrate CanExecuteContentScriptSync to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/3108452
* chore: update patches
* remove unreachable code
* Revert "Revert "chore: disable v8 oilpan""
This reverts commit fef495c0294e21760df51bddb5f7bf1ec9ed5f1e.
* fixup mas patch
* Reland "[include] Split out v8.h"
https://chromium-review.googlesource.com/c/v8/v8/+/3113629
* chore: bump chromium in DEPS to 95.0.4624.0
* chore: bump chromium in DEPS to 95.0.4625.0
* chore: bump chromium in DEPS to 95.0.4626.0
* 3033504: Pass NavigationDownloadPolicy in CreateNewWindowParams
https://chromium-review.googlesource.com/c/chromium/src/+/3033504
* 3058038: Introduce TestPrintingContext & test UpdatePrintSettings
https://chromium-review.googlesource.com/c/chromium/src/+/3058038
* 3114943: [Conditional Focus][#4 ] Add tests and remove flag gating
https://chromium-review.googlesource.com/c/chromium/src/+/3114943
* chore: update patch indices
* chore: bump chromium in DEPS to 95.0.4627.0
* chore: update patches
* 3093591: ozone: webpagepopups: calculate anchor for menu bounds. 4/*
https://chromium-review.googlesource.com/c/chromium/src/+/3093591
* 3110414: [PA] Remove the leading cookie
https://chromium-review.googlesource.com/c/chromium/src/+/3110414
* chore: update patches
* 3076261: Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* 3113629: Reland "[include] Split out v8.h"
https://chromium-review.googlesource.com/c/v8/v8/+/3113629
* chore: bump chromium in DEPS to 95.0.4628.0
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4629.0
* chore: update patches
* Fix chrome root store codegen for cross-compile builds.
https://chromium-review.googlesource.com/c/chromium/src/+/3133701
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2021-09-01 15:55:07 -04:00
Sudowoodo Release Bot
ad776d6113
Bump v16.0.0-nightly.20210901
2021-09-01 06:01:17 -07:00
Shelley Vohr
63b35403ef
fix(linux): OpenURI portal support for shell.showItemInFolder() ( #30716 )
2021-09-01 10:04:28 +09:00
Jeremy Rose
dd7aeda6fb
feat: add app.configureHostResolver ( #30576 )
2021-08-31 11:55:30 -07:00
electron-roller[bot]
c1075debf3
chore: bump node to v16.8.0 (main) ( #30714 )
...
* chore: bump node in DEPS to v16.8.0
* build: add option to hide console window
https://github.com/nodejs/node/pull/39712
* chore: fixup patch indices
* stream: duplexify
https://github.com/nodejs/node/pull/39519
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2021-08-31 10:36:04 -04:00
Sudowoodo Release Bot
88ff3a6a9a
Bump v16.0.0-nightly.20210831
2021-08-31 06:00:47 -07:00
Samuel Attard
8007d01874
feat: add support for the U2F Web API ( #30438 )
...
* feat: add support for the U2F Web API
* chore: fix lint
* chore: fix tests
* build: disable src caching
* Revert "build: disable src caching"
This reverts commit c4c8a60fc435a10788475ec171399a55ac2dd674.
* chore: update per feedback
* chore: consistent code removal
2021-08-30 11:22:46 -07:00
Sudowoodo Release Bot
c2da4ec2bc
Bump v16.0.0-nightly.20210830
2021-08-30 06:01:39 -07:00
Jeremy Rose
aa9da78edb
fix: remove ipc wrapper for nativeImage.createThumbnailFromPath ( #30728 )
2021-08-27 14:21:36 -07:00
Samuel Maddock
352ac21413
feat: add webContents.fromDevToolsTargetId() ( #29399 )
...
* feat: add webContents.fromDevToolsTargetId()
* refactor: avoid using FromOrCreate
2021-08-27 14:01:24 -07:00
Sudowoodo Release Bot
96131af5d3
Bump v16.0.0-nightly.20210827
2021-08-27 06:01:16 -07:00
Sudowoodo Release Bot
f9c6f9af83
Bump v16.0.0-nightly.20210826
2021-08-26 06:01:35 -07:00
Cheng Zhao
00d65eb9ac
fix: titlebar and buttons state under simple fullscreen ( #30671 )
2021-08-26 08:29:34 +09:00
Sudowoodo Release Bot
c2c1b22a31
Bump v16.0.0-nightly.20210825
2021-08-25 06:03:14 -07:00
Shelley Vohr
32194f0f71
fix: crash when using TouchBarScrubber arrow button ( #30661 )
2021-08-24 18:28:57 +02:00
Sudowoodo Release Bot
e43a25724c
Bump v16.0.0-nightly.20210824
2021-08-24 06:01:17 -07:00
electron-roller[bot]
5513e66982
chore: bump chromium to 95.0.4612.5 (main) ( #30503 )
...
* chore: bump chromium in DEPS to 94.0.4604.0
* build: 3-way merge of chromium patches
* chore: bump chromium in DEPS to 94.0.4605.0
* build: 3-way merge of chromium patches
* 3076040: Reland Remove delete_children RemoveAllChildViews arg
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076040
* 3069287: Remove the remaining uses and delete the deprecated API
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3069287
* 2297212: Replace RemoveWithoutPathExpansion(.*, nullptr) with Value::RemoveKey()
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2297212
Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
* 3082756: Change transport_security_persister_path param to be a path to a file.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3082756
> this CL intentionally changes the name of the parameter
> in the network context parameters and the order of the constructor
> parameters to ensure all callers update their code to pass a full
> file path rather than a path to a directory.
The 'path' in this diff is already an absolute path, coming from
`CHECK(base::PathService::Get(chrome::DIR_USER_DATA, &path_));` at
08ff1c2cbf/shell/browser/electron_browser_context.cc (L126)
* iwyu: network::mojom::HttpRawHeaderPair
* fixup! 3076040: Reland Remove delete_children RemoveAllChildViews arg
Missed one.
* 2999884: CodeHealth: Remove DictionaryValue::GetStringWithoutPathExpansion
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2999884
(example of replacing GetStringWithoutPathExpansion() w/FindStringKey())
Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
(removal of DictionaryValue::GetStringWithoutPathExpansion)
* 3059260: Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3059260
We had both of these in a 'disable_features' list. Since these feature have
been removed upstream, remove them from our disable list, too.
IMPORTANT: this commit should not be backported to older branches that
still have these features, because doing so would un-disable them.
* 2920890: Load reroute_info from download in-progress and history db back into DownloadItem.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2920890
* 3039323: [Clipboard API] Clipboard Custom Formats implementation Part 5.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3039323
* chore: bump chromium in DEPS to 94.0.4606.0
* 3084502: Add a new PrintRasterizePdfDpi policy.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3084502
* chore: update patches
* chore: bump chromium in DEPS to 94.0.4606.3
* chore: bump chromium in DEPS to 95.0.4608.0
* chore: bump chromium in DEPS to 95.0.4609.0
* [DevTools] Remove report_raw_headers from network::ResourceRequest
https://chromium-review.googlesource.com/c/chromium/src/+/2856099
* Remove content::WebContentsObserver::OnInterfaceRequestFromFrame
https://chromium-review.googlesource.com/c/chromium/src/+/3092665
* Disable kDesktopCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3069272
* Add a new PrintRasterizePdfDpi policy.
https://chromium-review.googlesource.com/c/chromium/src/+/3084502
* chore: update patches
* chore: bump chromium in DEPS to 95.0.4609.3
* disable `use_lld` for macos
* chore: update patches
* Linux: use chrome_crashpad_handler instead of crashpad_handler
https://chromium-review.googlesource.com/c/chromium/src/+/3054290
* chore: fix lint
* Revert "[DevTools] Remove report_raw_headers from network::ResourceRequest"
This reverts commit 28f4da1582d046e96cb58f3cbb590503e89dfd0d.
* [DevTools] Remove report_raw_headers from network::ResourceRequest (Attempt #2 )
https://chromium-review.googlesource.com/c/chromium/src/+/2856099
* DCHECK that predictor always has a non-empty NetworkIsolationKey.
https://chromium-review.googlesource.com/c/chromium/src/+/3067698
* Remove --no-untrusted-code-mitigations from //content and //gin
https://chromium-review.googlesource.com/c/chromium/src/+/3096585
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
https://chromium-review.googlesource.com/c/chromium/src/+/3059260
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
* Convert PrintManager to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3072019
* chore: bump chromium in DEPS to 95.0.4612.5
* chore: disable v8 oilpan
* [Compiler] Remove untrusted code mitigations.
https://chromium-review.googlesource.com/c/v8/v8/+/3045704
* Remove most FTP logic from services/network.
https://chromium-review.googlesource.com/c/chromium/src/+/3076119
* Rename scale_factor.h -> resource_scale_factor.h
https://chromium-review.googlesource.com/c/chromium/src/+/3057113
* [GURL -> SiteForCookies] extensions/
https://chromium-review.googlesource.com/c/chromium/src/+/3100825
* breadcrumbs: add desktop entry point
https://chromium-review.googlesource.com/c/chromium/src/+/3021746
* Move args_ to private in ExtensionFunction
https://chromium-review.googlesource.com/c/chromium/src/+/3076261
* chore: iwyu
* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
* Disable kDesktopCaptureMacV2
https://chromium-review.googlesource.com/c/chromium/src/+/3069272
* fixup! [Compiler] Remove untrusted code mitigations.
* fixup! Disable kDesktopCaptureMacV2
* Revert "chore: disable v8 oilpan"
This reverts commit 5d255cf1d8e8efbb906047937a713279e5f800d0.
* Reland "chore: disable v8 oilpan"
This reverts commit 1c252765b07a205560e7b5eed06de2605336e2d8.
The previous revert was to test on which platforms did the
heapsnapshot test actually fail.
* [Clipboard API] Clipboard Custom Formats implementation Part 5.
https://chromium-review.googlesource.com/c/chromium/src/+/3039323
* Convert ExtensionFrameHost to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3063358
* Convert PDFWebContentsHelper to RenderFrameHostReceiverSet.
https://chromium-review.googlesource.com/c/chromium/src/+/3049751
* [Underscore Migration] Migrate ui/legacy
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3093160
* chore: remove unknown permission error
* chore: fix lint
* chore: ignore -Wunreachable-code-return for node deps/
* fixup! chore: ignore -Wunreachable-code-return for node deps/
* fix: windows build
* fix: build dependency
Dependency was missed in cbeae20438
* 3108669: arm,dsp: Fix 8bpp Dct64_NEON().
https://chromium-review.googlesource.com/c/codecs/libgav1/+/3108669
* chore: revert libgav1 roll
* Revert "3108669: arm,dsp: Fix 8bpp Dct64_NEON()."
This reverts commit 7ed3132312
.
* Revert "chore: revert libgav1 roll"
This reverts commit 084a490d29
.
* chore: revert clang roll
* chore: Fix -Wunreachable-code-aggressive warnings in arm and arm64 code
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: mlaurencin <mlaurencin@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2021-08-23 20:52:17 -04:00
Sudowoodo Release Bot
34f1bc0e82
Bump v16.0.0-nightly.20210823
2021-08-23 06:01:59 -07:00
Sudowoodo Release Bot
517b174c3c
Bump v16.0.0-nightly.20210820
2021-08-20 06:01:13 -07:00
Samuel Attard
c83de755c1
Revert "fix: DCHECK on reload when forcefullyCrashRenderer() is called ( #30544 )" ( #30646 )
...
This reverts commit 90b5ba3bed
.
2021-08-19 12:07:48 -07:00
Sudowoodo Release Bot
4820dee980
Bump v16.0.0-nightly.20210819
2021-08-19 06:00:58 -07:00
Samuel Maddock
cb7c16cb2d
fix: WebFrameMain mojo pipe not reset ( #30629 )
2021-08-19 15:10:11 +09:00
Keeley Hammond
cbeae20438
fix: change gin_wrappable to scoped crash key ( #30578 )
2021-08-18 13:51:40 -07:00
Cheng Zhao
8699124397
refactor: dynamically search defines from node ( #30563 )
2021-08-18 13:34:15 -07:00
Shelley Vohr
ec13a0b0e6
fix: documentEdited with non-default titlebarStyle ( #30565 )
2021-08-18 12:09:57 -07:00
Samuel Maddock
dd16d68e96
fix: cross-origin navigation disposing WebFrameMain instances ( #30076 )
2021-08-18 11:23:41 -07:00
Shelley Vohr
90b5ba3bed
fix: DCHECK on reload when forcefullyCrashRenderer() is called ( #30544 )
2021-08-18 11:23:06 -07:00
Jeremy Rose
29749f3dc6
chore: delete unused content_tracing.idl ( #30554 )
2021-08-18 09:54:40 -07:00
Sudowoodo Release Bot
f797159fbe
Bump v16.0.0-nightly.20210818
2021-08-18 06:00:48 -07:00
Samuel Attard
b62bbfda4e
fix: ensure web_contents() is alive before grabbing view ( #30571 )
2021-08-17 14:00:49 -07:00
Sudowoodo Release Bot
ff128a32d9
Bump v16.0.0-nightly.20210817
2021-08-17 06:00:38 -07:00
Shelley Vohr
a9a90fa1b6
fix: {exit|enter}-html-fullscreen emitted after esc in webview ( #30537 )
2021-08-17 09:03:45 +02:00
Samuel Attard
7cdd132d18
fix: handle nullish WebContentsView in UpdateDraggableRegions ( #30556 )
...
* fix: handle nullish WebContentsView in UpdateDraggableRegions
* build: nogncheck on webcontentsimpl include
2021-08-16 23:29:49 -07:00
Sudowoodo Release Bot
eaa5d372fb
Bump v16.0.0-nightly.20210816
2021-08-16 06:01:11 -07:00
Shelley Vohr
fcce2b16d5
fix: persist BrowserView background color when bounds offscreen ( #30510 )
2021-08-16 12:26:58 +02:00
Keeley Hammond
a11a234eac
fix: disable kWindowCaptureMacV2 for desktopCapturer ( #30507 )
2021-08-13 13:23:56 -07:00
Sudowoodo Release Bot
7132f36ddd
Bump v16.0.0-nightly.20210813
2021-08-13 10:41:03 -07:00
Sudowoodo Release Bot
1e983e2a6e
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit c5db7a9013
.
2021-08-13 10:39:45 -07:00
Sudowoodo Release Bot
c5db7a9013
Bump v16.0.0-nightly.20210813
2021-08-13 10:38:06 -07:00
Sudowoodo Release Bot
d313ddbd3d
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit 6ad47322fa
.
2021-08-13 10:30:22 -07:00
Sudowoodo Release Bot
6ad47322fa
Bump v16.0.0-nightly.20210813
2021-08-13 10:27:52 -07:00
Sudowoodo Release Bot
17615654e8
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit c6267d9fb0
.
2021-08-13 10:23:49 -07:00
Sudowoodo Release Bot
c6267d9fb0
Bump v16.0.0-nightly.20210813
2021-08-13 09:30:30 -07:00
Sudowoodo Release Bot
52890e9efd
Revert "Bump v16.0.0-nightly.20210813"
...
This reverts commit 7668507c9d
.
2021-08-13 08:10:10 -07:00
Sudowoodo Release Bot
7668507c9d
Bump v16.0.0-nightly.20210813
2021-08-13 06:01:58 -07:00
Sudowoodo Release Bot
08ff1c2cbf
Bump v16.0.0-nightly.20210812
2021-08-12 06:01:50 -07:00
electron-roller[bot]
81c143318b
chore: bump chromium to 94.0.4590.2 (main) ( #30274 )
...
* chore: bump chromium in DEPS to 94.0.4587.0
* chore: update patches
* 2823155: fix GPU video decoding capabilities enumeration
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/2823155
* 3041383: Reduce includes in url_request_mojom_traits.h
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3041383
* chore: bump chromium in DEPS to 94.0.4588.0
* chore: update patches
* chore: bump chromium in DEPS to 94.0.4589.0
* chore: update patches
* 3050633: Rename ScaleFactor to ResourceScaleFactor
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3050633
* 3048296: Create new mojo target to prevent traits header spreading
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3048296
* 3046186: Rename base::ClampToRange
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3046186
* chore: update picture-in-picture patch
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3056037
* chore: bump chromium in DEPS to 94.0.4590.0
* chore: update patches
* 3057495: Fix base::NoDestructor usage in Mac KeychainPassword
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3057495
* 3056134: Remove NetworkIsolationKey unused methods
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3056134
* 3035091: [rab/gsab] Fix gsab maxByteLength after transferring to worker
Adds a patch to v8 to disable a DCHECK that is also firing on node streams
in child processes.
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/3035091
* chore: bump chromium in DEPS to 94.0.4590.2
* chore: fix mas_no_private_api.patch
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3049052
* 3049555: [views] Add CHECK to prevent fallthrough to global NativeTheme
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3049555
* chore: empty commit
* chore: fix whitespace for lint
* chore: cherry-pick chromium woa fix
* Revert "chore: cherry-pick chromium woa fix"
This reverts commit 64f3082e2d
.
* chore: fix the build on Windows on ARM
* chore: remove commented code in printing.patch
* fixup! chore: remove commented code in printing.patch
do not remove the new weak_ptr check
* build: sync disable_use_lld_for_macos.patch
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2021-08-11 17:04:56 -04:00
Keeley Hammond
60650abf09
fix: explicitly define REFGUID from ::GUID&, not base::GUID ( #30442 )
...
* fix: explicitly define REFGUID from ::GUID&
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076480
* fix: duplicate GUID_NULL symbol, add comment
2021-08-11 12:43:33 -07:00
Michaela Laurencin
41646d1168
feat: enable windows control overlay on Windows ( #29600 )
...
* rebase "feat: enable windows control overlay on Windows"
* correct compilation error
* fix linting errors
* modify includes and build file
* change `hidden` option to `overlay`
* add patch to fix visual layout
* add button background color parameter
* add button text color parameter
* modify `overlay` in docs and modify button hover/press transition color
* change `text` to `symbol`
* remove todo and fix `text` replacement
* add new titleBarOverlay property and remove titleBarStyle `overlay`
* update browser and frameless window docs
* remove chromium patches
* chore: update patches
* change button hover color, update trailing `_`, update test file
* add dchecks, update title bar drawing checks, update test file
* modify for mac and linux builds
* update docs with overlayColor and overlaySymbolColor
* add corner and side hit test info
* modify docs and copyright info
* modify `titlebar_overlay_` as boolean or object
* move `title_bar_style_ to `NativeWindow`
* update docs with boolean and object titlebar_overlay_
* add `IsEmpty` checks
* move get options for boolean and object checks
* fix linting error
* disable `use_lld` for macos
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* Update docs/api/frameless-window.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* Apply docs suggestions from code review
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* modify `true` option description `titleBarOverlay`
* ci: cleanup keychain after tests on arm64 mac (#30472 )
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-08-11 14:07:36 -04:00
Sudowoodo Release Bot
42936b07fe
Bump v16.0.0-nightly.20210811
2021-08-11 06:01:26 -07:00
Sudowoodo Release Bot
f17e6ae318
Bump v16.0.0-nightly.20210810
2021-08-10 06:01:37 -07:00
Charles Kerr
edb7413bae
fix: mouse doesn't work on frameless browserwindows ( #30447 )
2021-08-10 10:01:20 +09:00
Jeremy Rose
e223b4db94
fix: respect image animation policy pref ( #30403 )
2021-08-09 09:58:03 -07:00
Electron Bot
08e9aea940
Bump v16.0.0-nightly.20210809
2021-08-09 06:02:07 -07:00
Electron Bot
66c458a353
Bump v16.0.0-nightly.20210806
2021-08-06 14:06:30 -07:00
Keeley Hammond
6a9cada98c
fix: build SetCrashKeyGW without tray on Windows ( #30437 )
2021-08-06 14:04:19 -07:00
Electron Bot
d783e944d3
Revert "Bump v16.0.0-nightly.20210806"
...
This reverts commit 641260bc32
.
2021-08-06 12:58:53 -07:00
Electron Bot
641260bc32
Bump v16.0.0-nightly.20210806
2021-08-06 06:01:19 -07:00
George Xu
bc508c6113
feat: add `electron.safeStorage` encryption API ( #30020 )
...
* feat: add SafeStorage api; first commit
* chore: rename files to fit semantically
* chore: add linkedBindings
* chore: fix function signatures
* chore: refactor eisCookieEncryptionEnabled() fuse
* chore: create test file
* chore: add tests and documentation
* chore: add copyright and lint
* chore: add additional tests
* chore: fix constructor
* chore: commit for pair programming
* wip: commit for keeley pairing
* chore: docs change and code cleanup
* chore: add linux import
* chore: add description to documentation
* chore: fixing tests
* chore: modify behaviour to not allow unencrypted strings as decyption input
* fix add patch for enabling default v11 encryption on Linux
* chore: remove file after each test
* chore: fix patch
* chore: remove chromium patch
* chore: add linux specific tests
* chore: fix path
* chore: add checker for linuux file deletion
* chore: add dcheck back
* chore: remove reference to headless mode
* chore: remove tests for linux
* chore: edit commit message
* chore: refactor safeStorage to not be a class
* chore: remove static variable from header
* chore: spec file remove settimeout
Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
2021-08-05 15:12:54 -07:00
Jeremy Rose
ec6cd0053e
chore: more crash-keys for gin::Wrappable debugging ( #30404 )
2021-08-05 11:39:07 -07:00
Samuel Attard
320bea4c28
feat: add fuses for NODE_OPTIONS and --inspect ( #30190 )
...
* feat: add fuses for NODE_OPTIONS and --inspect
* chore: add node patch to ensure NODE_OPTIONS are never parsed when fuse is disabledd
* chore: fix lint
* chore: flip boolean logic
* chore: update patches
* chore: add trailing _ to static member
* Update add_should_read_node_options_from_env_option_to_disable_node_options.patch
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2021-08-05 10:50:11 -07:00
Electron Bot
423172775e
Bump v16.0.0-nightly.20210805
2021-08-05 06:01:09 -07:00
Electron Bot
acbd643e2a
Bump v16.0.0-nightly.20210804
2021-08-04 06:00:53 -07:00
Cheng Zhao
97929eab5f
fix: move window buttons in-place on macOS ( #30322 )
2021-08-04 09:31:12 +09:00
Milan Burda
1c29734c91
build: fix building with enable_desktop_capturer = false ( #30372 )
2021-08-03 15:12:46 -07:00
Jeremy Rose
8179349625
feat: enable sandbox by default in limited circumstances ( #30197 )
2021-08-03 15:07:03 -07:00
Jeremy Rose
40e76dca07
feat: switch to crashpad on linux ( #30278 )
2021-08-03 14:01:12 -07:00
Milan Burda
6e43b0bcbf
refactor: only create webContents after 'will-attach-webview' ( #30311 )
2021-08-03 10:08:49 -07:00
Electron Bot
4519bc3cd1
Bump v16.0.0-nightly.20210803
2021-08-03 06:01:40 -07:00
Electron Bot
0cabff0a21
Bump v16.0.0-nightly.20210802
2021-08-02 06:01:52 -07: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
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
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
Electron Bot
d63980edeb
Bump v16.0.0-nightly.20210728
2021-07-28 06:01:28 -07:00
Jeremy Rose
ceebae170e
feat: partially support chrome.tabs.update ( #30069 )
2021-07-27 13:36:22 -07:00
Electron Bot
10424c0149
Bump v16.0.0-nightly.20210727
2021-07-27 06:00:51 -07: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
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 0be81ae07c
.
* 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
Electron Bot
ea69da279f
Bump v15.0.0-nightly.20210720
2021-07-20 06:02:23 -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
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 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
Cheng Zhao
05ba6359d0
feat: add signal option to dialog.showMessageBox ( #26102 )
...
* mac: add dialog.closeMessageBox API
* win: Implement dialog.closeMessageBox
* mac: Return cancelId with closeMessageBox
* gtk: Implement dialog.closeMessageBox
* win: Fix 32bit build
* win: Reduce the scope of lock
* fix: Build error after rebase
* feat: Use AbortSignal to close message box
* chore: silently handle duplicate ID
* win: Add more notes about the threads
* chore: apply reviews
* fix: base::NoDestructor should be warpped in function
* chore: fix style on windows
2021-07-15 07:59:27 +09:00
Jeremy Rose
bec47f54f4
fix: use correct userData path when unbundled ( #30113 )
2021-07-14 13:10:37 -07:00
Electron Bot
4db7221c7d
Bump v15.0.0-nightly.20210714
2021-07-14 06:02:07 -07:00
Cheng Zhao
637ba48b42
fix: pressing ESC should exit fullscreen from webview ( #30063 )
2021-07-14 20:51:26 +09:00
Jeremy Rose
4d0475c9ce
feat: expose location and modifiers on before-input-event ( #29850 )
...
* feat: expose location and modifiers on before-input-event
* lint
2021-07-14 20:50:02 +09:00
1akshat1
d267f979b7
feat: continue-activity event is extended to support webpageURL property ( #30042 )
...
Co-authored-by: Akshat Malik <amalik@microstrategy.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
2021-07-13 13:21:33 -07:00
Electron Bot
3582a513ca
Bump v15.0.0-nightly.20210713
2021-07-13 06:02:20 -07:00
Jeremy Rose
e26901aba4
fix: crash when invoking login callback synchronously ( #30068 )
2021-07-12 12:33:41 -07:00
Jeremy Rose
0cb5631b0b
fix: return RGBA values from getSystemColor ( #30055 )
2021-07-12 11:08:10 -07:00
Electron Bot
c15f44c20f
Bump v15.0.0-nightly.20210712
2021-07-12 06:01:17 -07:00
Cheng Zhao
21f6937728
chore: remove unneeded conversions between wstring and u16string ( #30047 )
2021-07-12 13:33:26 +09:00
Robo
ccfde6c9d4
fix: window ordering on mac ( #29857 )
2021-07-09 13:38:25 -07:00
Electron Bot
98f617e856
Bump v15.0.0-nightly.20210709
2021-07-09 06:01:45 -07:00
Electron Bot
0824fc57f7
Bump v15.0.0-nightly.20210708
2021-07-08 06:01:00 -07:00
Milan Burda
635ed5a6e3
feat: add missing resourceType conversions for webRequest listener details ( #29902 )
2021-07-08 00:19:16 -07:00
Milan Burda
13bf2fd7ec
build: fix building with enable_plugins = false ( #30040 )
2021-07-08 00:18:11 -07:00
Electron Bot
cd031a77dd
Bump v15.0.0-nightly.20210707
2021-07-07 13:02:22 -07:00
Electron Bot
767b4973a3
Revert "Bump v15.0.0-nightly.20210707"
...
This reverts commit 5f1233cdad
.
2021-07-07 12:11:40 -07:00
Electron Bot
5f1233cdad
Bump v15.0.0-nightly.20210707
2021-07-07 06:01:31 -07:00
Electron Bot
257b796856
Bump v15.0.0-nightly.20210706
2021-07-06 06:01:39 -07:00
electron-roller[bot]
2585e6d5fa
chore: bump chromium to 93.0.4566.0 (main) ( #29980 )
...
* chore: bump chromium in DEPS to 93.0.4562.0
* chore: update patches
* [base] Made Value::Take{Dict,List}() rvalue ref-qualified.
https://chromium-review.googlesource.com/c/chromium/src/+/2988105
* Revert "Reland "Roll src/buildtools/third_party/libc++/trunk/ 8fa879467..79a2e924d (426 commits)""
https://chromium-review.googlesource.com/c/chromium/src/+/2995482
This reverts commit 9691d6c265
and 797723ec83
* Pass gfx::Insets to GetHTComponentForFrame
https://chromium-review.googlesource.com/c/chromium/src/+/2984243
* chore: bump chromium in DEPS to 93.0.4563.0
* [Clipboard API] Clipboard Custom Formats implementation Part 2.
https://chromium-review.googlesource.com/c/chromium/src/+/2967649
* chore: update patches
* chore: bump chromium in DEPS to 93.0.4564.0
* chore: bump chromium in DEPS to 93.0.4565.0
* chore: update patches
* Prevent use of base::NoDestructor for trivially-destructible types
https://chromium-review.googlesource.com/c/chromium/src/+/2998672
* chore: update patches
* fixup! [Clipboard API] Clipboard Custom Formats implementation Part 2.
* chore: bump chromium in DEPS to 93.0.4566.0
* chore: update patches
* chore: add missing header
* ci: do not run clipboard tests on WOA
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: deepak1556 <hop2deep@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2021-07-06 08:17:13 -04:00
David Sanders
6c251da201
chore: correct spelling of is_quitting in electron::Browser ( #29948 )
2021-07-05 15:45:50 -04:00
Electron Bot
6db9b274b7
Bump v15.0.0-nightly.20210705
2021-07-05 06:01:17 -07:00
Cheng Zhao
25a77761f6
fix: build error caused by extra ] ( #30015 )
2021-07-05 01:34:39 -07:00
Cheng Zhao
18d0ed8155
fix: do not leak NSUUID ( #29990 )
2021-07-05 08:45:00 +09:00
Electron Bot
800873b44d
Bump v15.0.0-nightly.20210702
2021-07-02 06:01:44 -07:00
Cheng Zhao
85a69f88f1
chore: remove unused _grantOriginAccess method ( #29976 )
2021-07-01 19:53:38 -07:00
Cheng Zhao
6eff9231b8
fix: webview should maximize on requestFullscreen ( #29952 )
2021-07-01 20:56:29 -04:00
David Sanders
95a9ff952c
chore: cleanup usages of const char* ( #29906 )
2021-07-02 09:51:52 +09:00
David Sanders
f6531166ae
chore: clean up forward declarations ( #29904 )
2021-07-02 09:51:37 +09:00
John Kleinschmidt
1f8a46c9c6
feat: enable window controls overlay on macOS ( #29253 )
...
* feat: enable windows control overlay on macOS
* address review feedback
* chore: address review feedback
* Address review feedback
* update doc per review
* only enable WCO when titleBarStyle is overlay
* Revert "only enable WCO when titleBarStyle is overlay"
This reverts commit 1b58b5b1fc
.
* Add new titleBarOverlay property to manage feature
* spelling fix
* Update docs/api/frameless-window.md
Co-authored-by: Samuel Attard <sam@electronjs.org>
* Update shell/browser/api/electron_api_browser_window.cc
Co-authored-by: Samuel Attard <sam@electronjs.org>
* update per review feedback
Co-authored-by: Samuel Attard <sam@electronjs.org>
2021-07-01 15:25:40 -04:00
Electron Bot
0fe2836151
Bump v15.0.0-nightly.20210701
2021-07-01 06:00:47 -07:00
Shelley Vohr
98809d8d64
fix: honor user-defined Downloads directory ( #29938 )
2021-06-30 22:54:02 +02:00
Shelley Vohr
372ecf32e6
fix: potential crash on macOS app exit ( #29941 )
2021-06-30 20:12:17 +02:00