Verified Commit cfbe4af2 authored by Aral Balkan's avatar Aral Balkan
Browse files

Now checking and handling undefined size values in HARs

The HARs generated by Chrome HAR Capturer can have undefined
size values. These are now translated to 0 size values.
parent 51bac53c
......@@ -24,6 +24,9 @@ class Aggregator
add: (value) =>
value = 0 if value == undefined
@total.value += value
@average.value = @total.value / @count
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment