-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix networkIdle waitUntil option for load
When a site that is navigated to emits a DOMContentLoaded well before load, this is a signal that we're waiting on assets to load over the network. In such a case (e.g. navigating to google.com) when we goto with waitUntil = networkIdle, due to how we handle such lifecycle events, we end up in a situation where the networkIdle event is ignored. This change ensure that we action on these events too. Partly fixes: https://github.com/orgs/grafana/projects/80/views/14
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters