Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Walk iFrames #4

Open
pmeenan opened this issue Oct 2, 2014 · 0 comments
Open

Walk iFrames #4

pmeenan opened this issue Oct 2, 2014 · 0 comments

Comments

@pmeenan
Copy link
Contributor

pmeenan commented Oct 2, 2014

Right now the algorithm doesn't include any iFrames on the page. We can add timing for any iframes that are not blocked by security restrictions:

  • Modify the RUMSpeedIndex function to take a window to operate on (default to the top-level window if not specified)
  • Enumerate any visible iFrames, record their visible area and run RUMSpeedIndex on the iFrame
  • Add the iFrame speed index as a paint time for the area of the iFrame (Speed Index is effectively the average paint time)

This should recursively walk frames regardless of how deep they are nested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant