[webkit-reviews] review requested: [Bug 15055] Divide by 0 in ProgressTracker::incrementProgress : [Attachment 16204] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 6 14:52:46 PST 2007

Marvin Decker <marv.decker at gmail.com> has asked  for review:
Bug 15055: Divide by 0 in ProgressTracker::incrementProgress

Attachment 16204: Patch

------- Additional Comments from Marvin Decker <marv.decker at gmail.com>
I don't think it's possible to write a test very easily. I think this would
depend on the reported length from the server being wrong (maybe possible to
test) and also that the packets arrive and WebKit does processing such that the
size of the amount received is exactly the same as the predicted amount,
without being complete.

Feel free to suggest a way if you know. I don't know any PHP and I've never
written an HTTP test, so there could be something I don't know.

More information about the webkit-reviews mailing list