Files
moli/moli
ldm0 d3b5ee1954 fix(xhr): keep absent request bodies upload-complete
Derive pending upload state from the prepared body before loadstart
callbacks. Upload listeners still select CORS preflight and event delivery,
but no longer create an unfinished upload for a null or ignored body.

Cover Window and worker aborts, policy failures, and an abort callback
that replaces a POST with a GET. Retain upload error events for empty
strings and nonempty request bodies.

Align the existing CLI timeout fixture with null bodies being upload-
complete, retaining its response, event-order and timeout assertions.
2026-11-06 08:47:05 +08:00
..