electron/spec/fixtures/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
..
app-path ci: cleanup up test app directories (#25145) 2020-08-31 14:07:12 -04:00
command-line ci: cleanup up test app directories (#25145) 2020-08-31 14:07:12 -04:00
context-bridge test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
cookie-app chore: bump chromium to 104.0.5073.0 (main) (#34272) 2022-06-01 08:12:47 +02:00
default-menu ci: cleanup up test app directories (#25145) 2020-08-31 14:07:12 -04:00
electron-main-module test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
exit-closes-all-windows-app build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
first-party-sets test: add first-party-set chromium tests (#34827) 2022-07-07 15:14:53 -04:00
ipc-main-listeners test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
locale-check feat: add app.getSystemLocale() method (#35697) 2022-09-23 11:50:46 -07:00
mixed-sandbox-app test: make test apps' name prefixed with electron-test- (#33511) 2022-03-30 13:17:34 -04:00
net-log test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
quit-app test: make test apps' name prefixed with electron-test- (#33511) 2022-03-30 13:17:34 -04:00
relaunch fix: app.relaunch loses args when execPath specified (#35108) 2022-08-08 10:12:06 +02:00
safe-storage test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
service-workers test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
shared-worker build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
singleton test: make test apps' name prefixed with electron-test- (#33511) 2022-03-30 13:17:34 -04:00
singleton-data revert: add first-instance-ack event to the app.requestSingleInstanceLock() flow (#34297) 2022-05-22 22:20:54 -07:00
singleton-userdata fix: create userData on requestSingleInstanceLock() if needed (#33559) 2022-04-04 10:39:55 +09:00
test-menu-null test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
test-menu-visibility test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
utility-process feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
window-all-closed ci: cleanup up test app directories (#25145) 2020-08-31 14:07:12 -04:00
beforeunload-empty-string.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
beforeunload-false-prevent3.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
beforeunload-false.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
beforeunload-undefined.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
blank.html
close.html test: fix flaky onbeforeunload tests (#19085) 2019-07-02 13:48:58 -07:00
custom-protocol-shutdown.js test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
did-fail-load-iframe.html
frame-subscriber.html
globals.html fix: ensure no node globals passively leak when nodeIntegration is disabled (#21342) 2019-12-02 10:09:47 -08:00
gpu-info.js chore: bump chromium to 93.0.4550.0 (main) (#29751) 2021-06-22 12:17:16 -07:00
isolated-fetch-preload.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
isolated-preload.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
isolated-process.js chore: rename process.contextIsolation to process.contextIsolated (#28259) 2021-03-18 14:00:19 -07:00
isolated.html
loaded-from-dataurl.js feat: enable context isolation by default (#26890) 2021-03-01 16:52:29 -05:00
localstorage.html
native-window-open-argv.html
native-window-open-blank.html
native-window-open-child.html
native-window-open-cross-origin.html
native-window-open-file.html
native-window-open-iframe.html
native-window-open-isolated-preload.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
native-window-open-isolated.html
native-window-open-native-addon.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
native-window-open-no-allowpopups.html
native-window-open-noopener.html fix: crash when clicking links with target=_blank from webview (#29874) 2021-06-29 18:10:18 -07:00
new-window-preload.js test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
new-window-webview-preload.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
new-window-webview.html fix: <webview> not working in scriptable popups (#19198) 2019-07-11 20:56:04 -05:00
new-window.html
no-leak.html
offscreen-rendering.html
picture-in-picture.html feat: enable picture-in-picture mode for video tags (#17686) 2019-08-22 19:17:50 +09:00
preload.html
print-to-pdf-large.html test: more robust PDF specs (#35979) 2022-10-12 10:15:49 -04:00
print-to-pdf-small.html test: more robust PDF specs (#35979) 2022-10-12 10:15:49 -04:00
sandbox.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
send-sync-message.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
unload.html
webrequest.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
window-open-location-change.html
window-open-location-final.html
window-open-location-open.html
window-open-preload.js test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00