Files
moli/moli
ldm0 65a7a52d05 test(xhr): gate timeout-before-upload controls with preflight
The first-report timeout controls assumed that an 80ms busy task would
finish before the network service's 100ms reporting interval. Scheduler
preemption can invalidate that assumption; fixed Chromium 152 also emits
upload completion before the delayed XHR timeout when that happens.

Hold a CORS preflight on a second loopback origin for the two controls
that require no upload report. No body can be transmitted while the
preflight is pending, regardless of task overrun. Preserve every event
assertion and all 16 cases in both Window and Worker, including the normal
network's positive completion/reporting cases. Abort both owned servers
when the CLI run ends.

Independent normal and 160ms-overrun controls match Chromium and the
published-parent debug/release binaries on all 24 cases; each profile
observes six held preflights and zero POST requests to the held endpoint.
2026-11-20 22:47:58 +08:00
..