65ee977a86
* Fix timing issue in singleton fixture. Singleton now sends the "we've started" message out only after it's received a `'ready'` event from `app`. Previously it sent the message out immediately, resulting in the parent test trying to manipulate it before Singleton's event loop was fully bootstrapped. * Check for graceful exits on Linux, too. Rewrite the "exits gracefully on macos" spec to run on Linux too. * Check for graceful exits everywhere. * Tweak comment * Better error logging in api-app-spec.js. (#12122) In the 'exits gracefully' test for app.exit(exitCode), print the relevant error information if the test fails. * Run the exit-gracefully test on macOS and Linux. Windows does not support sending signals, but Node.js offers some emulation with process.kill(), and subprocess.kill(). Sending signal 0 can be used to test for the existence of a process. Sending SIGINT, SIGTERM, and SIGKILL cause the unconditional termination of the target process. So, we'll need a different approach if we want to test this in win32. |
||
---|---|---|
.. | ||
fixtures | ||
static | ||
api-app-spec.js | ||
api-auto-updater-spec.js | ||
api-browser-view-spec.js | ||
api-browser-window-affinity-spec.js | ||
api-browser-window-spec.js | ||
api-callbacks-registry-spec.js | ||
api-clipboard-spec.js | ||
api-crash-reporter-spec.js | ||
api-debugger-spec.js | ||
api-deprecations-spec.js | ||
api-desktop-capturer-spec.js | ||
api-dialog-spec.js | ||
api-global-shortcut-spec.js | ||
api-in-app-purchase-spec.js | ||
api-ipc-main-spec.js | ||
api-ipc-renderer-spec.js | ||
api-menu-item-spec.js | ||
api-menu-spec.js | ||
api-native-image-spec.js | ||
api-net-spec.js | ||
api-notification-spec.js | ||
api-power-monitor-spec.js | ||
api-power-save-blocker-spec.js | ||
api-process-spec.js | ||
api-protocol-spec.js | ||
api-remote-spec.js | ||
api-screen-spec.js | ||
api-session-spec.js | ||
api-shell-spec.js | ||
api-system-preferences-spec.js | ||
api-touch-bar-spec.js | ||
api-web-contents-spec.js | ||
api-web-frame-spec.js | ||
api-web-request-spec.js | ||
asar-spec.js | ||
chromium-spec.js | ||
modules-spec.js | ||
node-spec.js | ||
package.json | ||
security-warnings-spec.js | ||
webview-spec.js | ||
window-helpers.js |