**[Affected versions]:** - Firefox Beta 93.0b5 (Build ID: 20210914185637) - Firefox Nightly 94.0a1 (Build ID: 20210913213224) **[Affected Platforms]:** - Windows 10 x64; - macOS 10.15.7; - Linux Ubuntu 20.04 x64; **[Prerequisites]:** - Have the Session restore enabled. - Have the “about:preferences” page displayed, with other than Privacy pane displayed (e.g. “Home”). - Set the region to US by running the following snippet in the Browser Console: (function(){ let home = "US"; Cu.import("resource://gre/modules/Region.jsm"); Region._setHomeRegion(home, false); console.log(`Home region is now:`, Region.home); })(); **[Steps to reproduce]:** 1. Open the Firefox browser. 2. Set the following preferences: `browser.urlbar.quicksuggest.enabled`: `true` `browser.urlbar.quicksuggest.scenario`: `online` `browser.urlbar.quicksuggest.shouldShowOnboardingDialog`: `true` `browser.urlbar.suggest.quicksuggest`: `false` `browser.urlbar.suggest.quicksuggest.sponsored`: `false` 3. Restart the browser. 4. Click the “Customize in settings” button from the Onboarding modal. 5. Observe what happens next. **[Expected result]:** - The user is redirected to the already opened “about:preferences” page, with the Privacy pane in focus, Address Bar - Firefox Suggest section is highlighted. **[Actual result]:** - The user is redirected to the already opened “about:preferences” page, with the previously selected pane in focus. **[Notes]:** - The following errors are displayed in the Browser Console when clicking the “Customize in settings” button from the Onboarding modal: **Nightly** `[bug 1345098] Lazy browser prematurely inserted via 'loadURI' property access: getter@chrome://browser/content/tabbrowser.js:2271:39 switchIfURIInWindow@chrome://browser/content/browser.js:8620:11 switchToTabHavingURI@chrome://browser/content/browser.js:8643:26 openPreferences@chrome://browser/content/utilityOverlay.js:1045:20 maybeShowOnboardingDialog@resource:///modules/UrlbarQuickSuggest.jsm:265:11` `Uncaught (in promise) TypeError: can't access property "readyState", browser.contentDocument is null openPreferences chrome://browser/content/utilityOverlay.js:1064 maybeShowOnboardingDialog resource:///modules/UrlbarQuickSuggest.jsm:265l` **Beta** `TypeError: browser.contentWindow.gotoPref is not a functionutilityOverlay.js:1064:27` - Attached is a screen recording of the issue.
Bug 1731104 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.
**[Affected versions]:** - Firefox Beta 93.0b5 (Build ID: 20210914185637) - Firefox Nightly 94.0a1 (Build ID: 20210916125444) **[Affected Platforms]:** - Windows 10 x64; - macOS 10.15.7; - Linux Ubuntu 20.04 x64; **[Prerequisites]:** - Have the Session restore enabled. - Have the “about:preferences” page displayed, with other than Privacy pane displayed (e.g. “Home”). - Set the region to US by running the following snippet in the Browser Console: (function(){ let home = "US"; Cu.import("resource://gre/modules/Region.jsm"); Region._setHomeRegion(home, false); console.log(`Home region is now:`, Region.home); })(); **[Steps to reproduce]:** 1. Open the Firefox browser. 2. Set the following preferences: `browser.urlbar.quicksuggest.enabled`: `true` `browser.urlbar.quicksuggest.scenario`: `online` `browser.urlbar.quicksuggest.shouldShowOnboardingDialog`: `true` `browser.urlbar.suggest.quicksuggest`: `false` `browser.urlbar.suggest.quicksuggest.sponsored`: `false` 3. Restart the browser. 4. Click the “Customize in settings” button from the Onboarding modal. 5. Observe what happens next. **[Expected result]:** - The user is redirected to the already opened “about:preferences” page, with the Privacy pane in focus, Address Bar - Firefox Suggest section is highlighted. **[Actual result]:** - The user is redirected to the already opened “about:preferences” page, with the previously selected pane in focus. **[Notes]:** - The following errors are displayed in the Browser Console when clicking the “Customize in settings” button from the Onboarding modal: **Nightly** `[bug 1345098] Lazy browser prematurely inserted via 'loadURI' property access: getter@chrome://browser/content/tabbrowser.js:2271:39 switchIfURIInWindow@chrome://browser/content/browser.js:8620:11 switchToTabHavingURI@chrome://browser/content/browser.js:8643:26 openPreferences@chrome://browser/content/utilityOverlay.js:1045:20 maybeShowOnboardingDialog@resource:///modules/UrlbarQuickSuggest.jsm:265:11` `Uncaught (in promise) TypeError: can't access property "readyState", browser.contentDocument is null openPreferences chrome://browser/content/utilityOverlay.js:1064 maybeShowOnboardingDialog resource:///modules/UrlbarQuickSuggest.jsm:265l` **Beta** `TypeError: browser.contentWindow.gotoPref is not a functionutilityOverlay.js:1064:27` - Attached is a screen recording of the issue.