trop[bot]
83962f0604
feat: enable Windows Control Overlay on Linux ( #42683 )
...
* feat: enable Windows Control Overlay on Linux
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* docs: update documentation for Linux WCO
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: initial symbol painting
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* test: enable WCO tests for Linux
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: add missing Layer include
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: fix gn-check failure
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: enable BrowserWindow.setTitleBarOverlay on Linux
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* test: fix test for maximize event on Linux
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: geometry updating on BrowserWindow.setTitleBarOverlay
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: crash when invalid titleBarStyle set
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: clean up ordering and comments
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update docs/api/structures/base-window-options.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* feat: enable customizing symbolColor
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* docs: correct symbolColor reference
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: remove Chrome-specific padding
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[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>
2024-07-04 11:28:44 +02:00
trop[bot]
5dd6c0a51d
feat: expose system preferences to utility process ( #42600 )
...
* chore: expose system preferences to utility process
* chore: add tests, doc changes and module-list update
* relative link
* use @
* fix test
* chore: disable linux test
* kick
* noop on windows utility process
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com>
2024-06-20 16:32:34 -04:00
trop[bot]
e1675019d4
fix: restore wasOpenedAtLogin
functionality ( #42423 )
...
fix: restore opened at login functionality
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2024-06-11 08:31:59 -05:00
trop[bot]
27cdf17562
docs: ensure all links are on a single line ( #42299 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-05-29 11:41:07 +02:00
trop[bot]
e2e0116668
fix: fixed the type of WebviewTag.webpreferences
( #42280 )
...
fix: fixed the type of WebviewTag.webpreferences
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: EvolutionX <85353424+EvolutionX-10@users.noreply.github.com>
2024-05-26 21:48:28 +02:00
trop[bot]
5f6807d90d
docs: fix broken anchors ( #42215 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-05-17 12:04:23 +02:00
trop[bot]
ea064a015a
docs: improve protocol.handle file examples ( #42141 )
...
* docs: improve protocol.handle file examples
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
* chore: fix lint
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2024-05-13 16:59:39 +02:00
trop[bot]
08abef64f4
fix: View reordering on re-addition to same parent ( #42115 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2024-05-13 13:01:05 +02:00
Erick Zhao
9d7b2003e3
docs: update formatting for mdx3 compatibility ( #42099 )
...
* docs: update formatting for mdx3 compatibility (#42052 )
docs: update formatting for mdx3 compat
* escape curly braces
2024-05-08 19:12:29 -07:00
trop[bot]
9e5987fde2
docs: correct the return value for canceled showSaveDialog ( #41945 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com>
2024-04-23 12:49:05 -04:00
trop[bot]
c37c7fd3c4
feat: support NODE_EXTRA_CA_CERTS
( #41822 )
...
* feat: support NODE_EXTRA_CA_CERTS
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: allow disabling NODE_EXTRA_CA_CERTS
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: call base::Environment::UnSetVar
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* docs: link to fuses from env vars
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: update patch to match upstream
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* docs: note enabled by default
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update environment-variables.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2024-04-15 12:22:39 -07:00
trop[bot]
cf1087badd
feat: implement File System API support ( #41827 )
...
* feat: implement File System API support
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* test: add a test for writable permission checking
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: gn check include issues
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: cleanup feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* refactor: namespace to electron
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fixup! chore: cleanup feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: address more feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 5301485: Add content analysis to File System Access Javascript API.
https://chromium-review.googlesource.com/c/chromium/src/+/5301485
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* docs: improve typing of details object
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: address outstanding todo
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* refactor: use Chrome's file system access blocklist
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* lint
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: Windows build
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* test: clarify test verbiage
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2024-04-15 12:22:17 -07:00
trop[bot]
20c6c37c1b
docs: clarify before ready
usage ( #41860 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-04-15 13:03:58 -04:00
trop[bot]
8351f535ac
docs: use "id" instead of "label" for positions ( #41859 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cedrik Ewers <C.Ewers@beckhoff.com>
2024-04-15 13:02:05 -04:00
Alice Zhao
9056dd728a
feat: add navigationHistory.getEntryAtIndex(int index)
method ( #41662 )
...
* feat: add `navigationHistory.getEntryAtIndex(int index)` method (#41577 )
* test: fix flaky tests by replacing real urls with data urls
* test: remove hardcoded url
2024-04-05 13:59:46 -04:00
David Sanders
e6417c7084
build: add Markdown lint check for unescaped angle brackets ( #41779 )
2024-04-05 13:53:42 -04:00
trop[bot]
8a47acebe7
docs: add missing headers option to ClientRequest options ( #41732 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2024-04-01 12:05:56 -04:00
trop[bot]
5655b68c37
test: add tests for Storage Access API ( #41719 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2024-03-27 15:47:44 -05:00
Erick Zhao
1b80911417
docs: backslash escape parametrized TypeScript types ( #41693 )
2024-03-26 12:28:47 +01:00
trop[bot]
d16f1d52e8
docs: nativeImage
api cleanup ( #41570 )
...
* docs: `nativeImage` api cleanup
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/api/native-image.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update native-image.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/api/native-image.md
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update link to app icon
Co-authored-by: Alice Zhao <66543449+alicelovescake@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-03-13 10:46:19 -04:00
trop[bot]
56dfcc5468
chore: bump chromium to 124.0.6323.0 (30-x-y) ( #41475 )
...
* chore: bump chromium in DEPS to 124.0.6315.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* 5279678: Stream AIDA responses
https://chromium-review.googlesource.com/c/chromium/src/+/5279678
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* 5276439: Remove non_network_url_loader_factory_remotes_
https://chromium-review.googlesource.com/c/chromium/src/+/5276439
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* 5310165: Add DevTools API to show search results
https://chromium-review.googlesource.com/c/chromium/src/+/5310165
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* chore: bump chromium in DEPS to 124.0.6317.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* Remove Setup.Install.CumulativeDiskUsage2 and supporting code
https://chromium-review.googlesource.com/c/chromium/src/+/5314269
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* browser: Make cmd line non-const in process singleton callback
https://chromium-review.googlesource.com/c/chromium/src/+/5311256
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* chore: bump chromium in DEPS to 124.0.6319.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 124.0.6321.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 124.0.6323.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* 5318335: Roll src/third_party/boringssl/src 23824fa0f..4fe29ebc7
https://chromium-review.googlesource.com/c/chromium/src/+/5318335
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 5318051: [CBE Watermarking] Hoist `watermark_view` to a member variable.
https://chromium-review.googlesource.com/c/chromium/src/+/5318051
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: fixup patch indices
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 4946553: Delegate HID permission to Chrome App in webview
https://chromium-review.googlesource.com/c/chromium/src/+/4946553
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 5310001: DevTools UI binding for reporting client events to AIDA
https://chromium-review.googlesource.com/c/chromium/src/+/5310001
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Refactor the predicate taking variant of `__cxx_atomic_wait`
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: fix browser_view patch harder
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 5293937: Reland "[gUM] Use preferred device if more than one is eligible"
https://chromium-review.googlesource.com/c/chromium/src/+/5293937
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: filter {video|audio} devices by eligible device id
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 5267921: enable speak content under the pointer on PWA and WV2
https://chromium-review.googlesource.com/c/chromium/src/+/5267921
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* 5310195: heap: Remove Blink's GCTaskRunner
https://chromium-review.googlesource.com/c/chromium/src/+/5310195
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
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: Shelley Vohr <shelley.vohr@gmail.com>
2024-02-29 09:50:27 -05:00
trop[bot]
174aedf54c
chore: remove deprecated inputFieldType
( #41440 )
...
chore: remove deprecated inputFieldType
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2024-02-28 14:52:01 +09:00
trop[bot]
ef40e551cf
feat: add support for configuring system network context proxies ( #41417 )
...
* feat: add support for configuring system network context proxies
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: add specs
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: fix lint
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* fix: address review feedback
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-02-23 14:56:06 -06:00
trop[bot]
532039ea2c
chore: bump chromium to 123.0.6312.5 (30-x-y) ( #41402 )
...
* chore: bump chromium in DEPS to 123.0.6300.2
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 123.0.6301.2
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: bump chromium in DEPS to 123.0.6302.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 123.0.6304.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 123.0.6306.2
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 123.0.6308.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* Refactor //components/pdf/common constants
https://chromium-review.googlesource.com/c/chromium/src/+/5292816
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* Rename URLLoaderFactoryParams::is_corb_enabled to is_orb_enabled.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/5277040
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* Add placeholder of speaker-selection permission.
Refs https://chromium-review.googlesource.com/c/chromium/src/+/5278243
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* Move kPdfMimeType to //components/pdf/common/constants.h
Refs https://chromium-review.googlesource.com/c/chromium/src/+/5293155
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: gen-libc++-filenames.js
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* Make GetClassName non virtual
Refs https://chromium-review.googlesource.com/c/chromium/src/+/5293075
Refs https://issues.chromium.org/issues/324596267
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: bump chromium in DEPS to 123.0.6310.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update filenames.libcxx.gni
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* 5282732: Compute input region using correct pixel size.
https://chromium-review.googlesource.com/c/chromium/src/+/5282732
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* fixup: Make GetClassName non virtual
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* chore: bump chromium in DEPS to 123.0.6312.0
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update patches
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: bump chromium in DEPS to 123.0.6312.5
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* fixup: Make GetClassName non virtual
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* docs: document speaker-selection
https://chromium-review.googlesource.com/c/chromium/src/+/5278243
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2024-02-22 10:29:09 -05:00
Shelley Vohr
5f785f213e
revert: add BrowserWindow.isOccluded()
...
This reverts commit 768ece6b54
.
2024-02-12 09:35:34 +01:00
Shelley Vohr
8eb580e79a
docs: note EXIF data unsupported in nativeImage
( #41261 )
...
* docs: note EXIF data unsupported in nativeImage
* Update docs/api/native-image.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2024-02-08 14:59:46 +01:00
Milan Burda
2ea569e0d2
docs: fix docs/api/base-window.md ( #41240 )
...
* docs: fix docs/api/base-window.md
* Update docs/api/base-window.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2024-02-08 10:13:48 +09:00
Felix Rieseberg
4367c5ad9e
docs: Properly document runAsNode utility process option ( #41255 )
...
* docs: Properly document runAsNode utility process option
* Update docs/api/utility-process.md
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-02-06 15:54:36 -08:00
Shelley Vohr
768ece6b54
feat: add BrowserWindow.isOccluded()
( #38982 )
...
feat: add BrowserWindow.isOccluded()
2024-02-06 11:30:35 +01:00
Shelley Vohr
6786fde576
docs: document printToPDF
generateDocumentOutline
option ( #41156 )
...
* doc: document printToPDF generateDocumentOutline option
* doc: ready event to whenReady
2024-01-30 09:55:03 -06:00
Brandon Fowler
5086071294
feat: add transparent
webpreference to webview ( #40301 )
...
* feat: add transparent option to WebContents
* feat: add transparent attribute to webview
* test: add tests for webview transparent attribute
* docs: add transparent attribute to webview docs
* fix: run tests on macOS only
* refactor: remove unneeded html tag
* fix: only apply transparent option to guests
* refactor: correct comment
* refactor: use opaque instead
Retains current webview behaviour by default.
* fix: correct variable name to guest_opaque_
* refactor: use transparent webpreference
* docs: remove unused web preference
* fix: uncomment condition for transparency test
* docs: converted to list format and linked to MDN
* fix: make webviews transparent by default again
* fix: rebase error
---------
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
2024-01-05 13:00:27 +09:00
Devraj Mehta
8c71e2adc9
feat: add net module to utility process ( #40017 )
...
* chore: initial prototype of net api from utility process
* chore: update url loader to work on both browser and utility processes
* chore: add net files to utility process bundle
* chore: re-add app ready check but only on main process
* chore: replace browser thread dcheck's with sequence checker
* refactor: move url loader from browser to common
* refactor: move net-client-request.ts from browser to common
* docs: add utility process to net api docs
* refactor: move net module app ready check to browser only
* refactor: switch import from main to common after moving to common
* test: add basic net module test for utility process
* refactor: switch browser pid with utility pid
* refactor: move electron_api_net from browser to common
* chore: add fetch to utility net module
* chore: add isOnline and online to utility net module
* refactor: move net spec helpers into helper file
* refactor: break apart net module tests
Adds two additional net module test files: `api-net-session-spec.ts` for
tests that depend on a session being available (aka depend on running on
the main process) and `api-net-custom-protocols-spec.ts` for custom
protocol tests. This enables running `api-net-spec.ts` in the utility
process.
* test: add utility process mocha runner to run net module tests
* docs: add utility process to net module classes
* refactor: update imports in lib/utility to use electron/utility
* chore: check browser context before using in main process
Since the browser context supplied to the SimpleURLLoaderWrapper can now
be null for use in the UtilityProcess, adding a null check for the main
process before use to get a more sensible error if something goes wrong.
Co-authored-by: Cheng Zhao <github@zcbenz.com>
* chore: remove test debugging
* chore: remove unnecessary header include
* docs: add utility process net module limitations
* test: run net module tests in utility process individually
* refactor: clean up prior utility process net tests
* chore: add resolveHost to utility process net module
* chore: replace resolve host dcheck with sequence checker
* test: add net module tests for net.resolveHost
* docs: remove utility process limitation for resolveHost
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Cheng Zhao <github@zcbenz.com>
2024-01-04 16:20:37 -05:00
Mathew Bino
3a06047e61
docs: note accelerator case insensitivity ( #40783 )
...
* Fix PR#38673
As requested in PR#38673 , a line has been added that explicitly states that accelerators are case sensitive
* Update docs/api/accelerator.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update accelerator.md
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-01-04 10:06:12 -05:00
Jeremy Rose
15c6014324
feat: replace BrowserView with WebContentsView ( #35658 )
2023-12-13 13:01:03 -08:00
Cheng Zhao
9aa73abe78
feat: enable code cache for custom protocols ( #40544 )
2023-12-06 11:22:41 +09:00
David Sanders
3d2a754531
chore: extend linting of code blocks in the docs ( #40245 )
...
* chore: extend linting of code blocks in the docs
* chore: combine lint:markdownlint and lint:markdown scripts
2023-11-21 16:50:08 +09:00
Samuel Attard
d6bb9b40b0
feat: add webUtils module with getPathForFile method ( #38776 )
...
* feat: add blinkUtils module with getPathForFile method
This is designed to replace the File.path augmentation
we currently have in place to allow apps to get the filesystem
path for a file that blink has a representation of.
File.path is non-standard and messes with certain websites, using
a method like this is effectively 0-cost and removes one of the final
deviations we have with web standards.
* add error
* refactor: update per PR feedback
* chore: update patches
* oops
* chore: update patches
* chore: update patches
* feat: add blinkUtils module with getPathForFile method
This is designed to replace the File.path augmentation
we currently have in place to allow apps to get the filesystem
path for a file that blink has a representation of.
File.path is non-standard and messes with certain websites, using
a method like this is effectively 0-cost and removes one of the final
deviations we have with web standards.
* add error
* refactor: update per PR feedback
* chore: update patches
* oops
* chore: update patches
* chore: update patches
* chore: update patches
* fix: provide isolate to WebBlob::FromV8Value
* chore: add tests
* build: fix depshash mismatch on arm64 macOS
---------
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-11-20 15:59:36 -08:00
Shelley Vohr
471449d9f6
feat: add/update missing Display properties ( #40497 )
2023-11-17 10:43:04 +01:00
David Sanders
cf5f0419f1
chore: fix some typos ( #40506 )
2023-11-12 19:51:56 -08:00
David Sanders
2677f36db1
docs: update references to Electron Packager ( #40480 )
2023-11-09 11:15:32 -08:00
Samuel Attard
d504d150ef
feat: add new fuse to treat file: identically to browsers ( #40372 )
2023-11-09 10:23:52 -08:00
Shelley Vohr
1ba535296e
docs: fix hid-device-{added|removed|revoked}
event types ( #40462 )
...
docs: fix hid-device-{added|removed|revoked} types
2023-11-07 14:26:35 -08:00
Shelley Vohr
7999ea39e2
feat: keyboard.lock()
should use permissions helper ( #40369 )
...
feat: `keyboard.lock()` should use permissions helper
2023-11-06 11:54:31 -08:00
Brandon Fowler
089eb34e8d
docs: add bypassCustomProtocolHandlers
to ses.fetch
( #40358 )
2023-11-01 20:27:23 -04:00
electron-roller[bot]
bc1ba1fe9d
chore: bump chromium to 120.0.6099.0 (main) ( #40316 )
...
* chore: bump chromium in DEPS to 120.0.6086.0
* chore: update patches
* chore: rename FrameSubscriber::OnNewCropVersion()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4905819
just a simple renaming
* chore: rename ToJsTime() to .InMillisecondsFSinceUnixEpoch()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4956111
function renamed upstream
* chore: rename ToDoubleT() to .InSecondsFSinceUnixEpoch()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4956111
function renamed upstream
* chore: rename FromDoubleT() to .FromSecondsSinceUnixEpoch()
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4956111
function renamed upstream
* chore: bump chromium in DEPS to 120.0.6088.2
* chore: update patches
* chore: regen filenames.libcxx.gni
* chore: migrate from (removed upstream) inputFormType to formControlType
* chore: bump chromium in DEPS to 120.0.6089.0
* chore: update allow_disabling_blink_scheduler_throttling_per_renderview.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4828507
manually sync to upstream changes + reduce diff size
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6090.0
* chore: update fix_disabling_background_throttling_in_compositor.patch
no manual changes; patch applied with fuzz 2 (4 lines)
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4944206
* chore: update fix_handle_no_top_level_aura_window_in_webcontentsimpl.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4946653
do not patch WebContentsImpl::SetWindowShowState() any longer because it has been removed
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6091.0
* chore: update patches
* chore: bump chromium in DEPS to 120.0.6093.0
* chore: bump chromium in DEPS to 120.0.6095.0
* chore: bump chromium in DEPS to 120.0.6096.0
* chore: bump chromium in DEPS to 120.0.6097.0
* chore: update patches
* chore: update patch after rebase
* 4961495: [document pip] Focus the window when opened manually
https://chromium-review.googlesource.com/c/chromium/src/+/4961495
* [Extensions UserScripts] Store extensions with user scripts in tracker
| https://chromium-review.googlesource.com/c/chromium/src/+/4950530
* chore: bump chromium in DEPS to 120.0.6099.0
* chore: update patches
* chore: update filenames.libcxx.gni
* chore: remove trailing space
---------
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: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2023-11-01 10:02:12 -04:00
Milan Burda
dd68581d30
docs: add reference to app.getAppMetrics()
in serviceName
for utilityProcess
( #40338 )
2023-10-30 10:07:23 -04:00
Milan Burda
30fbcfca7b
chore: remove deprecated gpu-process-crashed
event ( #40255 )
...
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2023-10-26 14:05:40 -04:00
Milan Burda
f66d4c7ee0
fix: make sure classes in lib correctly implement Electron interfaces ( #40291 )
2023-10-25 14:02:15 -04:00
Milan Burda
a867503af6
test: add spec for child-process-gone
event for utility process ( #40281 )
2023-10-23 11:30:08 -04:00
Milan Burda
657e88b173
chore: remove deprecated crashed
and renderer-process-crashed
events ( #40115 )
2023-10-18 12:05:41 +02:00