Random record topsite doesn't generate "telemetry and attribution" ping after restart
Categories
(Firefox :: Top Sites, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | - | wontfix |
firefox82 | --- | wontfix |
People
(Reporter: aflorinescu, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
579 bytes,
text/javascript
|
Details |
[Tracking Requested - why for this release]:
Random topsite refuses to send telemetry and attribution after restart.
[Suggested Severity:]
S1/S2
[Description:]
Main-preview environment on Kinto staging. After multiple tests and edits, I ended up with a record that still reproduces bug 1664203.
The record has been multiple times edited with no issue, but when I ended up re-verifying the timestamp bug 1665757, I realized out of the 4 attribution enabled topsites, only this one would refuse to send telemetry events and attribution request.
This is especially weird since this is a simple standard engine: amazon.de, with nothing special, like a timestamp.
Adding user.js for ease of reproducing. (you need env. variable for non-nightly versions XPCSHELL_TEST_PROFILE_DIR=foo)
Note that verifying the RS pipeline in Firefox lists the right RS topsites synced.
[Environment:]
dao's nightly try build (82 Nightly + fixes):
ryan's RC2 trybuild (RC2+ fixes)
Windows 10
Ubuntu 20.04
[Steps:]
- Open a terminal for non-nightly versions.
- export XPCSHELL_TEST_PROFILE_DIR=foo
- Create a profile and add the attached user.js
- Open browser console, enable XHR.
- New tab and click on amazon.de, example.com, baidu.com and abc.com
- Restart.
- New tab and click on amazon.de, example.com, baidu.com and abc.com
[Actual Result:]
- 4 XHR requests to https://topsites.services.mozilla.com/cid/amzn_2020_a1
- 3 XHR request to https://topsites.services.mozilla.com/cid/amzn_2020_a1
Clicking again the amazon.de tile will not generate any telemetry or attribution ping.
[Expected Result:]
- 4 XHR requests to https://topsites.services.mozilla.com/cid/amzn_2020_a1
- 4 XHR requests to https://topsites.services.mozilla.com/cid/amzn_2020_a1
Clicking again the amazon.de tile will generate telemetry or attribution ping.
Comment 1•4 years ago
|
||
This is because your RS URLs didn't end with a slash and therefore don't match the URLs recorded in history. I think this is something we just need to handle carefully in the top sites collection rather than working around it in product.
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #1)
This is because your RS URLs didn't end with a slash and therefore don't match the URLs recorded in history. I think this is something we just need to handle carefully in the top sites collection rather than working around it in product.
Indeed, thanks! Adding the / to the URL name fixed the telemetry/attribution problem.
Description
•