Skip to content

Resource timing entries are never added to the performance entry buffer #23328

@jdm

Description

@jdm

NetworkListener::submit_timing has this code:

    global
        .performance()
        .queue_entry(performance_entry.upcast::<PerformanceEntry>(), false);

The false means "do not add this performance entry to the performance entry buffer". This means that any JS code that uses performance.getEntries, or performance.getEntriesByType or performance.getEntriesByName will never observe this resource timing information. I filed w3c/performance-timeline#128 to clarify when this flag is actually supposed to be true; in the short term it might make sense to pass true instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions