Fix usercharacteristics metrics that break on Fenix
Categories
(Core :: Privacy: Anti-Tracking, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: fkilic, Assigned: fkilic)
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Some data collection functions (screen properties and pointer event) crash Fenix and some don't finish/resolve (content page)
Assignee | ||
Comment 1•1 year ago
|
||
The previous implementaion used PointerEvent but that was being built from PointerEventHandler::InitPointerEventFrom(Mouse|Touch). The PointerEvent doesn't include the original event, so calling AsTouchEvent() caused failure. We now capture a widget event instead. It may seem like we lost some data, but actually those values were init'ed to 0. Now we collect only data that actually exists.
Assignee | ||
Comment 2•1 year ago
|
||
Times out data collections after 5 minutes. I changed all the functions to async to allow awaiting them. I also made FiraSans optional and fail silently if it doesn't exists i.e. on android it doesn't exists. This doesn't resolve Android data collection issue though, for some reason page service never resolves. I'll try to investigate it.
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
So far, pointer event and content page issue is resolved. Only screen properties is left.
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
Comment 8•1 year ago
|
||
Backed out for causing multiple failures.
- Push with failures - build bustages
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderWGL.cpp(475,8): error: no viable conversion from 'mozilla::CastableTypedEnumResult<CreateContextFlags>' to 'bool'
- Push with failures - leak failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | leakcheck | tab 232 bytes leaked (Mutex, StringBuffer, nsJSPrincipals, nsSimpleURI)
- Push with failures - reftests failures
- Failure Log
- Failure line: Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:3616
Updated•1 year ago
|
Assignee | ||
Comment 9•1 year ago
|
||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
Backed out for causing mochitests failures in browser_usercharacteristics.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | toolkit/components/resistfingerprinting/tests/browser/browser_usercharacteristics.js | Test timed out -
Assignee | ||
Comment 12•1 year ago
|
||
I have no idea why the timeout would happen since we didn't get them on try branch. I'll take a look into it. Thank you!
Comment 13•1 year ago
|
||
Comment 14•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0f8422a76c6c
https://hg.mozilla.org/mozilla-central/rev/3cea8e813f4c
https://hg.mozilla.org/mozilla-central/rev/e137cf3d18d1
https://hg.mozilla.org/mozilla-central/rev/c5b7a066c350
https://hg.mozilla.org/mozilla-central/rev/72fed4ba1558
https://hg.mozilla.org/mozilla-central/rev/0320eea43d38
Description
•