zotero/test
Dan Stillman e179576790 Detect code running with resources from a different build
An incompletely applied update can start code from the previous version
with the new version's resources. Record the version in both the code
and a bundled resource file, and on a mismatch at startup, invalidate
caches and restart. If the mismatch remains after the restart, show an
error telling people to reinstall. Also send the versions with the next
repository check so we can try to figure out what's causing this.

https://forums.zotero.org/discussion/134539/error-message-when-opening-zotero

(cherry picked from commit 7ca413236a)
2026-11-06 11:15:37 -05:00
..
components fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
content Track data object versions locally 2026-07-28 09:57:43 -04:00
resource Remove Chai as Promised 2025-07-30 22:31:08 -04:00
tests Detect code running with resources from a different build 2026-11-06 11:15:37 -05:00
chrome.manifest fx115: Restore test runner 2024-03-30 00:58:53 -04:00
runtests.sh runtests.sh: Add -p option to run a shard of the test files (e.g., -p 2/4) 2026-07-08 10:50:32 -04:00