Do not send TIME_TO_FIRST_INTERACTION_MS from cross process iframes
Categories
(Core :: General, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(1 file)
Bug 1650981 - Send TIME_TO_FIRST_INTERACTION_MS only from the top level content. r?#layout-reviewers
(deleted),
text/x-phabricator-request
|
Details |
In nsPresContext::RecordInteractionTime (which is a function to generate TIME_TO_FIRST_INTERACTION_MS) uses GetToplevelContentDocumentPresContext, in cross-process documents, GetToplevelContentDocumentPresContext doesn't return the top level content document's pres context, it returns in-process top level one. So for example, document A -> document B, and they are different origin, B's GetToplevelContentDocumentPresContext is the B's pres context, not A's. That means we send the telemetry data from cross-process iframes. (That said, I've never confirmed it)
Comment 1•4 years ago
|
||
Hiro, will you be able to fix this?
Comment 2•4 years ago
|
||
Does this bug cause users to report incorrect TIME_TO_FIRST_INTERACTION_MS telemetry data?
Assignee | ||
Comment 3•4 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #2)
Does this bug cause users to report incorrect TIME_TO_FIRST_INTERACTION_MS telemetry data?
Yes, I believe so.
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Description
•