trop[bot]
bf9dfa8247
docs: remove api/locales page ( #28919 )
...
This page is just a table writing out the contents of an array in
the Chromium source code. We don't actively maintain it, and
it's only referenced in one API, so it makes sense to just
link directly to the code here.
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2021-04-28 15:39:19 -07:00
trop[bot]
300e902066
fix: emit window-all-closed after closing the window ( #28914 )
...
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-28 12:47:16 -07:00
trop[bot]
fa0f9e83f5
build: remove dead python methods and helper ( #28895 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-28 02:13:38 -07:00
trop[bot]
d32aa032cd
docs: the tools folder does not exist anymore ( #28888 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-28 02:13:20 -07:00
trop[bot]
3fe41bb852
build: actually use SSL when downloading things via python ( #28893 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-28 02:07:05 -07:00
trop[bot]
58b80c2c06
test: disable shell.trashItem in renderer test on win-ia32 ( #28877 )
...
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-27 19:58:25 -04:00
trop[bot]
2ec3da29d3
build: fix releases that failed halfway through npm publish actions ( #28855 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-26 20:38:07 -04:00
trop[bot]
499c1a5067
fix: only set backgroundColor in default-app for default index.html ( #28842 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2021-04-26 11:34:48 -04:00
Electron Bot
544ea7a0c8
Bump v13.0.0-beta.18
v13.0.0-beta.18
2021-04-26 08:02:03 -07:00
trop[bot]
eca4a5cf4c
fix: shell.trashItem crash when called in renderer ( #28788 )
...
* fix: shell.trashItem crash when called in renderer
* Update api-shell-spec.ts
* Update spec-main/api-shell-spec.ts
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-26 16:23:01 +09:00
trop[bot]
56fc2bce30
docs: fix unintentional emoji in win.getMediaSourceId description ( #28784 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-22 13:33:05 -07:00
Electron Bot
4eea01e9b0
Bump v13.0.0-beta.17
v13.0.0-beta.17
2021-04-22 08:01:53 -07:00
Shelley Vohr
232392ffa0
fix: handle async nature of [NSWindow -toggleFullScreen] ( #25470 ) ( #28763 )
2021-04-22 09:53:46 -04:00
trop[bot]
7816fd240f
fix: ensure widget size is set correctly on linux on small screens ( #28756 )
...
When creating a widget on linux the bounds are restricted to the screen
size, when calling SetSize / SetBounds they are not. This fixes this
initialization issue by calling SetBounds after widget creation.
Noticed this issue while running linux tests on xvfb with a screen size
smaller than the default electron window size (resulted in a failed
test).
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-21 13:17:33 +02:00
Electron Bot
bcf2d0969c
chore: cherry-pick 512cd5e179f4 from v8 ( #28753 )
...
* chore: cherry-pick 512cd5e179f4 from v8
* update patches
2021-04-21 12:29:38 +02:00
trop[bot]
ed7f5f3a0b
fix: end attached sheet when calling window.hide() ( #28694 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-21 11:20:31 +02:00
trop[bot]
1937aff793
build: fix docs only change script to pull all files not just 30 ( #28744 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-19 18:28:58 -07:00
trop[bot]
cf493b995c
docs(build-instructions): clarify that these are for building Electron itself ( #28728 )
...
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com >
2021-04-19 20:10:37 -04:00
trop[bot]
5bbc64b416
build: read node files as binary files ( #28735 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-04-19 20:01:27 -04:00
trop[bot]
287c9eb8c0
chore: clean up some spec things ( #28731 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-19 12:55:01 -07:00
trop[bot]
f4d77d97e3
fix: do not handle write errors after request is aborted ( #28720 )
...
This fixes a flake on linux CI which started recently where the "write"
promise is being rejected after the request has been aborted /
cancelled. In this case we should drop the error to the floor but
instead we pass it down the stack where it eventually emits a now
unhandled error event.
Example failure: https://app.circleci.com/pipelines/github/electron/electron/38072/workflows/c1faf19b-aa41-4f99-a564-165729222859/jobs/838813
Verified fix by running the test that caused it 10000 times before fix
and 10000 times after. ~50 failures before, 0 after.
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2021-04-19 11:26:20 -07:00
Electron Bot
593af18528
Bump v13.0.0-beta.16
v13.0.0-beta.16
2021-04-19 08:01:28 -07:00
trop[bot]
df47f85646
fix: increase corner radius for vibrancy view on big sur ( #28679 )
...
* fix: increase corner radius for vibrancy view on big sur
* fix: revert git weirdness
Co-authored-by: Robin Fowler <robinfowler@Robins-MBP.broadband >
2021-04-15 15:58:42 -07:00
Electron Bot
bd3b70a6b5
Bump v13.0.0-beta.15
v13.0.0-beta.15
2021-04-15 08:04:17 -07:00
trop[bot]
9578943848
build: do not require vsts token for releases ( #28648 )
...
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
2021-04-14 11:44:43 +02:00
Electron Bot
91de226a62
Bump v13.0.0-beta.14
v13.0.0-beta.14
2021-04-13 13:39:59 -07:00
Electron Bot
7044cb69a8
chore: cherry-pick 02f84c745fc0 from v8 ( #28637 )
...
* chore: cherry-pick 02f84c745fc0 from v8
* update patches
2021-04-13 13:29:05 -07:00
Electron Bot
66a2218723
chore: bump chromium to 91.0.4448.0 (13-x-y) ( #28127 )
...
* chore: bump chromium in DEPS to 90.0.4430.19
* build: add 'use_rts' definition
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2694187
(cherry picked from commit b820b4078d )
* chore: bump chromium in DEPS to 91.0.4441.0
* chore: update patches
(cherry picked from commit 55e50a0879 )
* chore: media_internal_resources becomes resources
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2699022
(cherry picked from commit e715b9c921 )
* chore: update patches
(cherry picked from commit c8148febfa )
* refactor: extensions::ViewType moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
(cherry picked from commit 87df2766ba )
* chore: might_have_observers has been removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2667839
(cherry picked from commit e900271bea )
* refactor: CertVerifier is not in the network namespace anymore
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2689805
(cherry picked from commit eccfa516c5 )
* refactor: ExtensionUserScriptManager is now UserScriptManager
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2657617
(cherry picked from commit 2fed02556d )
* refactor: content::SiteInstance::GetSiteForURL was removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2680274
(cherry picked from commit 0d94e0d1d9 )
* refactor: MenuItemType was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
(cherry picked from commit 1a296e59c2 )
* refactor: extensions::ViewType was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2710351
(cherry picked from commit dc36e8e6fc )
* refacotr: grit::ResourceMap replaced with webui::ResourcePath
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2685601
(cherry picked from commit 59669e99cb )
* refactor: blink::MenuItem::Type was moved to mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2071443
(cherry picked from commit be627568b2 )
* refactor: CreateDataPipe deprecated form was removed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2698090
(cherry picked from commit 77ad17b383 )
* refactor: DesktopMediaList::Type replaces content::DesktopMediaType_*
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2700637
(cherry picked from commit 4e02d9407a )
* chore: wire up activation_time in OSR
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2638372
(cherry picked from commit f51f427646 )
* chore: remove deleted file from chromium_src list
(cherry picked from commit 59432fe30a )
* chore: fix lint
(cherry picked from commit 54cc68dd7a )
* update patches
(cherry picked from commit e99e6a5a8a )
* chore: update patches
(cherry picked from commit 1e16606524 )
* fixup gn check
(cherry picked from commit 8f4e362d8f )
* update to xcode 12.4.0
Needed because of 8008deb41c
(cherry picked from commit fae4d87a5a )
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
(cherry picked from commit d4bec23bde )
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
(cherry picked from commit 9e336f5d0c )
* 2752932: Associate each AwProxyingURLLoaderFactory with a frame tree node id.
https://chromium-review.googlesource.com/c/chromium/src/+/2752932
(cherry picked from commit 08036802cb )
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
(cherry picked from commit 676f74f3dc )
* 2734095: Introduce StoragePartitionId type to wrap current string representation.
https://chromium-review.googlesource.com/c/chromium/src/+/2734095
(cherry picked from commit 76538d2d38 )
* chore: bump chromium in DEPS to 90.0.4430.19
* chore: bump chromium in DEPS to 90.0.4430.30
* chore: bump chromium in DEPS to 90.0.4430.40
* chore: bump chromium in DEPS to 90.0.4430.51
* chore: bump chromium in DEPS to 91.0.4446.0
* chore: bump chromium in DEPS to 91.0.4448.0
(cherry picked from commit 003dd6c16c )
* Update patches
(cherry picked from commit 9f5e3f6685 )
* 2743594: Remove WebSize from blink.
https://chromium-review.googlesource.com/c/chromium/src/+/2743594
(cherry picked from commit b15b820bca )
* 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
https://chromium-review.googlesource.com/c/chromium/src/+/2725403
(cherry picked from commit 185c343b22 )
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
https://chromium-review.googlesource.com/c/chromium/src/+/2651385
(cherry picked from commit 88bbe2a352 )
* 2721718: Move HostID to extensions::mojom::HostID
https://chromium-review.googlesource.com/c/chromium/src/+/2721718
(cherry picked from commit 3010dd93e3 )
* 2733070: Rename observer to URLLoaderNetworkServiceObserver
https://chromium-review.googlesource.com/c/chromium/src/+/2733070
(cherry picked from commit d54bee03d0 )
* Use nogncheck for content/browser/site_instance_impl.h
This is needed because //content/browser:browser is not a visible target
(cherry picked from commit 5fc298ee5f )
* 2648046: Introduce alert notification helper .app
https://chromium-review.googlesource.com/c/chromium/src/+/2648046
(cherry picked from commit 2cd53eb46a )
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
https://chromium-review.googlesource.com/c/chromium/src/+/2752406
(cherry picked from commit f1bb6be4b9 )
* only include mac notifications on mac
(cherry picked from commit 3160e608e2 )
* add additional skipping of atk toolchain check
(cherry picked from commit 86d23cee40 )
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
(cherry picked from commit 22d8f22cfb )
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
(cherry picked from commit ec893f8322 )
* 2720306: [api] Remove deprecated [Shared]ArrayBuffer API
https://chromium-review.googlesource.com/c/v8/v8/+/2720306
(cherry picked from commit d0989802bd )
* Fixup 2721718: Move HostID to extensions::mojom::HostID
(cherry picked from commit 29dfabadfd )
* fixup 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer
(cherry picked from commit 97b6868e9c )
* Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui
(cherry picked from commit b6d2ae0455 )
* Fixup 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
(cherry picked from commit 7e961d8a37 )
* update node headers
(cherry picked from commit c49bc282d5 )
* 2693008: Fix loading non-system cursors on Windows on browser_tests
https://chromium-review.googlesource.com/c/chromium/src/+/2693008
(cherry picked from commit 3b183854ff )
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
(cherry picked from commit 2d3c65beca )
* undo changes to WebContentsPreferences::GetPreloadPath to fix mac build
(cherry picked from commit deeb2de14b )
* fix StrCat issue
(cherry picked from commit 451e0931bf )
* incantations for WebContentsPreferences::GetPreloadPath wide strings
(cherry picked from commit 205f572181 )
* bump nan
(cherry picked from commit 74318705c2 )
* fix GetAsString maybe?
(cherry picked from commit ea62ecd188 )
* windows build fixes
(cherry picked from commit 5b598037bb )
* more windows build fix
(cherry picked from commit 61cf1abd4d )
* SetAppUserModelID -> wstring
(cherry picked from commit 83d93bcbdc )
* upgrade nan dep in tests
(cherry picked from commit 4f97b9303c )
* update patch
* wstrings are cross-platform
(cherry picked from commit 7f7b1f6c8a )
* linter
(cherry picked from commit aaf03765ed )
* only bind setAppUserModelId on windows
(cherry picked from commit 640a145112 )
* well that was an odyssey
(cherry picked from commit dd975328a0 )
* backport fcdf35e from v8 to fix nan crash
(cherry picked from commit 606fd87d1e )
* disable typedarrays-test.js
(cherry picked from commit 01ca00ec82 )
* don't defer in NSWindow creation
https://chromium-review.googlesource.com/c/chromium/src/+/2707696
(cherry picked from commit 3122820e58 )
* use PartitionAllocator for ArrayBuffers in the main process
(cherry picked from commit 1f575ca3af )
* fix patches
(cherry picked from commit 54e72fa8e3 )
* chore: omit some unnecessary conversions
(cherry picked from commit 0f3620099a )
* refactor: make LoginItemSettings::path a wstring
(cherry picked from commit 9127cff58b )
* refactor: make ShowTaskDialog take a wstr
(cherry picked from commit 1594c54933 )
* Revert "refactor: make LoginItemSettings::path a wstring"
This reverts commit 9127cff58b .
(cherry picked from commit 9684d85101 )
* fixup patches
This reverts commit 0cc08813a6 .
* update patches after merge
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2021-04-13 11:29:10 -04:00
trop[bot]
1f95fdd5ca
build: better error handling for release builds ( #28626 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-13 09:49:04 -04:00
trop[bot]
b4e70c72a6
fix: crash on invalid select-serial-port callback ( #28619 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-12 11:40:24 -04:00
Electron Bot
61bd57f851
Bump v13.0.0-beta.13
v13.0.0-beta.13
2021-04-12 08:02:26 -07:00
trop[bot]
5ab8cb7482
fix: load source maps from custom protocols and asar bundles ( #28615 )
...
* fix: load source maps from custom protocols and asar bundles
* chore: fix lint
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2021-04-12 06:18:34 -07:00
trop[bot]
d1bb54d175
docs: define the name of the preload script ( #28609 )
...
Co-authored-by: KSneijders <32707500+KSneijders@users.noreply.github.com >
2021-04-12 00:14:18 -07:00
trop[bot]
c104b510b0
docs: systemPreferences.subscribeWorkspaceNotification return type ( #28613 )
...
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
2021-04-12 00:12:50 -07:00
trop[bot]
02a2d33edc
build: give ASAN tests more memory to avoid SIGKILL or disabling tests ( #28592 )
...
* build: give ASAN tests more memory
* test: re-eanble asan tests
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-09 18:53:06 +09:00
trop[bot]
ad8f93517e
chore: don't minimize js in development ( #28586 )
...
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-09 16:09:53 +09:00
trop[bot]
a58b5ec3f0
docs: note that new-window event is deprecated ( #28582 )
...
* docs: note that new-window event is deprecated
* Update breaking-changes.md
* Update docs/breaking-changes.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2021-04-08 12:12:45 -04:00
Electron Bot
32e321cec1
Bump v13.0.0-beta.12
v13.0.0-beta.12
2021-04-08 08:01:27 -07:00
trop[bot]
aae1bfde05
fix: support wasm-eval csp behind WebAssemblyCSP flag ( #28569 )
...
* feat: support wasm-eval csp behind WebAssemblyCSP flag
* update patches
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: Electron Bot <electron@github.com >
2021-04-08 04:32:39 -07:00
trop[bot]
5be9028c51
fix: allow accessing file:// when web security is disabled ( #28557 )
...
* fix: allow accessing file:// when web security is disabled
* test: fix webview tests on web security
* chore: remove unused attributes
* chore: cleanup RegisterURLLoaderFactories method
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-07 14:59:54 +09:00
Shelley Vohr
fa5bc2206c
fix: errors thrown in functions over the contextBridge ( #28446 )
...
* fix: errors thrown in functions over the contextBridge
* spec: add a test
* fix: ensure exception is a v8::Object
2021-04-07 14:57:33 +09:00
trop[bot]
e3cbd70191
fix: call UnregisterIsolate consistently ( #28554 )
...
* fix: call `UnregisterIsolate` consistently
`JavascriptEnvironment` is the class that calls `RegisterIsolate()`
so it should be the one to call `UnregisterIsolate`, and this can happen
right before disposing the aforementioned `isolate`.
See: https://github.com/electron/electron/pull/28468
* fix
Co-authored-by: Fedor Indutny <fedor@indutny.com >
2021-04-07 10:07:49 +09:00
trop[bot]
7ce5af334e
fix: invoke the window open handler for _blank links ( #28536 )
...
* fix: invoke the window open handler for _blank links
* add test
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-07 10:05:12 +09:00
trop[bot]
5605358f99
fix: pass postData to new-window event ( #28542 )
...
* fix: pass postData to new-window event
* fix type of postBody
* fix type of UploadFile and UploadRawData to be discriminated unions
* exclude the empty string from additionalFeatures
* add a test
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
2021-04-07 09:59:34 +09:00
trop[bot]
6f44fa6dbd
fix: dialog DCHECK on Linux ( #28534 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2021-04-07 09:49:17 +09:00
trop[bot]
6e66699822
ci: Add goma fallback flag ( #28546 )
...
* ci: fallback to local compile if goma auth fails
* use correct flag
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2021-04-07 09:48:12 +09:00
trop[bot]
71fda62839
test: disable "fs in renderer process" test under ASan ( #28541 )
...
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2021-04-07 09:28:54 +09:00
trop[bot]
2b354894b2
fix: enable system maximization for frameless windows except if transparent ( #28527 )
...
* fix: move widget maximization check
* fix linting error
* change workaround to only effect transparent windows
* disable menu maximize and restore for transparent windows
* disable double clicking title bar max/unmax for transparent windows
* add docs change and address review
Co-authored-by: mlaurencin <mlaurencin@electronjs.org >
2021-04-06 00:54:39 -07:00
trop[bot]
114643a624
fix: reject task append to JumpList when description exceeds 260 characters ( #28526 )
...
* fix: reject task when description exceeds 260 characters
* Switched out wcslen() for size() [linear -> constant time]
* Included comment describing the need for the additional check
* Added information about character limit to documentation
* Added newline character to end of jump-list-category.md
Co-authored-by: SushiJackal <weingaben@gmail.com >
2021-04-05 23:57:18 -07:00
trop[bot]
d32f37f549
docs: the minimum supported version of macOS is now 10.11 ( #28516 )
...
* chore: the minimum supported version is now 10.11
Chromium bumped this version back in December
* Update support.md
Co-authored-by: Samuel Attard <sam@electronjs.org >
2021-04-06 08:56:09 +09:00