Changeset 224133 in webkit


Ignore:
Timestamp:
Oct 27, 2017 3:28:37 PM (6 years ago)
Author:
dbates@webkit.org
Message:

Add tests for automatic decompression of gzip-compressed subresources
https://bugs.webkit.org/show_bug.cgi?id=178941
<rdar://problem/35230090>

Reviewed by Alex Christensen.

Although automatic decompression of gzip-compressed subresources is handled by CFNetwork
(<rdar://problem/5418646>) we should add tests to ensure that WebKit does not inadvertently
opt out of such functionality and to catch a regression in CFNetwork.

  • TestExpectations: Skip the tests on all platforms. We will unskip on Cocoa platforms and Apple Windows.
  • http/tests/gzip-content-encoding/gzip-encoded-script-expected.txt: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-script.html: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-script2-expected.txt: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-script2.html: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-stylesheet-expected.html: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-stylesheet.html: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-stylesheet2-expected.html: Added.
  • http/tests/gzip-content-encoding/gzip-encoded-stylesheet2.html: Added.
  • http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.php: Added.
  • http/tests/gzip-content-encoding/resources/script.js.gz: Added.
  • http/tests/gzip-content-encoding/resources/stylesheet.css.gz: Added.
  • platform/ios/TestExpectations: Unskip tests.
  • platform/mac/TestExpectations: Ditto.
  • platform/win/TestExpectations: Ditto.
Location:
trunk/LayoutTests
Files:
13 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r224132 r224133  
     12017-10-27  Daniel Bates  <dabates@apple.com>
     2
     3        Add tests for automatic decompression of gzip-compressed subresources
     4        https://bugs.webkit.org/show_bug.cgi?id=178941
     5        <rdar://problem/35230090>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Although automatic decompression of gzip-compressed subresources is handled by CFNetwork
     10        (<rdar://problem/5418646>) we should add tests to ensure that WebKit does not inadvertently
     11        opt out of such functionality and to catch a regression in CFNetwork.
     12
     13        * TestExpectations: Skip the tests on all platforms. We will unskip on Cocoa platforms and Apple Windows.
     14        * http/tests/gzip-content-encoding/gzip-encoded-script-expected.txt: Added.
     15        * http/tests/gzip-content-encoding/gzip-encoded-script.html: Added.
     16        * http/tests/gzip-content-encoding/gzip-encoded-script2-expected.txt: Added.
     17        * http/tests/gzip-content-encoding/gzip-encoded-script2.html: Added.
     18        * http/tests/gzip-content-encoding/gzip-encoded-stylesheet-expected.html: Added.
     19        * http/tests/gzip-content-encoding/gzip-encoded-stylesheet.html: Added.
     20        * http/tests/gzip-content-encoding/gzip-encoded-stylesheet2-expected.html: Added.
     21        * http/tests/gzip-content-encoding/gzip-encoded-stylesheet2.html: Added.
     22        * http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.php: Added.
     23        * http/tests/gzip-content-encoding/resources/script.js.gz: Added.
     24        * http/tests/gzip-content-encoding/resources/stylesheet.css.gz: Added.
     25        * platform/ios/TestExpectations: Unskip tests.
     26        * platform/mac/TestExpectations: Ditto.
     27        * platform/win/TestExpectations: Ditto.
     28
    1292017-10-27  Chris Dumez  <cdumez@apple.com>
    230
  • trunk/LayoutTests/TestExpectations

    r224132 r224133  
    3737fast/css/variables/env/ios [ Skip ]
    3838http/tests/preload/viewport [ Skip ]
     39http/tests/gzip-content-encoding [ Skip ]
    3940
    4041# window.showModalDialog is only tested in DumpRenderTree on Mac.
  • trunk/LayoutTests/platform/ios/TestExpectations

    r224073 r224133  
    1717fast/zooming/ios [ Pass ]
    1818http/tests/preload/viewport [ Pass ]
     19http/tests/gzip-content-encoding [ Pass ]
    1920
    2021#//////////////////////////////////////////////////////////////////////////////////////////
  • trunk/LayoutTests/platform/mac/TestExpectations

    r224120 r224133  
    3131
    3232fast/xmlhttprequest/set-dangerous-headers-in-dashboard.html [ Pass ]
     33
     34http/tests/gzip-content-encoding [ Pass ]
    3335
    3436#//////////////////////////////////////////////////////////////////////////////////////////
  • trunk/LayoutTests/platform/win/TestExpectations

    r223929 r224133  
    3636
    3737accessibility/win [ Pass ]
     38http/tests/gzip-content-encoding [ Pass ]
    3839
    3940#//////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.