⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 196988 in webkit


Ignore:
Timestamp:
Feb 23, 2016, 12:09:07 PM (11 years ago)
Author:
ap@apple.com
Message:

REGRESSION (r192251): http/tests/navigation/page-cache-xhr.html is flaky
​https://bugs.webkit.org/show_bug.cgi?id=154589

Reviewed by Youenn Fablet.

  • http/tests/navigation/page-cache-xhr.html: Load a file that exists. The content

doesn't matter, as we expect to navigate away before the load occurs.

  • http/tests/resources/load-and-stall.cgi: Added cache control, just for a good measure.
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r196986 r196988  
     12016-02-23  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (r192251): http/tests/navigation/page-cache-xhr.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=154589
     5
     6        Reviewed by Youenn Fablet.
     7
     8        * http/tests/navigation/page-cache-xhr.html: Load a file that exists. The content
     9        doesn't matter, as we expect to navigate away before the load occurs.
     10
     11        * http/tests/resources/load-and-stall.cgi: Added cache control, just for a good measure.
     12
    1132016-02-23  Mark Lam  <mark.lam@apple.com>
    214
  • trunk/LayoutTests/http/tests/navigation/page-cache-xhr.html

    r181480 r196988  
    5050    xhr.onerror = xhrError;
    5151    // Slow loading XHR (3-second stall).
    52     xhr.open("GET", "/resources/load-and-stall.cgi?name=../../../http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout.js&stallFor=3&stallAt=0&mimeType=text/plain", true);
     52    xhr.open("GET", "/resources/load-and-stall.cgi?name=load-and-stall.cgi&stallFor=3&stallAt=0&mimeType=text/plain", true);
    5353    xhr.send();
    5454
  • trunk/LayoutTests/http/tests/resources/load-and-stall.cgi

    r135852 r196988  
    1212
    1313my $filesize = stat($name)->size;
     14print "Cache-Control: no-store\n";
    1415print "Content-type: " . $mimeType . "\n";
    1516print "Content-Length: " . $filesize . "\n\n";
Note: See TracChangeset for help on using the changeset viewer.