The invalid webextension telemetry is incorrectly reported for search engines with post data
Categories
(Firefox :: Search, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox123 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
I noticed that a couple of weeks ago there was a bump in telemetry where some add-on installed search engines were showing as having parameters that didn't match the installed add-on.
On investigation, it appears that an add-on incorrectly set search_url_post_params and later reverted it. However, we shouldn't have reported issues as the parameters should have been updated correctly.
Looking at the code, we are doing an equality match on two objects, which is wrong as they are created separately.
What we should be doing is a match against the data - existingSubmission.postData.data.data == newSubmission.postData.data.data.
We should fix that and add some tests to test_webextensions_valid.js that check post data based add-ons.
I suspect this won't affect the telemetry counts much, as search engines using post parameters are quite rare, however it would still be good to fix to get more accurate data.
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
Description
•