Closed Bug 1593018 Opened 5 years ago Closed 5 years ago

The Sponsored card and Text Promo are wrongly dismissed when any Dismiss/ Save to Pocket, Bookmark actions are taken

Categories

(Firefox :: New Tab Page, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 72
Iteration:
72.1 - Oct 21 - Nov 3
Tracking Status
firefox-esr68 --- unaffected
firefox70 --- unaffected
firefox71 + verified
firefox72 + verified

People

(Reporter: acupsa, Assigned: thecount)

References

(Regression)

Details

(Keywords: github-merged, regression)

Attachments

(3 files)

[Affected versions]:

  • Firefox Beta 71.0b5, Build ID: 20191028110005
  • Firefox Nightly 72.0a1, Build ID: 20191031095309

[Affected Platforms]:

  • All Windows
  • All Mac
  • All Linux

[Prerequisites]:

  • Have the following preferences set:
  • browser.search.region to US
  • browser.newtabpage.activity-stream.asrouter.devtoolsEnabled to true
  • browser.newtabpage.activity-stream.discoverystream.enabled to true
  • browser.newtabpage.activity-stream.discoverystream.endpoints to https://,http://
  • browser.newtabpage.activity-stream.discoverystream.config to
    {"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":false,"layout_endpoint":"https://5ad1b408-b40a-4a49-b6ec-27473d192df0.mock.pstmn.io"}

[Steps to reproduce]:

  1. Open the browser with the profile from the prerequisites.
  2. Open a new tab.
  3. Click the Context Menu button from any top site.
  4. Click on the Dismiss button.
  5. Observe the Sponsored Top Site and Text Promo section.

[Expected result]:

  • The Sponsored Top Site and Text Promo section are still displayed.

[Actual result]:

  • The Sponsored Top Site and Text Promo section are no longer displayed.

[Regression Range]:

It looks like this issue was introduced with this export.

[Notes]:

  • This issue is reproducible when taking any of the following actions:
  • Dismissing any card from the Topsite, Recommended by Pocket and Highlights section
  • Bookmarking any card from the Recommended by Pocket and Highlights section
  • Saving to Pocket any card from the Recommended by Pocket and Highlights section
  • Bookmarking or removing a bookmark from any other website while not being on the about:newtab page.
  • Bookmarking or removing a bookmark from any other website while not being on the about:newtab page.
  • I haven't been able to check if this behavior is also reproducible for the Archive to Pocket, Save to Pocket and Remove Bookmark actions as I encountered this issue where the status of the card is lost after a restart.
  • Attached a screen recording with the issue.

@Ed, could you please take a look at this?

Flags: needinfo?(edilee)

NI'ing Scott to look into it too. Thanks y'all!

Flags: needinfo?(sdowne)

Got a fix incoming. Thanks for finding this!

Flags: needinfo?(sdowne)

[Tracking Requested - why for this release]:

Assignee: nobody → sdowne

[Tracking Requested - why for this release]: Bug blocks future experiments for potential revenue features.

When should we expect this change to merge to central?

Flags: needinfo?(sdowne)

I'm hoping to have the export request in today.

Flags: needinfo?(sdowne)
Blocks: 1594541
Status: NEW → RESOLVED
Iteration: --- → 72.1 - Oct 21 - Nov 3
Closed: 5 years ago
Keywords: github-merged
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72

This is in nightly now and someone will request uplift after verification

Flags: needinfo?(edilee)

I have verified this issue and is no longer reproducible on the Latest Firefox Nightly 72.0a1 (Build ID: 20191110095330) on Windows 10 x64, Mac 10.14.6 and Arch Linux.
I have verified that the "Text Promo" section and the sponsored Top Site is not dismissed when taking the following actions:

  • Dismissing any card from the Topsite, Recommended by Pocket and Highlights section.
  • Bookmarking any card from the Recommended by Pocket and Highlights section.
  • Saving to Pocket any card from the Recommended by Pocket and Highlights section.
  • Bookmarking or removing a bookmark from any other website while not being on the about:newtab page.
  • Bookmarking or removing a bookmark from any other website while not being on the about:newtab page.
Status: RESOLVED → VERIFIED

Comment on attachment 9108489 [details]
Bug 1593018 - The Sponsored card and Text Promo are wrongly dismissed when any Dismiss/ Save to Pocket, Bookmark actions are taken

Beta/Release Uplift Approval Request

  • User impact if declined: Potential revenue loss from non intended sponsored content dismissal.

  • Is this code covered by automated tests?: Yes

  • Has the fix been verified in Nightly?: Yes

  • Needs manual test from QE?: Yes

  • If yes, steps to reproduce:
    [Prerequisites]:

    Have the following preferences set:
    browser.search.region to US
    browser.newtabpage.activity-stream.asrouter.devtoolsEnabled to true
    browser.newtabpage.activity-stream.discoverystream.enabled to true
    browser.newtabpage.activity-stream.discoverystream.endpoints to https://,http://
    browser.newtabpage.activity-stream.discoverystream.config to
    {"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":false,"layout_endpoint":"https://5ad1b408-b40a-4a49-b6ec-27473d192df0.mock.pstmn.io"}

[Steps to reproduce]:
Open the browser with the profile from the prerequisites.
Open a new tab.
Click the Context Menu button from any top site.
Click on the Dismiss button.
Observe the Sponsored Top Site and Text Promo section.
[Expected result]:
The Sponsored Top Site and Text Promo section are still displayed.
[Actual result]:
The Sponsored Top Site and Text Promo section are no longer displayed.

  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It's 1 line and been verified and was caused by a regression (so it was, before the regression, already shipped)
  • String changes made/needed: none
Attachment #9108489 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Comment on attachment 9108489 [details]
Bug 1593018 - The Sponsored card and Text Promo are wrongly dismissed when any Dismiss/ Save to Pocket, Bookmark actions are taken

P1, has tests and was verified by QA on Nightly, uplift approved for 71 beta 11, thanks.

Attachment #9108489 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified this issue and is no longer reproducible on the Latest Firefox Beta 71.0b11 (Build ID: 20191118154140) on Windows 10 x64, Mac 10.14.6 and Debian 9.
I have verified that the "Text Promo" section and the sponsored Top Site is not dismissed when taking the following actions:

  • Dismissing any card from the Topsite, Recommended by Pocket and Highlights section.
  • Bookmarking any card from the Recommended by Pocket and Highlights section.
  • Saving to Pocket any card from the Recommended by Pocket and Highlights section.
  • Bookmarking or removing a bookmark from any other website while not being on the about:newtab page.
  • Bookmarking or removing a bookmark from any other website while not being on the about:newtab page.
Flags: qe-verify+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: