You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Running with Default Settings (transferSize undefined) #71
Which browser/version and page origin reproduce this? performance.getEntriesByName() can return no resource-timing entry when timing data is unavailable or the response lacks the required cross-origin exposure, so the code needs to handle undefined before reading transferSize. A fallback must be chosen carefully—known request bytes or encodedBodySize have different cache/compression semantics—so reporting the measurement as unavailable may be more accurate than substituting zero.
Activity
hiSandog commentedon Jul 15, 2026
Which browser/version and page origin reproduce this?
performance.getEntriesByName()can return no resource-timing entry when timing data is unavailable or the response lacks the required cross-origin exposure, so the code needs to handleundefinedbefore readingtransferSize. A fallback must be chosen carefully—known request bytes orencodedBodySizehave different cache/compression semantics—so reporting the measurement as unavailable may be more accurate than substituting zero.