Closed Bug 1779654 Opened 2 years ago Closed 2 years ago

[PBM] Add SpecialMessageAction BLOCK_MESSAGE that allows to block message

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
104 Branch
Iteration:
104.2 - July 11 - July 22
Tracking Status
firefox104 --- verified
firefox105 --- verified

People

(Reporter: pdahiya, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Scope of this bug is to add Special Message Action that blocks a message by id. We can block multiple messages by using BLOCK_MESSAGE call multiple times inside MULTI_ACTION

Its first use case will be in about:privatebrowsing where we want to hide Pin promo on current and preloaded tab after user clicks primary CTA 'Pin to taskbar'

      case "BLOCK_MESSAGE":
        await this.blockMessageById([
           message_id
        ]);
        break;
Summary: [PBM] Add SpecialMessageAction DISABLE_MESSAGES that allows to block multiple messages → [PBM] Add SpecialMessageAction BLOCK_MESSAGES that allows to block multiple messages
Assignee: nobody → pdahiya
Iteration: --- → 104.2 - July 11 - July 22
Priority: -- → P1
Summary: [PBM] Add SpecialMessageAction BLOCK_MESSAGES that allows to block multiple messages → [PBM] Add SpecialMessageAction BLOCK_MESSAGE that allows to block message
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85390af1f767 Add SpecialMessageAction BLOCK_MESSAGE that allows to block message r=jprickett
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch

I‘ve verified this enhancement using the steps from the Test Plan on the latest Firefox Nightly 105.0a1 (Build ID: 20220815214739) on Windows 10 x64.

  • If the 'browser.promo.pin.enabled' pref is set to true, the Pin promo message is displayed on about:privatebrowsing.
  • The Pin promo message is no longer displayed on about:privatebrowsing after clicking the “Pin to taskbar” button, and the “PB_NEWTAB_PIN_PROMO” message is blocked on the ASRouter devtool.
Status: RESOLVED → VERIFIED

I’m also marking this as Verified on 104 since this enhancement was part of the work done on QA-1577, for which we sent a green sign-off.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: