mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.2k stars 2.92k forks source link

[Focus] Enable debug view does not work properly #21660

Open nicholaspoon03 opened 1 month ago

nicholaspoon03 commented 1 month ago

Steps to reproduce

  1. Enable internal settings
  2. Click on telemetry
  3. Enter a debug view tag and toggle "Enable Debug View"
  4. Restart the app and click into the telemetry internal settings again. Notice that the debug view tag is prefilled with what it was before.
  5. Click on "Open Debug View (In Default Browser)"

Expected behavior

From AppDelegate.swift, we can see that enabling the debug view should result in the Glean Debug View being opened with the provided debug view tag. I'm not sure whether this should be happening once the tool has been opened or once the user clicks on "Open Debug View (In Default Browser)". In this case, the link should be this.

Actual behavior

Clicking "Open Debug View (In Default Browser)" just links to the debug view home page. When the tool is opened, nothing happens.

Device & build information

Notes

Attachments: https://github.com/user-attachments/assets/f4050f58-a334-4481-bafa-006d780f08fb

┆Issue is synchronized with this Jira Task

nbhasin2 commented 1 month ago

@razvanlitianu could I request you checking out if this is actually a case for Focus? Thanks!