http/tests/cache/partitioned-cache.html breaks subsequent cookie tests
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Aug 2013 19:17:58 +0000 (19:17 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Aug 2013 19:17:58 +0000 (19:17 +0000)
commitd6415fb3b22e60473850e1632b9f923c794ab5e1
tree9a8f8cac410ae24f8e44c563d3b305f3e09b7b9e
parent6ca4457c2f7fc8bc3a3fc59e5a27a01b5305ef67
    http/tests/cache/partitioned-cache.html breaks subsequent cookie tests
        https://bugs.webkit.org/show_bug.cgi?id=120212

        Reviewed by Tim Horton.

        The test never deleted its localhost cookie, so subsequent third party cookie
        relaxing tests saw the existing cookie and failed.

        There is no need to use cookies in this test, and it's actually slightly incorrect,
        as the network layer may refuse to use a cached result simply because cookies changed,
        and then we wouldn't test 3rd party data blocking.

        * platform/qt/http/tests/cache/partitioned-cache-expected.txt:
        * http/tests/cache/partitioned-cache-expected.txt: Updated results. It took me
        a long time to understand what the test was doing, so made it a bit more self-descriptive.

        * http/tests/cache/partitioned-cache.html: Tabs to spaces.

        * http/tests/cache/resources/echo-cookie.cgi: Removed.
        * http/tests/cache/resources/partitioned-cache-echo-state.php: Added.
        * http/tests/cache/resources/partitioned-cache-loader.html:
        Changed to use a local file on the server to modify resource content.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/cache/partitioned-cache-expected.txt
LayoutTests/http/tests/cache/partitioned-cache.html
LayoutTests/http/tests/cache/resources/echo-cookie.cgi [deleted file]
LayoutTests/http/tests/cache/resources/partitioned-cache-echo-state.php [new file with mode: 0644]
LayoutTests/http/tests/cache/resources/partitioned-cache-loader.html
LayoutTests/platform/qt/http/tests/cache/partitioned-cache-expected.txt