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

[ElementTiming] Add intersectionRect for text entries #17328

Merged
merged 1 commit into from Jun 17, 2019

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jun 13, 2019

This CL adds support for intersectionRect for PerformanceElementTiming
entries referring to text elements. The rect is different from the one
used by Largest Contentful Paint because it does not get projected to
the top-level frame, as that is not acceptable from security/privacy
perspective. However the rect is only computed when needed.

Bug: 942033, 969174
Change-Id: I1f09288b17a73c84daf8cc55996b78e44739a042
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1658630
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669777}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1658630 branch 3 times, most recently from 7c11a29 to bac7d4b Compare June 17, 2019 15:35
This CL adds support for intersectionRect for PerformanceElementTiming
entries referring to text elements. The rect is different from the one
used by Largest Contentful Paint because it does not get projected to
the top-level frame, as that is not acceptable from security/privacy
perspective. However the rect is only computed when needed.

Bug: 942033, 969174
Change-Id: I1f09288b17a73c84daf8cc55996b78e44739a042
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1658630
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669777}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants