Request construction currently clones and exposes a Headers object without the Fetch Standard request/request-no-cors guard state. That leaves forbidden request headers and no-CORS-unsafe mutations outside the required security boundary.
Standards: https://fetch.spec.whatwg.org/#concept-headers-guard and https://fetch.spec.whatwg.org/#headers-class
Acceptance
- Headers objects carry real none, request, request-no-cors, response, and immutable guard state where required.
- Request construction and cloning install the correct guard before filling/sanitizing headers.
- append, set, delete, and fill enforce forbidden request-header and no-CORS-safelisted rules, including privileged Range cleanup.
- Guard state is internal, clone-safe, and synchronized under shared-realm mutation.
- Focused Fetch/WPT-derived tests cover constructor sanitization and post-construction mutation in normal and no-cors modes.
- Full unit and TSan gates pass with measured evidence.