electron/spec-main
Andrew MacDonald 9b01bb00d2 feat: add app.getApplicationNameForProtocol API (#20399)
* Add GetApplicationNameForProtocol.

* Fix Windows implementation.

* Fix up test.

* Add documentation.

* Implement for real on Linux using xdg-mime.

Also ensure we allow blocking calls here to avoid errant DCHECKing.

* Improve docs for Linux.

* Clean up tests.

* Add a note about not relying on the precise format.

* Update docs/api/app.md

Co-Authored-By: Shelley Vohr <codebytere@github.com>

* Remove needless `done()`s from tests.

* Use vector list initialization.

* Add a simple test for isDefaultProtocolClient.

* Remove unneeded include and skip a test on Linux CI.

* We no longer differentiate between CI and non-CI test runs.
2019-11-06 17:50:33 -08:00
..
fixtures chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
.eslintrc spec: initial spike of main-process based tests 2019-03-14 12:50:06 -07:00
.gitignore spec: add tests for the autoUpdater on macOS that actually test if it works (#17442) 2019-03-29 17:32:52 -07:00
ambient.d.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-app-spec.ts feat: add app.getApplicationNameForProtocol API (#20399) 2019-11-06 17:50:33 -08:00
api-auto-updater-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-autoupdater-darwin-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-browser-view-spec.ts build: speedy tests on circle by splitting the test files into multiple jobs (#21015) 2019-11-06 16:15:55 -08:00
api-browser-window-affinity-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-browser-window-spec.ts build: speedy tests on circle by splitting the test files into multiple jobs (#21015) 2019-11-06 16:15:55 -08:00
api-callbacks-registry-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-content-tracing-spec.ts test: move contentTracing specs to main process (#19229) 2019-07-15 17:23:35 +09:00
api-context-bridge-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-crash-reporter-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-debugger-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-deprecate-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-desktop-capturer-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-dialog-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-global-shortcut-spec.ts test: there is only --ci (#20794) 2019-10-30 16:38:21 -07:00
api-in-app-purchase-spec.ts test: move inAppPurchase spec (#19232) 2019-07-15 17:28:55 +09:00
api-ipc-main-spec.ts test: move ipcMain spec (#19230) 2019-07-15 17:23:59 +09:00
api-ipc-renderer-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-ipc-spec.ts build: speedy tests on circle by splitting the test files into multiple jobs (#21015) 2019-11-06 16:15:55 -08:00
api-menu-item-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-menu-spec.ts test: there is only --ci (#20794) 2019-10-30 16:38:21 -07:00
api-native-theme-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-net-log-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-net-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-notification-dbus-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-notification-spec.ts test: move Notification spec to main process (#19414) 2019-07-24 17:18:11 -07:00
api-power-monitor-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-power-save-blocker-spec.ts spec: move powerSaveBlocker spec to main process (#19236) 2019-07-15 17:38:01 +09:00
api-protocol-spec.ts chore: upgrade ts generator for better type safety (#20975) 2019-11-05 13:34:04 -08:00
api-remote-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-screen-spec.ts move screen api test to main process (#18956) 2019-06-24 11:30:47 -07:00
api-session-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-shell-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-subframe-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-system-preferences-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-touch-bar-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-tray-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-view-spec.ts test: tsify spec for experimental views api (#19966) 2019-08-27 16:37:30 +09:00
api-web-contents-spec.ts build: speedy tests on circle by splitting the test files into multiple jobs (#21015) 2019-11-06 16:15:55 -08:00
api-web-contents-view-spec.ts test: move WebContentsView spec (#19990) 2019-08-29 16:17:44 +09:00
api-web-frame-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
api-web-request-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
asar-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
chromium-spec.ts build: speedy tests on circle by splitting the test files into multiple jobs (#21015) 2019-11-06 16:15:55 -08:00
content-script-spec.ts test: move content-script tests to main runner (#20056) 2019-09-03 16:01:42 +09:00
events-helpers.ts chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
extensions-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
index.js build: speedy tests on circle by splitting the test files into multiple jobs (#21015) 2019-11-06 16:15:55 -08:00
internal-spec.ts test: tsify internal-spec (#19962) 2019-08-28 13:54:42 -07:00
modules-spec.ts test: don't require 'q' until the test that needs it (#20958) 2019-11-05 11:36:25 -05:00
node-spec.ts chore: remove no longer needed macOS SDK forward declarations (#19918) 2019-11-03 21:46:12 +03:00
package.json test: move module tests to main process (#20419) 2019-10-09 16:33:15 -07:00
security-warnings-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
spec-helpers.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
types-spec.ts build: ensure that we bundle the correct version of @types/node (#19102) 2019-07-03 16:36:59 -07:00
version-bump-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
visibility-state-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
webview-spec.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
window-helpers.ts chore: lint spec-main (#20835) 2019-11-01 13:37:02 -07:00
yarn.lock test: move module tests to main process (#20419) 2019-10-09 16:33:15 -07:00