Title: [196988] trunk/LayoutTests
Revision
196988
Author
[email protected]
Date
2016-02-23 12:09:07 -0800 (Tue, 23 Feb 2016)

Log 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.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (196987 => 196988)


--- trunk/LayoutTests/ChangeLog	2016-02-23 20:04:36 UTC (rev 196987)
+++ trunk/LayoutTests/ChangeLog	2016-02-23 20:09:07 UTC (rev 196988)
@@ -1,3 +1,15 @@
+2016-02-23  Alexey Proskuryakov  <[email protected]>
+
+        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.
+
 2016-02-23  Mark Lam  <[email protected]>
 
         Debug assertion failure while loading http://kangax.github.io/compat-table/es6/.

Modified: trunk/LayoutTests/http/tests/navigation/page-cache-xhr.html (196987 => 196988)


--- trunk/LayoutTests/http/tests/navigation/page-cache-xhr.html	2016-02-23 20:04:36 UTC (rev 196987)
+++ trunk/LayoutTests/http/tests/navigation/page-cache-xhr.html	2016-02-23 20:09:07 UTC (rev 196988)
@@ -49,7 +49,7 @@
     xhr._onload_ = xhrLoaded;
     xhr._onerror_ = xhrError;
     // Slow loading XHR (3-second stall).
-    xhr.open("GET", "/resources/load-and-stall.cgi?name=../../../http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout.js&stallFor=3&stallAt=0&mimeType=text/plain", true);
+    xhr.open("GET", "/resources/load-and-stall.cgi?name=load-and-stall.cgi&stallFor=3&stallAt=0&mimeType=text/plain", true);
     xhr.send();
 
     // This needs to happen in a setTimeout because a navigation inside the onload handler would

Modified: trunk/LayoutTests/http/tests/resources/load-and-stall.cgi (196987 => 196988)


--- trunk/LayoutTests/http/tests/resources/load-and-stall.cgi	2016-02-23 20:04:36 UTC (rev 196987)
+++ trunk/LayoutTests/http/tests/resources/load-and-stall.cgi	2016-02-23 20:09:07 UTC (rev 196988)
@@ -11,6 +11,7 @@
 $mimeType = $query->param('mimeType');
 
 my $filesize = stat($name)->size;
+print "Cache-Control: no-store\n";
 print "Content-type: " . $mimeType . "\n"; 
 print "Content-Length: " . $filesize . "\n\n";
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to