zotero/test
Bogdan Abaev b917667674 server connector endpoint to cancel a session
- added /connector/cancelSession endpoint to connector server that
the connector can call to cancel or undo the saving process.
- if there is not session, it will be created, so we can
record that the session with that ID is canceled for
further endpoint calls.
- when the session is cancelled, subsequent calls
to /saveAttachment, /saveSnapshot, /saveSingleFile,
/saveItems, /updateSession are rejected with 409 error.
- after the session is cancelled, wait a second,
and try to remove any existing session items again.
This accounts for edge cases like if an items is saved at the
same time as the session is cancelled.

Additionally, fixed session not getting removed or garbage-collected
2025-07-09 14:18:11 -07:00
..
components fx128: Remove Services.jsm imports 2024-12-14 01:16:00 -05:00
content Use the bundled mozilla httpd (#5148) 2025-04-22 09:47:58 -04:00
resource Use the bundled mozilla httpd (#5148) 2025-04-22 09:47:58 -04:00
tests server connector endpoint to cancel a session 2025-07-09 14:18:11 -07:00
chrome.manifest fx115: Restore test runner 2024-03-30 00:58:53 -04:00
runtests.sh Server: Expose actual bound port (#4903) 2024-12-14 01:16:03 -05:00