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.
NetworkListener::submit_timing has this code:
The
falsemeans "do not add this performance entry to the performance entry buffer". This means that any JS code that usesperformance.getEntries, orperformance.getEntriesByTypeorperformance.getEntriesByNamewill 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.