Summary: | xhr.send(URLSearchParams) should align default Content-Type header field with Chrome and Firefox | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||||
Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap, cdumez, esprehn+autocc, ews-watchlist, kondapallykalyan, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Alex Christensen
2021-06-28 22:44:23 PDT
Created attachment 432453 [details]
Patch
Created attachment 432492 [details]
Patch
Comment on attachment 432492 [details]
Patch
r=me
Committed r279380 (239245@main): <https://commits.webkit.org/239245@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432492 [details]. Comment on attachment 432492 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432492&action=review > LayoutTests/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:-34 > -PASS ReadableStream request respects setRequestHeader("") > -FAIL ReadableStream request with under type sends no Content-Type without setRequestHeader() call assert_equals: expected "" but got "Content-Type: text/plain;charset=UTF-8\n" > -FAIL ReadableStream request keeps setRequestHeader() Content-Type and charset assert_equals: expected "Content-Type: application/xml;charset=ASCII\n" but got "Content-Type: application/xml;charset=UTF-8\n" I'm curious about how these lines disappeared. The test had been marked as failing, then updated, and nobody noticed those tests were removed. |