WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 11049
125889
http/tests/xmlhttprequest/post-content-type.html has wrong expectation
https://bugs.webkit.org/show_bug.cgi?id=125889
Summary
http/tests/xmlhttprequest/post-content-type.html has wrong expectation
Ryosuke Niwa
Reported
2013-12-17 16:52:29 PST
Consider merging
https://chromium.googlesource.com/chromium/blink/+/dc19721e036c668389d06ec7de8ef9917cc04a29
if the comment below is correct. Update outdated XHR layout test. The explanation in the HTML file says the expected Content-Type is application/xml, but it actually is text/plain. This is correct according to the XHR spec, and application/xml was legacy WebKit behavior. The HTML file also references a WebKit bug that specifies the old behavior, and will be updated to reference a Chromium bug for the correct behavior. The test passed before and will still pass after this test. However, running it manually in the browser will be less confusing.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-10-04 15:14:06 PDT
Webkit GitHub - Test Link -
https://github.com/WebKit/WebKit/blob/8afe31a018b11741abdf9b4d5bb973d7c1d9ff05/LayoutTests/http/tests/xmlhttprequest/post-content-type.html
Only difference is following lines: <p>Test for <a href="
https://bugs.webkit.org/show_bug.cgi?id=3565
">
bug 3565
</a> - posting data via XMLHttpRequest doesn't work (wrong Content-Type).</p>
rniwa@webkit.org
/
ap@webkit.org
- Do we need to update this? Thanks!
Alexey Proskuryakov
Comment 2
2022-10-04 18:19:54 PDT
This was done as part of
bug 11049
. *** This bug has been marked as a duplicate of
bug 11049
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug