Bug 1845598 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

When the sidebar header dismiss button (the 'X' button) is clicked, we want to hide all sidebars, same behavior as toggling the page action button.

To do this, we'll want to fire a CustomEvent up to the parent, which can then flip the value of the `browser.shopping.experience2023.active` pref (which will be added in Bug 1840156).

This same path up to the parent may be reused by the OMC team's onboarding code to handle the "not now" button clicks--TBD (bug 1842069).
When the sidebar header dismiss button (the 'X' button) is clicked, we want to hide all sidebars, same behavior as toggling the page action button.

To do this, we'll want to call `RPMSetPref` to flip the value of the `browser.shopping.experience2023.active` pref (which was added in Bug 1840156).

Back to Bug 1845598 Comment 0