trop[bot]
1ba3da738b
docs: disablewebsecurity on webview-tag can not be changed for an active session ( #38397 )
...
disablewebsecurity on webview-tag can not be changed for an active session
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
2023-05-22 15:20:12 -04:00
David Sanders
def64aba17
docs: fix typing of message box type value ( #38376 )
...
docs: fix typing of message box type value (#38336 )
* docs: fix typing of dialog type value
* test: add smoke tests
* test: update test
2023-05-22 13:20:25 +02:00
trop[bot]
912e211f17
fix: unify BrowserWindow.isVisible() logic cross-platform ( #38315 )
...
fix: unify BrowserWindow.isVisible() logic cross-platform
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-17 10:20:39 +02:00
David Sanders
e6dc9825cc
docs: fix typing of session.setDevicePermissionHandler ( #38279 )
...
docs: fix typing of session.setDevicePermissionHandler (#38188 )
2023-05-14 15:01:02 +02:00
Black-Hole️
510abbe71b
feat: add httpOnly cookies.get filter ( #38043 )
...
feat: add `httpOnly` `cookies.get` filter (#37255 )
feat: add httpOnly cookies filter
2023-04-26 13:22:39 -04:00
Black-Hole️
c6e803acfc
fix: webContents return type incorrect ( #38112 )
...
fix: webContents return type incorrect (#38026 )
* fix: webContents type incorrect
* fix: ci failed
* fix: ci failed 2
2023-04-25 15:08:57 +02:00
trop[bot]
9cfddc6cc5
docs: add note to win.setFullScreen(flag) ( #37995 )
...
docs: add note to win.setFullScreen(flag)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-17 12:11:05 +02:00
trop[bot]
26873597a1
docs: fix app.getPreferredSystemLanguages() return type ( #37837 )
...
docs: fix app.getPreferredSystemLanguages() return type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-05 11:20:08 -04:00
trop[bot]
dc7a49b873
docs: add links to IPC event structures ( #37771 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-03-30 20:38:02 +02:00
John Kleinschmidt
9e4d81fb0b
fix: allow cancelling of bluetooth requests ( #37720 )
...
fix: allow cancelling of bluetooth requests (#37601 )
(cherry picked from commit 6a6908c4c8 )
2023-03-28 10:51:06 -04:00
David Sanders
75ddfcc0e2
docs: change MSDN links to new Microsoft docs ( #37706 )
2023-03-27 09:37:43 -04:00
trop[bot]
cb5b8a6311
docs: update notifications tutorial ( #37641 )
...
* docs: update notifications tutorial
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* delete unused assets
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 >
2023-03-22 10:18:20 -04:00
trop[bot]
596cb9d1ed
docs: update broken links ( #37622 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-03-20 12:27:40 -04:00
trop[bot]
cb3a169caa
feat: add enableLocalEcho flag to setDisplayMediaRequestHandler() callback ( #37529 )
...
* feat: add enableLocalEcho flag to setDisplayMediaRequestHandler() callback
Co-authored-by: Theo Gravity <theo@switchboard.app >
* Fix lint
Co-authored-by: Theo Gravity <theo@switchboard.app >
* Update doc
Co-authored-by: Theo Gravity <theo@switchboard.app >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Theo Gravity <theo@switchboard.app >
2023-03-16 10:13:02 +01:00
trop[bot]
269e7ba7e4
docs: clarify open-url not preventable ( #37573 )
...
docs: clarify open-url not preventable
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-03-14 20:20:48 -04:00
trop[bot]
c1b8848fd7
docs: remove outdated ipc example ( #37539 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2023-03-09 10:01:20 -05:00
trop[bot]
12673d8caa
docs: remove misleading info from will-finish-launching docs ( #37517 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-03-07 10:26:43 +01:00
trop[bot]
36f80bd587
docs: add win.isFocusable() return type ( #37261 )
...
docs: fix `win.isFocusable()` return type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ferreira <andrew.shien2@gmail.com >
2023-02-20 12:52:57 +01:00
trop[bot]
a9bc82713d
docs: only macOS 10.13+ is supported now ( #37290 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-16 15:56:54 -08:00
trop[bot]
92d966c215
feat: include all standard paper sizes for webContents.print() ( #37264 )
...
feat: include standard paper sizes for webContents.print()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-02-15 19:59:10 +01:00
trop[bot]
4c007a96e9
chore: update https://cs.chromium.org/ links to https://source.chromium.org/ ( #37236 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-13 16:33:14 +09:00
trop[bot]
b03574b715
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() ( #37208 )
...
docs: add missing clipboard-sanitized-write permission value to setPermissionRequestHandler() (#37173 )
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-02-09 14:31:13 +01:00
trop[bot]
8e7e0dfca1
docs: remove invalid appcache value from storages in clearStorageData() ( #37108 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-02-07 19:32:57 +09:00
trop[bot]
792a7c5913
chore: remove deprecated capturer count APIs ( #37148 )
...
chore: remove deprecated incrementCapturerCount() / decrementCapturerCount()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-06 11:25:58 -08:00
trop[bot]
419b5b77ae
docs: note how to clear an aspect ratio ( #37086 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-31 17:23:37 -05:00
trop[bot]
9c614be4f8
fix: fallback to GtkStatusIcon when app indicator is not supported ( #37033 )
...
* chore: get ready for multi backend tray
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
* fix: fallback to GtkStatusIcon when app indicator is not supported
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
* chore: use smart pointers
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com >
2023-01-26 13:39:23 +01:00
trop[bot]
7c5430a47f
docs: update clipboard fiddles ( #36962 )
...
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 >
2023-01-19 18:05:47 -05:00
trop[bot]
0dd5d57423
docs: Change factuality and word choice in app.runningUnderARM64Translation ( #36963 )
...
Change factuality and word choice.
Added "or WOW" to the phrase, "when they are running the x64 version under Rosetta", to reflect the use of a supported platform, Windows, as a possible scenario.
Changed the wording of that same sentence to make it appear clearer. "incorrectly" to "mistakenly" and moved this word to before the verb instead of the end of the sentence.
Co-authored-by: GGIEnrike <52293637+GGIEnrike@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: GGIEnrike <52293637+GGIEnrike@users.noreply.github.com >
2023-01-19 18:03:48 -05:00
trop[bot]
56d28dce94
feat: add label property to Display objects ( #36933 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-01-19 15:59:12 +09:00
trop[bot]
d9533135d0
docs: add missing window-management permission value to setPermissionRequestHandler() ( #36845 )
2023-01-10 14:26:34 +01:00
trop[bot]
79b07b9c70
docs: update links ( #36771 )
...
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 >
2023-01-10 09:34:07 +09:00
trop[bot]
4076f06036
docs: Add note about argv getting modified ( #36805 )
...
Add note about argv getting modified
See https://github.com/electron/electron/issues/20322
Co-authored-by: Mikael Finstad <finstaden@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com >
2023-01-05 12:10:25 -05:00
trop[bot]
63e59a196a
docs: fix broken links ( #36561 )
...
* docs: fix broken links
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* docs: change link to navigator.getUserMedia
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* docs: fix link in examples.md
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 >
2023-01-02 11:26:23 +01:00
trop[bot]
10632e3f54
docs: link net.request options to ClientRequestConstructorOptions ( #36570 )
...
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2022-12-13 10:53:49 -08:00
trop[bot]
6010ac6c76
docs: add mdn link to web-request-filter.md ( #36616 )
...
* Add MDN link to web-request-filter.md
When I was using the Electron docs I wanted to know how to use [webRequest.onBeforeSendHeaders](https://www.electronjs.org/docs/latest/api/web-request#webrequestonbeforesendheadersfilter-listener ) but I was unable to correctly guess the correct format for the `WebRequestFilter` URL strings, and there was no explanation in the Electron docs. Eventually I googled it and found the MDN article which helped me.
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
* Update docs/api/structures/web-request-filter.md
Co-authored-by: Black-Hole <158blackhole@gmail.com >
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Hugh Davey <9026053+hughjdavey@users.noreply.github.com >
2022-12-08 14:55:35 -08:00
trop[bot]
af0a995bb2
docs: document outlivesOpener option in window open handler ( #36509 )
...
* docs: document outlivesOpener option in window open handler
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* outlivesOpener is optional
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2022-12-05 12:07:16 -05:00
Jeremy Rose
e3b7c3024f
docs: fix loadExtension example ( #36489 )
2022-11-30 11:29:02 -08:00
Cheng Zhao
16a7bd7102
fix: reimplement Tray with StatusIconLinuxDbus on Linux ( #36333 )
2022-11-28 11:36:25 -08:00
Jeremy Rose
32583ac756
docs: add missing event-emitter link to utility-process docs ( #36428 )
...
add missing event-emitter link
2022-11-23 17:52:36 +09:00
John Kleinschmidt
629c54ba36
feat: add support for WebUSB ( #36289 )
...
* feat: add support for WebUSB
* fixup for gn check
* fixup gn check on Windows
* Apply review feedback
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* chore: address review feedback
* chore: removed unneeded code
* Migrate non-default ScopedObservation<> instantiations to ScopedObservationTraits<> in chrome/browser/
https://chromium-review.googlesource.com/c/chromium/src/+/4016595
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2022-11-22 16:50:32 -05:00
Raymond Zhao
5fc3ed936e
feat: add app.getPreferredSystemLanguages() API ( #36035 )
...
* feat: add app.getSystemLanguage() API
* Change the API to getPreferredSystemLanguages
* Fix test
* Clarify docs and add Linux impl
* Remove USE_GLIB
* Don't add C to list
* Remove examples since there's a lot of edge cases
* Fix lint
* Add examples
* Fix compile error
* Apply PR feedback
* Update the example
2022-11-09 10:50:43 -05:00
David Sanders
0ba0df4523
docs: fix driverId -> deviceId typo ( #36246 )
2022-11-07 09:37:51 -05:00
Brad Carter
15540975ff
feat: Add BrowserWindow option to hide window in Mission Control (macOS) ( #36092 )
...
* feat: Add BrowserWindow option to ignore Mission Control (macOS)
* There are many circumstances when app developers may want to hide their
windows from mission control. E.g., full screen overlays, small helper
windows, dialogs, etc.
* This PR adds the functionality, docs, and tests.
* chore:Rename variables
* Update shell/browser/native_window_mac.h
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2022-11-01 16:43:42 -04:00
electron-roller[bot]
ea6f873f97
chore: bump chromium to 109.0.5382.0 (main) ( #36057 )
...
* chore: bump chromium in DEPS to 109.0.5364.0
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5366.0
* chore: update patches
* i3940364: Change PermissionType::WINDOW_PLACEMENT to WINDOW_MANAGEMENT
https://chromium-review.googlesource.com/c/chromium/src/+/3940364
* 3866812: Change content::PluginList to only run on the UI thread.
https://chromium-review.googlesource.com/c/chromium/src/+/3866812
* chore: bump chromium in DEPS to 109.0.5368.0
* [cleanup] Replace enable_basic_printing with enable_printing
https://chromium-review.googlesource.com/c/chromium/src/+/3957357
* chore: update patches
* 3956318: Desktop PWAs: Retire kWebAppWindowControlsOverlay flag
https://chromium-review.googlesource.com/c/chromium/src/+/3956318
* fixup! Change content::PluginList to only run on the UI thread.
(cherry picked from commit 7b5ec87d4f )
Co-Authored-By: Robo <hop2deep@gmail.com >
* chore: bump chromium in DEPS to 109.0.5370.0
* 3956299: Quota: Cleanup QuotaPermissionContext
https://chromium-review.googlesource.com/c/chromium/src/+/3956299
* chore: update patches
* 3803867: Add Mojo interface to parse XML for OOP printer capabilities
https://chromium-review.googlesource.com/c/chromium/src/+/3803867
* fixup: Add Mojo interface to parse XML for OOP printer capabilities
* chore: bump chromium in DEPS to 109.0.5372.0
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5374.0
* chore: bump chromium in DEPS to 109.0.5376.0
* chore: bump chromium in DEPS to 109.0.5378.0
* chore: update patches
* Quota: Cleanup kPersistent in BrowsingDataRemover
https://chromium-review.googlesource.com/c/chromium/src/+/3964859
* 3955976: serial: Create DOMException with V8ThrowDOMException
https://chromium-review.googlesource.com/c/chromium/src/+/3955976
* 3758405: Append trailer data to serialized messages.
https://chromium-review.googlesource.com/c/chromium/src/+/3758405
* chore: revert clang roll
This patch reverts https://chromium-review.googlesource.com/c/chromium/src/+/3967491
because that roll breaks the WOA build: https://crbug.com/1377819
* chore: update patches
* chore: bump chromium in DEPS to 109.0.5380.0
* chore: update patches
* 3859750: [linux/wayland] Added plumbing for the state of tiled edges.
https://chromium-review.googlesource.com/c/chromium/src/+/3859750
Also 3970920: [linux/wayland] Fixed the tiled edges for the GTK frame.
https://chromium-review.googlesource.com/c/chromium/src/+/3970920
* chore: bump chromium in DEPS to 109.0.5382.0
* chore: update patches
* chore: revert Use accessibility.pkey when setting page access.
https://chromium-review.googlesource.com/c/chromium/src/+/3949281
breaks our Linux builds run under Docker.
This patch should be removed once
https://chromium-review.googlesource.com/c/chromium/src/+/3949284
is merged.
* 3976312: Roll clang llvmorg-16-init-8189-g97196a2d-2 : llvmorg-16-init-8697-g60809cd2-1
https://chromium-review.googlesource.com/c/chromium/src/+/3976312
* 3967841: [heap] Remove AllocationSpace::MAP_SPACE enum constant
https://chromium-review.googlesource.com/c/v8/v8/+/3967841
* 3956131: [cleanup] Remove flag for Wasm threads & atomics
https://chromium-review.googlesource.com/c/v8/v8/+/3956131
* chore: update docs for Quota: Cleanup kPersistent in BrowsingDataRemover
https://chromium-review.googlesource.com/c/chromium/src/+/3964859
* test: fixup HID test for ARM CI
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
2022-10-27 12:37:04 -04:00
Shane Gannon
02ad8fcd5f
docs: correcting main example in WebRequest documentation ( #36113 )
...
Correcting main example
The entry `*://electron.github.io` is invalid and produces an exception. i.e.
> UnhandledPromiseRejectionWarning: TypeError: Invalid url pattern *://electron.github.io: Empty path.
Setting a valid path to resolve this issue
2022-10-27 16:18:07 +09:00
Jeremy Rose
a75e8e051e
docs: document that when invoke rejects, it gives a different Error ( #36127 )
2022-10-26 13:56:41 -07:00
flynow10
ad289d120f
docs: fixed MenuItem documentation to use the same formatting for all role options ( #36112 )
...
Fixed MenuItem documentation
Some of the items in the list of possible roles were formatted differently, which made it harder to read.
Sorry if this was intended, but I found it easier to read with them all formatted the same.
2022-10-24 14:51:50 -04:00
Robo
da0fd286b4
feat: UtilityProcess API ( #34980 )
...
* chore: initial scaffolding
* chore: implement interface and docs
* chore: address code style review
* fix: cleanup of utility process on shutdown
* chore: simplify NodeBindings::CreateEnvironment
* chore: rename disableLibraryValidation => allowLoadingUnsignedLibraries
* chore: implement process.parentPort
* chore(posix): implement stdio pipe interface
* chore(win): implement stdio interface
* chore: reenable SetNodeOptions for utility process
* chore: add specs
* chore: fix lint
* fix: update kill API
* fix: update process.parentPort API
* fix: exit event
* docs: update exit event
* fix: tests on linux
* chore: expand on some comments
* fix: shutdown of pipe reader
Avoid logging since it is always the case that reader end of
pipe will terminate after the child process.
* fix: remove exit code check for crash spec
* fix: rm PR_SET_NO_NEW_PRIVS for unsandbox utility process
* chore: fix incorrect rebase
* fix: address review feedback
* chore: rename utility_process -> utility
* chore: update docs
* chore: cleanup c++ implemantation
* fix: leak in NodeServiceHost impl
* chore: minor cleanup
* chore: cleanup JS implementation
* chore: flip default stdio to inherit
* fix: some api improvements
* Support cwd option
* Remove path restriction for modulePath
* Rewire impl for env support
* fix: add tests for cwd and env option
* chore: alt impl for reading stdio handles
* chore: support message queuing
* chore: fix lint
* chore: new UtilityProcess => utilityProcess.fork
* fix: support for uncaught exception exits
* chore: remove process.execArgv as default
* fix: windows build
* fix: style changes
* fix: docs and style changes
* chore: update patches
* spec: disable flaky test on win32 arm CI
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2022-10-19 22:49:49 -07:00
Shelley Vohr
4310468513
feat: support serialPort.forget() ( #35310 )
...
feat: enable serialPort.revoke()
2022-10-18 11:22:32 +02:00
Shelley Vohr
faafcc7f87
refactor: eliminate DecrementCapturerCount patch ( #35710 )
2022-10-05 19:51:33 +02:00