electron/docs/api
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
..
structures feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
accelerator.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
app.md feat: add app.getSystemLocale() method (#35697) 2022-09-23 11:50:46 -07:00
auto-updater.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
browser-view.md docs: document when BrowserWindow and BrowserView can be used (#33696) 2022-04-18 10:11:44 -04:00
browser-window.md refactor: eliminate DecrementCapturerCount patch (#35710) 2022-10-05 19:51:33 +02:00
client-request.md docs: update links to Chromium source (#33309) 2022-03-17 13:45:55 +01:00
clipboard.md docs: fix missing tag end in clipboard example (#32673) 2022-02-01 17:57:33 +09:00
command-line-switches.md docs: update links to Chromium source (#33309) 2022-03-17 13:45:55 +01:00
command-line.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
content-tracing.md docs: update links to Chromium source (#33309) 2022-03-17 13:45:55 +01:00
context-bridge.md feat: add exposeInIsolatedWorld(worldId, key, api) to contextBridge (#34974) 2022-09-21 13:17:10 -05:00
cookies.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
crash-reporter.md docs: add Bugsnag as a 3rd party crash server (#32053) 2022-01-03 14:48:15 -05:00
debugger.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
desktop-capturer.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
dialog.md docs: explicitly allow string for MessageBoxOptions.icon (#32422) 2022-01-13 10:30:15 +09:00
dock.md docs: Remove the latin words from doc (#32641) 2022-01-28 12:40:20 -08:00
download-item.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
environment-variables.md chore: fix typos (#34731) 2022-07-05 11:49:56 -04:00
extensions.md feat: implement chrome.tabs.reload (#33560) 2022-04-11 22:51:10 +02:00
file-object.md docs: es6ify 'Breaking Changes' and 'File' API pages (#15507) 2018-12-05 23:14:52 +11:00
global-shortcut.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
in-app-purchase.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
incoming-message.md feat: add rawHeaders to IncomingMessage (#31853) 2022-01-24 11:46:15 -05:00
ipc-main.md docs: add IPC doc (#32059) 2022-02-09 11:00:05 -05:00
ipc-renderer.md docs: add IPC doc (#32059) 2022-02-09 11:00:05 -05:00
menu-item.md docs: Remove the latin words from doc (#32641) 2022-01-28 12:40:20 -08:00
menu.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
message-channel-main.md docs: uniformize module API doc format (#28920) 2021-04-29 09:56:31 +02:00
message-port-main.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
native-image.md test: migrate nativeImage specs to main (#35062) 2022-07-26 09:57:01 +02:00
native-theme.md feat: add nativeTheme.inForcedColorsMode (#32956) 2022-03-21 10:30:02 +01:00
net-log.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
net.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
notification.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
parent-port.md feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
power-monitor.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
power-save-blocker.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
process.md feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
protocol.md docs: improve registerFileProtocol example (#35580) 2022-09-07 14:45:09 -04:00
push-notifications.md feat: Enable APNS registration + notification delivery in macOS apps (#33574) 2022-07-12 08:38:49 -07:00
safe-storage.md fix: fix a crash in safeStorage on Linux (#33913) 2022-05-09 09:38:53 -04:00
screen.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
service-workers.md chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05:00
session.md feat: support serialPort.forget() (#35310) 2022-10-18 11:22:32 +02:00
share-menu.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
shell.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
synopsis.md docs: rework introduction docs (#29062) 2021-05-24 11:32:36 +09:00
system-preferences.md feat: allow null when subscribing notification (#33641) 2022-04-13 22:02:33 +02:00
touch-bar-button.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-color-picker.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-group.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-label.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-other-items-proxy.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-popover.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-scrubber.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-segmented-control.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-slider.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-spacer.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar.md docs: uniformize module API doc format (#28920) 2021-04-29 09:56:31 +02:00
tray.md docs: update tray docs with info for mac menubar icons (#35136) 2022-08-04 11:24:32 +02:00
utility-process.md feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
web-contents.md refactor: eliminate DecrementCapturerCount patch (#35710) 2022-10-05 19:51:33 +02:00
web-frame-main.md feat: webFrameMain.origin (#35438) 2022-08-31 17:40:57 -07:00
web-frame.md docs: update heading level of webFrame.insertCSS (#33467) 2022-03-29 16:02:30 +09:00
web-request.md fix webRequest.onBeforeSendHeaders' attributes (#32474) 2022-01-26 11:41:54 -05:00
webview-tag.md chore: remove deprecated 'new-window' event (#34526) 2022-08-09 17:57:05 -04:00
window-open.md feat: add ability to configure if window should close when opener closes (#31314) 2022-02-23 16:59:50 +09:00