New Request should soft clone
fix(ext/fetch): new Request should soft clone (#16869)
New Request should soft clonefixnew request soft clone ext fetch
Committed by lucacasonato
commit message
fix(ext/fetch): new Request should soft clone (#16869)
Previously the inner request object of the original and the new request
were the same, causing the requests to be entangled and mutable changes
to one to be visible to the other. This fixes that.Editor assessment
This fix message is exemplary. The nested scope `ext/fetch` precisely locates the change, and the subject uses spec language ('new Request should soft clone') that web-platform reviewers will recognize immediately. The body, set off by a blank line and wrapped near 72 columns, explains the actual bug — the inner request objects were shared, so mutable changes to one request were visible to the other — and states that the change resolves it. Type, scope, subject, and rationale all align; changelog tooling gets a clean patch note for free.