diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 90aeaae789912..39b3b01499446 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,15 @@ +2018-09-10 Rob Buis + + XMLHttpRequest: overrideMimeType should not update the response's "Content-Type" header + https://bugs.webkit.org/show_bug.cgi?id=189465 + + Reviewed by Frédéric Wang. + + Change existing test to reflect new behavior. + + * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt: + * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html: + 2018-09-10 Antoine Quint [Web Animations] Interrupting an accelerated CSS transition on a composited element in flight fails diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt index 0fbe1e8843226..880b205f89c2b 100644 --- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt +++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt @@ -1,9 +1,9 @@ -This tests that XMLHttpRequest overrideMimeType() properly updates the Content-Type header for the response. +This tests that XMLHttpRequest overrideMimeType() does not update the Content-Type header for the response. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS xhr.getResponseHeader("Content-Type") is "text/xml;charset=GBK" +PASS xhr.getResponseHeader("Content-Type") is "application/xml" PASS successfullyParsed is true TEST COMPLETE diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html index 9c2b96883cfbc..04add7a5d82b7 100644 --- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html +++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html @@ -5,7 +5,7 @@