Skip to content

Bug: Running with Default Settings (transferSize undefined) #71

Closed

Description

@xiliourt
Error fetching https://speed.cloudflare.com/__down?bytes=100000: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?during=download&bytes=0: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?bytes=0: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?bytes=100000: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?during=download&bytes=0: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?bytes=1000000: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?during=download&bytes=0: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__up?: TypeError: Cannot read properties of undefined (reading 'transferSize')
Error fetching https://speed.cloudflare.com/__down?during=upload&bytes=0: TypeError: Cannot read properties of undefined (reading 'transferSize')

Activity

  1. hiSandog commented on Jul 15, 2026

    @hiSandog

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions