Closed
Bug 1878062
Opened 1 year ago
Closed 1 year ago
For tracked SPAs, accurately remove listeners from the content process and content specific engagements that cause search page changes
Categories
(Firefox :: Search, task, P1)
Firefox
Search
Tracking
()
RESOLVED
FIXED
124 Branch
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: jteow, Assigned: jteow)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
While smoke testing the SPA patch, there were a couple errors I didn't notice related to the content process:
-
In SearchSERPTelemetryChild,
addEventListenerToElementsdoesn't just get called once per page load, so clobbering a possible existingWeakMapvalue will result in some listeners not being unloaded when manually tasked to do so. -
If we register a click event in the content process that we want to take precedence over information sent in the network, namely clicking an auto-suggested term or submitting the search, a check for an engagement will occur before the message from the child is sent.
We could first check if a submitted event was sent in the document, at which point we should not register an additional event.
| Assignee | ||
Updated•1 year ago
|
Whiteboard: [sng]
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Pushed by jteow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5fd4633cdd0b
Check for a possible content process event before manually registering an engagement event - r=scunnane
Comment 3•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•