Bug 1686930 Comment 13 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Benoit Girard (:BenWa) from comment #5)
> The code in question does `performance.getEntriesByName(url, 'resource').reduce(...)` and it looks for the max entry by responseEnd that matches a url.

Is it possible that the `reduce` callback function is checking responseEnd even for entries which don't match the URL?
(In reply to Benoit Girard (:BenWa) from comment #5)
> The code in question does `performance.getEntriesByName(url, 'resource').reduce(...)` and it looks for the max entry by responseEnd that matches a url.

Is it possible that the `reduce` callback function is accessing responseEnd even for entries which don't match the URL?

Back to Bug 1686930 Comment 13