You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I'm going to try replacing calls to Page.getResourceTree with Page.getFrameTree to get the main frame id. If the error persists I'll try tracking the main frame id via Page.frameNavigated events which we are already tracking in both files.
Examples:
https://github.com/GoogleChrome/lighthouse/actions/runs/3886546524/jobs/6632091706
https://github.com/GoogleChrome/lighthouse/actions/runs/3887332794/jobs/6633815689
This only happens for legacy navigation. I also can't reproduce this outside of the DevTools e2e tests or on e2e tests locally.
These are the only places where
Page.getResourceTree
is called. We only call it to get the main frame id:lighthouse/core/gather/driver/execution-context.js
Line 64 in 437eb4d
lighthouse/core/gather/driver/network-monitor.js
Line 98 in 437eb4d
Perhaps we can avoid the error by getting the frame id using a different method.
Related:
#14660
The text was updated successfully, but these errors were encountered: