electron/spec-main
Charles Kerr 5a8f40ae13
fix: don't throw on bad icons in BrowserWindow constructor (#27441)
* fix: do not throw if NativeImage conversion fails.

Throwing is an unannounced semver/major breaking change, so revert that
behavior but keep the rest of the #26546 refactor.

* test: add invalid icon test

* refactor: be explicit about when to throw or warn.
2021-01-25 10:24:10 +09:00
..
fixtures chore: bump chromium to a264339194bfa02f5ecb3b8cba449 (master) (#27111) 2021-01-12 15:31:23 -08:00
.eslintrc
.gitignore
ambient.d.ts chore: tsify menu (#24358) 2020-07-06 13:24:54 -07:00
api-app-spec.ts ci: enable arm64 macOS tests (#24832) 2021-01-21 18:36:52 -05:00
api-auto-updater-spec.ts ci: enable arm64 macOS tests (#24832) 2021-01-21 18:36:52 -05:00
api-autoupdater-darwin-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-browser-view-spec.ts fix: handle BrowserView reparenting (#27000) 2021-01-04 16:34:22 -08:00
api-browser-window-affinity-spec.ts feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
api-browser-window-spec.ts fix: don't throw on bad icons in BrowserWindow constructor (#27441) 2021-01-25 10:24:10 +09:00
api-callbacks-registry-spec.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
api-content-tracing-spec.ts ci: enable arm64 macOS tests (#24832) 2021-01-21 18:36:52 -05:00
api-context-bridge-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-crash-reporter-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-debugger-spec.ts feat: expose sessionId in debugger module (#24170) 2020-07-02 13:04:20 -07:00
api-deprecate-spec.ts refactor: replace a few any-s with proper types (#25681) 2020-10-08 03:01:23 +02:00
api-desktop-capturer-spec.ts feat: remove getMediaSourceIdForWebContents() (#25414) 2020-09-14 10:38:05 -07:00
api-dialog-spec.ts
api-global-shortcut-spec.ts fix: volume key globalShortcut registration (#23782) 2020-05-28 08:56:48 -04:00
api-in-app-purchase-spec.ts
api-ipc-main-spec.ts fix: restrict sendToFrame to same-process frames by default (#26875) 2020-12-09 12:48:16 -08:00
api-ipc-renderer-spec.ts test: reduce flakiness of post-context-release ipc test (#23992) 2020-06-05 16:51:42 -07:00
api-ipc-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-menu-item-spec.ts test: make sure tests fail properly instead of timing out (#24316) 2020-07-01 00:10:36 +02:00
api-menu-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-native-theme-spec.ts
api-net-log-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-net-spec.ts ci: enable arm64 macOS tests (#24832) 2021-01-21 18:36:52 -05:00
api-notification-dbus-spec.ts
api-notification-spec.ts feat: custom toast xml and failure reporting for notifications (#25401) 2020-09-29 12:20:10 -07:00
api-power-monitor-spec.ts feat: add powerMonitor.onBatteryPower (#26494) 2020-11-16 16:31:46 -08:00
api-power-save-blocker-spec.ts
api-protocol-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-remote-spec.ts fix: make protocol wrapper remote-friendly again (#27009) 2020-12-16 16:56:53 +09:00
api-screen-spec.ts fix: add a "set" trap to the "screen" module proxy (#26818) 2020-12-07 09:20:50 -08:00
api-service-workers-spec.ts test: use new uuid for each ServiceWorker test (#27444) 2021-01-23 10:37:51 +09:00
api-session-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-shell-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-subframe-spec.ts feat: add webFrameMain.send() / webFrameMain.postMessage() (#26807) 2021-01-15 09:00:37 +09:00
api-system-preferences-spec.ts chore: remove deprecated systemPreferences methods (#26849) 2020-12-16 08:34:24 +09:00
api-touch-bar-spec.ts
api-tray-spec.ts refactor: remove path from nativeImage converter (#26546) 2021-01-04 12:58:31 -08:00
api-view-spec.ts refactor: rename TopLevelWindow to BaseWindow (#24305) 2020-06-29 16:06:20 +09:00
api-web-contents-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
api-web-contents-view-spec.ts refactor: rename TopLevelWindow to BaseWindow (#24305) 2020-06-29 16:06:20 +09:00
api-web-frame-main-spec.ts feat: add webFrameMain.send() / webFrameMain.postMessage() (#26807) 2021-01-15 09:00:37 +09:00
api-web-frame-spec.ts feat: add worldSafe flag for executeJS results (#24114) 2020-07-23 14:32:20 -07:00
api-web-request-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
asar-spec.ts test: make sure tests fail properly instead of timing out (#24316) 2020-07-01 00:10:36 +02:00
autofill-spec.ts
chromium-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
crash-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
events-helpers.ts chore: deprecate remote (#25293) 2020-09-10 09:17:17 -07:00
extensions-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
guest-window-manager-spec.ts fix: restrict sendToFrame to same-process frames by default (#26875) 2020-12-09 12:48:16 -08:00
index.js test: support for adding extra module paths (#26490) 2020-11-17 12:05:10 -08:00
internal-spec.ts
modules-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
node-spec.ts fix: no more need to hijack process.stdout on Win32 (#25765) 2020-10-05 10:10:38 -07:00
package.json fix: export libuv symbols (#24659) 2020-08-11 19:17:18 +09:00
pipe-transport.ts
release-notes-spec.ts chore: graceful handling of notes with sub-lists (#25279) 2020-09-03 14:42:48 -05:00
security-warnings-spec.ts
spec-helpers.ts fix: re-enable the spellchecker when new language list set (#26119) 2020-10-23 00:34:19 -07:00
spellchecker-spec.ts feat: add APIs to enable/disable spell checker (#26276) 2020-11-11 10:29:18 -05:00
types-spec.ts
version-bump-spec.ts
video-helpers.js chore: fix minor script warnings (#25575) 2020-09-23 13:21:34 -07:00
visibility-state-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
webview-spec.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
window-helpers.ts
yarn.lock fix: export libuv symbols (#24659) 2020-08-11 19:17:18 +09:00