http/tests/cache/disk-cache-validation.html generates a lot of Perl errors
authordburkart@apple.com <dburkart@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Feb 2015 08:36:22 +0000 (08:36 +0000)
committerdburkart@apple.com <dburkart@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Feb 2015 08:36:22 +0000 (08:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141393

Reviewed by Darin Adler.

* http/tests/cache/resources/generate-response.cgi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179920 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/cache/resources/generate-response.cgi

index 65499a5..3fa302f 100644 (file)
@@ -1,3 +1,12 @@
+2015-02-11  Dana Burkart  <dburkart@apple.com>
+
+        http/tests/cache/disk-cache-validation.html generates a lot of Perl errors
+        https://bugs.webkit.org/show_bug.cgi?id=141393
+
+        Reviewed by Darin Adler.
+
+        * http/tests/cache/resources/generate-response.cgi:
+
 2015-02-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Unreviewed, EFL gardening. Tests of fast/ruby needs to have new baseline since r172874.
index cc235c0..2b1ea96 100755 (executable)
@@ -6,7 +6,7 @@ use HTTP::Date;
 my $query = new CGI;
 @names = $query->param;
 
-if ($query->http("If-None-Match") eq "match") {
+if ($query->http && $query->http("If-None-Match") eq "match") {
     print "Status: 304\n";
 }