LayoutTests: test that an XMLHttpRequest with Content-Encoding: gzip is properly...
authorjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2017 23:48:46 +0000 (23:48 +0000)
committerjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2017 23:48:46 +0000 (23:48 +0000)
commita116498ecf8aaf2aec9598c73802692e17f7319f
tree4b3e19a422693f201cd178d7a034f64fda02761b
parentc36f9f2f90bd22eb45327560e7c3051923847d6a
LayoutTests: test that an XMLHttpRequest with Content-Encoding: gzip is properly decompressed
https://bugs.webkit.org/show_bug.cgi?id=175579

Also test that without Content-Encoding proper sniffing takes place, and gzip
decoding occurs. This test is disabled and tracked by #175597.

Reviewed by Daniel Bates.

* TestExpectations:
* http/tests/xmlhttprequest/gzip-content-type-expected.txt: Added.
* http/tests/xmlhttprequest/gzip-content-type-no-content-encoding-expected.txt: Added.
* http/tests/xmlhttprequest/gzip-content-type-no-content-encoding.html: Added.
* http/tests/xmlhttprequest/gzip-content-type.html: Added.
* http/tests/xmlhttprequest/resources/gzip-lorem-no-content-encoding.php: Added.
* http/tests/xmlhttprequest/resources/gzip-lorem.php: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/http/tests/xmlhttprequest/gzip-content-type-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/gzip-content-type-no-content-encoding-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/gzip-content-type-no-content-encoding.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/gzip-content-type.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/gzip-lorem-no-content-encoding.php [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/gzip-lorem.php [new file with mode: 0644]