LayoutTests/http/tests/media/video-throttled-load.cgi issue on range support
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Aug 2013 20:23:06 +0000 (20:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Aug 2013 20:23:06 +0000 (20:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=120219

Patch by Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk> on 2013-08-23
Reviewed by Eric Carlson.

Properly count bytes when handling range requests.

* http/tests/media/video-throttled-load.cgi:

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

LayoutTests/ChangeLog
LayoutTests/http/tests/media/video-throttled-load.cgi

index 3976d27381ccd225dd39fd63b435e17029a693e6..e909644f560837ce777dd51ab2a7a077fe36ffa9 100644 (file)
@@ -1,3 +1,14 @@
+2013-08-23  Andre Moreira Magalhaes   <andre.magalhaes@collabora.co.uk>
+
+        LayoutTests/http/tests/media/video-throttled-load.cgi issue on range support
+        https://bugs.webkit.org/show_bug.cgi?id=120219
+
+        Reviewed by Eric Carlson.
+
+        Properly count bytes when handling range requests.
+
+        * http/tests/media/video-throttled-load.cgi:
+
 2013-08-23  Alexey Proskuryakov  <ap@apple.com>
 
         http/tests/cache/partitioned-cache.html breaks subsequent cookie tests
index e298bcbdfc8c272fac2a952a45957d323ca0ecdb..79739534d7331109e3de2f5e3047fa1f8808e3b8 100755 (executable)
@@ -66,7 +66,7 @@ print "\n";
 open FILE, $name or die;
 binmode FILE;
 my ($data, $n);
-my $total = 0;
+my $total = $parsedRange[0];
 
 seek(FILE, $parsedRange[0], 0);