The in-content "Search bar" placeholder is no longer displayed if the “about:privatebrowsing” page is refreshed after the “Get Firefox Focus” spotlight modal is triggered
Categories
(Firefox :: Messaging System, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | unaffected |
firefox99 | --- | unaffected |
firefox100 | --- | verified |
People
(Reporter: srosu, Assigned: mviar)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
[Notes]:
- I also observed that the “Private Browsing” tab title changes in the “about:privatebrowsing#” name if the page is refreshed after the “Get Firefox Focus” spotlight modal was opened.
[Affected versions]:
- Firefox Nightly 100.0a1 (Build ID: 20220320213921)
[Affected Platforms]:
- macOS 11.6
- Windows 10 x64
- Ubuntu 20.04 x64
[Prerequisites]:
- Have the Firefox browser installed and opened.
- Have the “browser.search.region” pref set to “US”.
[Steps to reproduce]:
- Restart the browser and open a new private window. (Ctrl+Shift+P)
- Click the “Download Firefox Focus” button from the “Firefox Focus” promo message.
- Refresh the page.
- Observe the Search Bar.
[Expected result]:
- The Search Bar is correctly displayed and contains a placeholder.
[Actual result]:
- The Search bar placeholder text is missing.
[Additional notes]:
- This issue is still reproducible after a page refresh.
- This issue is reproducible with all of the Search engines.
- This issue is no longer reproducible when opening a new private tab.
- Attached is a screen recording of the issue.
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
If the PBM page is refreshed after the Spotlight dialog is shown and dismissed, _isAboutPrivateBrowsing
is set to false here in ContentSearchHandoff.js, causing the wrong strings to be selected on update. Fluent can't find those messages, so the search bar shows no text.
The problem originates here in ContentSearchParent.jsm where the current URI spec is about:privatebrowsing#
after the refresh. The trailing hash results in isInPrivateBrowsingMode
being set to false.
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Comment 5•3 years ago
|
||
bugherder |
Reporter | ||
Comment 6•3 years ago
•
|
||
I‘ve verified this issue using the latest Firefox Nightly 100.0a1 (Build ID: 20220324093615) on Windows 10 x64, macOS 11.6, and Ubuntu 20.04.
- The in-content "Search bar" placeholder text remains displayed if the “about:privatebrowsing” page is refreshed after the “Get Firefox Focus” spotlight modal is triggered.
Description
•