Closed Bug 1925088 Opened 4 months ago Closed 2 months ago

[WebCompat Reporter] Call the GeckoView API and implement the Glean Metrics for submitting the report

Categories

(Fenix :: General, task, P1)

All
Android
task

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: 007, Assigned: npoon)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group4] )

Attachments

(4 files, 1 obsolete file)

This ticket should wait until Bug 1921885 exposes the Gecko data we need, so we only report the data we need/have access to.

Depends on: 1921885
Assignee: nobody → npoon
Status: NEW → ASSIGNED

Updating the tasks for this ticket:

  • This ticket will now include tasks from Bug 1925099. We will call getWebCompatInfo from GeckoView, put the retrieved information into the corresponding ping metric, and submit the ping.
  • We are awaiting input from UX about error states - what happens if there is no internet connection for example?
  • Since there is a URL field retrieved from the GV call and also a URL field that the user can change, we want to ignore the GV URL field and use the URL field submitted from the form. The form's URL field gets prepopulated but the user could have opened the reporter with the wrong tab (or had nagivated away from the page since). It's also possible that they want to strip out sensitive bits of the URL.
  • Some additional behaviour is that if the user changes the URL from the original URL in any way, we don't want to submit the tab specific data associated with the GV call. (Note that this logic could be changed if we come up with a better approach since it's possible that the user is just stripping out sensitive bits of the URL and not reporting a "different" URL)
Summary: [WebCompat Reporter] Implement the Glean API/Metric for submitting the report → [WebCompat Reporter] Call the GeckoView API and implement the Glean Metrics for submitting the report
Blocks: 1925090
Attachment #9440557 - Attachment description: Bug 1925088 - Call the GeckoView API and implement the Glean Metrics for submitting the WebCompat report → Bug 1925088 - Part 2: Call the GeckoView API and implement the Glean Metrics for submitting the WebCompat report
Attachment #9440557 - Attachment description: Bug 1925088 - Part 2: Call the GeckoView API and implement the Glean Metrics for submitting the WebCompat report → Bug 1925088 - Part 3: Call the GeckoView API and implement the behaviour for submitting the WebCompat report
Attachment #9443560 - Attachment description: Bug 1925088 - Part 2: Implement the Glean Metrics for submitting the WebCompat report → Bug 1925088 - Part 2: Implement the highly sensitive Glean Metrics for submitting the WebCompat report
Attachment #9443858 - Flags: data-review?(jhirsch)

Note that all of the metrics that I am adding to fenix have already been approved for desktop so I have attached the desktop approval form as well

Pushed by npoon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6687b49ed72f Part 1: Refactor the WebCompat store and middlewares into the same package r=android-reviewers,007
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Comment on attachment 9443858 [details]
WebCompat Reporter - Request for data collection review form.txt

Remove the need to do data review here. The sensitive data has been reviewed in Phabricator
https://phabricator.services.mozilla.com/D232122#8037249

Attachment #9443858 - Flags: data-review?(jhirsch)
Attachment #9443858 - Attachment is obsolete: true
Blocks: 1938263
Pushed by npoon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8024b5b1106b Part 2: Implement the highly sensitive Glean Metrics for submitting the WebCompat report r=android-reviewers,data-stewards,TravisLong,tthibaud https://hg.mozilla.org/integration/autoland/rev/12a1480b1a41 Part 3: Call the GeckoView API and implement the behaviour for submitting the WebCompat report r=android-reviewers,twisniewski,rsainani
Regressions: 1940030
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: