electron/spec/fixtures
Samuel Attard 6be775ad83
fix: preserve staged update dir when pruning orphaned updates on macOS (#50210)
fix: preserve staged update dir when pruning orphaned update dirs on macOS

The previous squirrel.mac patch cleaned up all staged update directories
before starting a new download. This kept disk usage bounded but broke
quitAndInstall() if called while a subsequent checkForUpdates() was in
flight — the already-staged bundle would be deleted out from under it.

This reworks the patch to read ShipItState.plist and preserve the
directory it references, deleting only truly orphaned update.XXXXXXX
directories. Disk footprint stays bounded (at most 2 dirs: staged +
in-progress) and quitAndInstall() remains safe mid-check.

Also adds test coverage for the quitAndInstall/checkForUpdates race and
a triple-stack scenario where 3 updates arrive without a restart.

Refs https://github.com/electron/electron/issues/50200
2026-03-11 15:42:23 -07:00
..
api fix: recover network requests after Network Service restart (#49887) 2026-02-25 12:53:06 -05:00
apps fix: NODE_OPTIONS parsing for child processes on macOS (#46209) 2025-03-25 13:01:37 +09:00
assets test: add tests dbus notification images (#43938) 2024-09-25 13:17:27 +02:00
auto-update fix: preserve staged update dir when pruning orphaned updates on macOS (#50210) 2026-03-11 15:42:23 -07:00
certificates fix spec 2016-04-18 22:57:37 +05:30
chromium feat: add support for long-animation-frame script attribution (#49706) 2026-02-11 09:34:22 -08:00
crash-cases fix: uaf in non-client hittest during view teardown (#50042) 2026-03-04 00:29:49 +09:00
devtools-extensions test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
esm fix: importing from electron/utility in ESM (#47998) 2025-08-09 09:47:47 +02:00
extensions chore: bump chromium to 140.0.7281.0 (main) (#47616) 2025-07-14 13:42:37 -07:00
file-system feat: add fileSystem to ses.setPermissionCheckHandler (#48170) 2025-09-15 17:00:58 -04:00
module build: drop eslint-plugin-unicorn (#47676) 2025-07-08 15:20:56 +02:00
native-addon build: update to yarn v4 (#48243) 2025-11-17 15:18:14 -05:00
pages fix: run webRequest handlers for URLs handled by ElectronURLLoaderFactory (#45915) 2026-03-10 12:27:00 -04:00
recursive-asar fix: support recursive readdir in Asar files (#41582) 2024-03-19 11:10:14 +01:00
release-notes/cache build: add support for fetching github token from sudowoodo (#43808) 2024-09-23 09:39:54 -07:00
snapshot-items-available ci: cleanup up test app directories (#25145) 2020-08-31 14:07:12 -04:00
sub-frames chore: bump chromium to 140.0.7281.0 (main) (#47616) 2025-07-14 13:42:37 -07:00
test.asar build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
type-stripping feat: add support for --experimental-transform-types (#49711) 2026-02-19 20:27:49 +01:00
webview/fullscreen test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
workers fix: fetch-dependent interfaces in Web Workers (#42579) 2024-06-20 11:01:50 -04:00
blank.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
blank.png test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
cat-spin.mp4 fix: don't emit did-fail-load for MediaDocuments (#37824) 2023-04-06 10:23:34 +02:00
cat.pdf test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
dogs-running.txt test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
hello.txt feat: net.fetch() supports custom protocols (#36606) 2023-03-02 15:47:45 -08:00
log-test.js fix: prevent log files being written to current directory on Windows (#44413) 2025-05-02 16:27:29 -05:00
no-proprietary-codecs.js build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
preload-expose-ipc.js test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
testsnap.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
video-source-image.webp feat: add {stream} opt to custom protocol registry to configure media player (#22955) 2020-06-08 09:49:36 -07:00