2010-11-02 Michael Nordman <michaeln@google.com>
authormichaeln@google.com <michaeln@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Nov 2010 01:07:40 +0000 (01:07 +0000)
committermichaeln@google.com <michaeln@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Nov 2010 01:07:40 +0000 (01:07 +0000)
commit09ddad6ba018d068da214130609dca4aa9a1730c
tree5348b8a8b427b7f81ecba3ebbda5f25b2bf45f21
parentecef0f6053b92d7bd95defe21ffa74e975fbbe1d
2010-11-02  Michael Nordman  <michaeln@google.com>

        Reviewed by Alexey Proskuryakov.

        [Chromium] Some work on making appcache layout tests less flaky.
        https://bugs.webkit.org/show_bug.cgi?id=48002
        1) Make network-simulator.php less slow.
        In addition to redirecting back to the requested url, the response contains
        multiple content-length headers. Chrome's network stacks considers that an
        error condition too and picks up on it faster (one round trip instead of multiple).
        This avoids timeouts due to using PHP via slow CGI on windows.
        2) Removed canLoad() from appcache/fallback.html layout test, the load()
        result is sufficient for determining if it could be loaded. So fewer requests are
        made to conduct the test, cutting out more time.
        3) Removed some unneeded code from offline-access-frame.html. Appcache events are guaranteed
        to be deferred until after 'onload' has happened. This test was coded prior to that
        guarantee being satisfied.

        * http/tests/appcache/fallback.html:
        * http/tests/resources/network-simulator.php:
        * http/tests/resources/offline-access-frame.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/appcache/fallback.html
LayoutTests/http/tests/appcache/resources/offline-access-frame.html
LayoutTests/http/tests/resources/network-simulator.php