question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some cross-frame requests never receive Network.loadingFinished events

See original GitHub issue

Provide the steps to reproduce

  1. Run LH on https://www.oyorooms.com/us/

What is the current behavior?

No Network.loadingFinished event for https://facebook.com/tr Document request will be in the devtools log.

What is the expected behavior?

https://facebook.com/tr has a Network.loadingFinished event.

Discovered while investigating https://github.com/GoogleChrome/lighthouse/issues/11849. The implications for this are that with enough of these requests (3 or more) Lighthouse will timeout while waiting for the page to load.

Environment Information

  • Affected Channels: all
  • Lighthouse version: all

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:16

github_iconTop GitHub Comments

1reaction
patrickhulcecommented, Aug 26, 2021

I was running with all throttling disabled.

All throttling disabled is the same case as applied throttling, Lighthouse operating in “observed” metrics mode, so that would fall into the 5.25s of quiet.

1reaction
patrickhulcecommented, Aug 25, 2021

Great to hear! Would networkIdleIgnoredUrlPatterns be a good name for this setting or do you have something better in mind?

Oh sorry for the miscommunication, by “that” I meant the “workaround for iframe document requests to mark as finished when we receive the response”. We don’t want to optionally exclude network idle requests just yet due to the standard definition we follow for TTI and TBT which do not have this concept in other tooling.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DevTools: Network.loadingFinished is never dispatched for ...
loadingFinished event is never dispatched for fetch requests that don't request their ... we cannot assume any URLRequest got to the end.
Read more >
Network domain - Chrome DevTools Protocol - GitHub Pages
Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers ......
Read more >
selenium webdriver - Does `Network.loadingFinished` event ...
I am trying to using Selenium to analyse the performance of certain pages. I have a question about the Network events. When a...
Read more >
The power of Chrome Devtools Protocol - Network domain
We will be recording some requests based on a Google search. ... which will be used to convert network events into a readable...
Read more >
Remote Debugging - issues with Network.getResponseBody
loadedEventFired. If I modify my code to request the body of each resource immediately after I receive the Network.loadingFinished for that resource, a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found