Closed Bug 1964370 Opened 1 year ago Closed 1 year ago

The options from the "Why Are You Reporting This?" dialogs are interconnected

Categories

(Firefox :: New Tab Page, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
140 Branch
Tracking Status
firefox138 --- unaffected
firefox139 --- wontfix
firefox140 --- verified

People

(Reporter: srosu, Assigned: rhamoui)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image rec_of_the_issue.gif —

[Affected versions]:

  • Firefox Nightly 140.0a1 (Build ID: 20250502094430)
  • Firefox Beta 139.0b3 (Build ID: 20250502090704)

[Affected Platforms]:

  • Windows 10 x64
  • macOS 14.7.1
  • Ubuntu 24.04

[Prerequisites]:

  • Have the latest version of the Firefox Nightly 140.0a1 build installed/extracted and opened.
  • Have the following prefs set in the “about:config” page:
    • browser.search.region set to US
    • browser.newtabpage.activity-stream.discoverystream.reportAds.enabled set to true
    • browser.newtabpage.activity-stream.discoverystream.sections.enabled set to true

[Steps to reproduce]:

  1. Restart the browser and open a new tab.
  2. Hover over any non-sponsored card from the new tab page and click the 3 dots context menu.
  3. Select the "Report this content" option.
  4. Select the first option from the "Why are you reporting this?" dialog box and click the "Submit" button.
  5. Hover over any sponsored card from the new tab page and click the 3 dots context menu.
  6. Select the "Report this ad" option.
  7. Observe the options from the "Why are you reporting this?" dialog box.

[Expected result]:

  • No option is selected.

[Actual result]:

  • The first option is selected.

[Notes]:

  • This issue is not reproducible when the fourth option is selected as the "Why Are You Reporting This?" dialog of the ads contains only 3 options.
  • This issue is also reproducible between the "Why Are You Reporting This?" dialogs of the non-sponsored cards.
  • This issue is also reproducible between the "Why Are You Reporting This?" dialogs of the ads.
  • This issue is not reproducible if a page refresh is made after closing the first dialog.
  • Attached is a screen recording of the issue.

We have encountered a new behavior that is caused by this issue:

  • A “new tab” event containing a wrong “report_reason” key specific to the “Report this ad” dialog box is registered after canceling/submitting a report of any ad with any option selected, and submitting a report of a non-sponsored card with the pre-selected option.
  • This behavior occurs with any pre-selected option.
  • This is a link to the generated event.

Due to this behavior, I am adjusting the severity of this issue to S3.

Severity: S4 → S3
Assignee: nobody → rhamoui
Status: NEW → ASSIGNED
Pushed by rhamoui@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfa036a2541d Clear checked radio button after reporting modal closes. r=home-newtab-reviewers,npypchenko
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch

I have verified this issue using the latest Firefox Nightly 140.0a1 (Build ID: 20250512213630) build on Windows 10 x64, macOS 14.7.1, and Ubuntu 24.04.1.

  • The options from the 'Why Are You Reporting This?' dialogs are no longer interconnected on non-sponsored and ad cards.
  • No telemetry is registered after submitting a report of an ad.
Status: RESOLVED → VERIFIED

The patch landed in nightly and beta is affected.
:rhamoui, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(rhamoui)
Flags: needinfo?(rhamoui)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: