av9ash/GitBugs huggingface dataset:
Bug: The content in print preview is very small and the scale settings does not work
Status: NEW
Priority: P3
Created: 2021-05-18 11:37:09+00:00
Resolved: 2022-10-14 10:14:57+00:00

**Affected versions**
- Firefox 89.0b13
- Firefox 90.0a1

**Affected platforms**
- Ubuntu 20.04
- macOS 11.3.1
- Windows 10

**Steps to reproduce**
1. Launch Firefox
2. Access this [pdf sample](http://www.africau.edu/images/default/sample.pdf)
3. Select print
4. Change the Scale value

**Expected result**
- The page is stretched and easily visible and the scale settings changes for each entered value

**Actual result**
- The content is very small and the scale settings does not work.

**Regression range**
- Seems to be a regression, a good build is from 2020-12-20, will see for an exact regression.

**Additional notes**
- The issue can be seen in the attachment
- This happens with old ui and new ui
Bug: The Icon and Text are misaligned on Notifications panels on zh-CN builds
Status: NEW
Priority: P2
Created: 2021-05-18 12:09:57+00:00
Resolved: 2021-06-22 17:51:37+00:00

[Affected versions]: 
89.0b13 
90.0a1 (2021-05-18)

[Affected platforms]:
Platforms: Ubuntu, Mac

[Steps to reproduce]

1. Launch a CN build of Firefox.
2. Trigger the Update available - download now notification panel.


[Expected result]
The Update available - download now text and Icon should be aligned on the Notification panel.

[Actual result]
The Icon and Text are a little misaligned on the notification panel. 
On Ubuntu is a lot more noticeable than Mac but even on Mac the Text is a pixel or two lower than it should be
Bug: The Library - Downloads option is too close to the bottom edge of the panel when the Library is pinned to overflow menu
Status: NEW
Priority: P2
Created: 2021-05-18 12:53:59+00:00
Resolved: 2021-07-12 12:13:50+00:00

#### Tested with:

Release 88
Beta 89.0b13
Nightly 90.0a1 (2021-05-18)
#### Tested on:

Windows 10
Ubuntu 20.04
macOS 11

#### Steps:

  1. Launch firefox and go to the customize toolbar .
  2. Add the Library to the overflow menu.
  3. Go to the toolbar overflow menu, click on the Library and hover the mouse cursor over the downloads.

#### Actual result:

The hover highlight is too close to the bottom edge (even slightly cut). 
#### Expected result:
There should be more space at the bottom edge of the Downloads option.
Bug: Proton: Color for urlbar , zoom and search mode indicator does not change in open and closed state
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2021-05-18 13:41:11+00:00
Resolved: 2021-05-18 14:15:28+00:00

**Affected**
Ubuntu 20 64bit

**Affected versions**
Firefox nightly 90.0a1
Firefox beta 89.0b13

**Preconditions**
Proton ON


**Steps to reproduce**
1. Launch Firefox brand new profile.
2. click on urlbar (open state)
3. click on a one off or zoom the page
3. click outside of urlbar (closed state)


**Actual result**
The color is not changing for open state and closed state, therefore the box colors for one-offs and zoom box is not changing either.
the screenshot attached was taken using the default system theme.

**expected result**
open and closed states have different color for urlbar background color, search mode box color and zoom box color.

**notes** this is visible not only in system theme, on other custom themes it is also visible, depends on the theme you use, for example chrome light external theme does change color but other themes don´t.
Bug: No results search shortcuts (tabs,bookmarks, history) flicker when focus-defocus address bar
Status: NEW
Priority: P3
Created: 2021-05-18 13:50:26+00:00
Resolved: 2023-08-16 14:58:48+00:00

##### [Description:]
In certain conditions, when the results from any of the 3 special search-shortcuts (tabs, history, bookmarks) return nothing, the search suggestions would transition throught the default search engine search suggestions list for the string.

##### [Environment:]
Windwos 10, Mac 11
Firefox 89.0b13 - Firefox 85

##### [Steps:]
1. Make sure you use a default engine that returns search suggestions.
2. Open a new tab and type a query string that shows suggestions.
3. From the search-shortcuts, select any of the: bookmarks, tabs, history - (make sure that there would be no results)
4. Click in the page content(unfocus address bar) and focus address bar again.

##### [Actual Result:]
When the search results for the special search-shortcuts is empty it circles through the search engine search suggestions first.



##### [Expected Result:]
The special search-shortcuts results should not transition through the search engine search suggestions.

##### [Regression Range:]
This is not a recent regression.

##### [Note:]
The STR to reproduce this are pretty edge-case, however this scenario feels to me like an unhandled code-path, so we're going to start from an S3 severity.
Bug: Toolbar button hover and active states lack contrast in high contrast mode
Status: ASSIGNED
Priority: P2
Created: 2021-05-18 14:08:28+00:00
Resolved: 2024-03-19 12:11:24+00:00

### Affected versions
Firefox 90.0a1 
Firefox 89.0b13

### Affected platforms
Windows 7 x64
Windows 10 x64
Ubuntu 20.04 x64

### Steps to reproduce
1. Enable High Contrast mode on Windows.
2. Open Firefox.
3. Select or hover over "tabs navigation", "Open a new tab" and "List all tabs" buttons.

### Expected result
Tabs bar buttons should have contrast in high contrast mode like the contrast on the tabs.

### Actual Result
Tabs bar buttons lacks contrast in high contrast mode on Windows.
Bug: Empty experiment feature object for enabled aboutwelcome fails to render "content.screens is undefined"
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2021-05-18 14:10:48+00:00
Resolved: 2021-05-28 09:08:04+00:00

TypeError: can't access property "undefined", content.screens is undefined
AboutWelcomeDefaults.jsm:594:7
https://searchfox.org/mozilla-central/rev/0e8b28fb355afd2fcc69d34e8ed66bbabf59a59a/browser/components/newtab/aboutwelcome/lib/AboutWelcomeDefaults.jsm#594

I thought we fall back to the local default screens if there's no screen variable set in the experiment, e.g.,
https://experimenter.services.mozilla.com/nimbus/multistage-onboarding-remove-urlbar-focus
```
{
  "id": "msw_control",
  "template": "multistage"
}
```

But maybe something changed?
https://searchfox.org/mozilla-central/rev/0e8b28fb355afd2fcc69d34e8ed66bbabf59a59a/browser/components/newtab/aboutwelcome/AboutWelcomeChild.jsm#221,225,240,250
Bug: The "Close" button from the Infobars is bigger than on Figma doc
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-05-18 14:55:24+00:00
Resolved: 2021-05-18 15:05:04+00:00

**Affected platforms:**
All

**Affected versions:**
Nightly 90.0a1
Firefox 89 beta 13

**Steps to reproduce:**
1. Launch Firefox.
2. Enter RDM mode (CTRL+Shift+M/Command+Option+M)
3. Press the "Enable touch simulation" button
4. Observe the "X" button of the "DevTools warning" infobar.

**Expected Results:**
The size of the button should be the one from [Figma doc](https://www.figma.com/file/FjUe6ORvXZgJvI3rPuTV33/Desktop-UI-(Mozilla-Confidential-)?node-id=4%3A2).

**Actual Results:**
The "X" button is bigger than in the Figma doc. Please see the document and the comparison screenshot for more details.

**Notes:**
The issue is reproducible on all the Infobars.
Bug: Locking browser.newtabpage.enabled doesn't disable the new tab dropdown in preferences
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2021-05-18 15:37:33+00:00
Resolved: 2022-05-24 12:02:04+00:00

If you lock browser.newtabpage.enabled:

pref("browser.newtabpage.enabled", false, locked);

in firefox.js for instance,

It should disable the UI in preferences.
Bug: Make browser/components/search/test/browser/browser_search_telemetry_sources_ads.js pass with Fission+BFCache
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2021-05-18 16:33:59+00:00
Resolved: 2021-05-26 09:55:57+00:00

The test doesn't seem to pass anymore with fission + fission.bfcacheInParent=true
Bug: Make browser/base/content/test/siteIdentity/browser_mixed_content_with_navigation.js pass with Fission + BFcache
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-05-18 16:42:12+00:00
Resolved: 2021-05-20 14:56:58+00:00

The test doesn't pass currently with Fission and fission.bfcacheInParent=true
Bug: For days now I keep getting the following pop-up box when I go to start up Firefox: "Open Firefox in troubleshoot mode?".  If this doesn't stop soon I'm getting rid of Firefox.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-05-18 16:48:40+00:00
Resolved: 2021-06-23 13:34:01+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

The first time it came up I clicked on 'Refresh Firefox'. It eventually loaded and I was able to use it.  

The second time it came up (the same day) I clicked on 'Troubleshoot'.   I took quite a while but eventually loaded.


Actual results:

Like I said, eventually Firefox did load and I was able to continue.


Expected results:

After I did the actions above that should have completed the troubleshooting and the pop-up message should have stopped.  I'm getting sick of it always coming up now.  This has been going on for days.  If this isn't fixed soon I'll be getting ride of Firefox and making sure I warn everyone about using Firefox. I used to love using Firefox and have recommended it to many people, but I'm fed-up with this current issue.
Bug: about:neterror's "Go Back" button sometimes has incorrect behaviour
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-05-18 18:31:35+00:00
Resolved: 2021-08-19 03:38:26+00:00

STR:
* Open a new tab by middle-clicking on a link to open it in a new tab with no session history, like: https://searchfox.org/
* Enter a URL with an invalid certificate in the URL bar, such as: https://expired.badssl.com/
* Hit the big blue "Go Back" button in the certificate error page.

This will probably not recur on the first try, repeatedly go forward to the error page and hit the "Go Back" button to try again. This is timing sensitive.

Expected: The previous page loads again, as you went back from the expired certificate page.
Actual: The browser navigates to the newtab page, with a history like: https://searchfox.org/ -> https://expired.badssl.com/ -> [about:home]

This is caused in two parts. The forward navigation to the newtab page in the "Go Back" situation is caused by bug 1636836, however the navigation shouldn't have navigated to the newtab page in the first place. This issue was caused by the code in `goBackFromErrorPage` (https://searchfox.org/mozilla-central/rev/98a9257ca2847fad9a19631ac76199474516b31e/browser/actors/NetErrorParent.jsm#168-183, and https://searchfox.org/mozilla-central/rev/0e8b28fb355afd2fcc69d34e8ed66bbabf59a59a/toolkit/actors/AboutHttpsOnlyErrorParent.jsm#39) using SessionStore's tab state cache to determine if it was possible to go back, which is updated in a delayed manner to save on resources, rather than using `canGoBack` on the browser.
Bug: [gcc 11] error: 'this' pointer is null [-Werror=nonnull]
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-05-19 00:33:03+00:00
Resolved: 2021-06-02 04:40:03+00:00

Building with GCC 11 fails with:
```
[task 2021-05-19T00:00:35.298Z] 00:00:35     INFO -  In file included from Unified_cpp_accessible_xpcom0.cpp:65:
[task 2021-05-19T00:00:35.299Z] 00:00:35     INFO -  /builds/worker/checkouts/gecko/accessible/xpcom/xpcAccessibleHyperText.cpp: In member function 'virtual nsresult mozilla::a11y::xpcAccessibleHyperText::GetTextAttributes(bool, int32_t, int32_t*, int32_t*, nsIPersistentProperties**)':
[task 2021-05-19T00:00:35.299Z] 00:00:35    ERROR -  /builds/worker/checkouts/gecko/accessible/xpcom/xpcAccessibleHyperText.cpp:194:31: error: 'this' pointer is null [-Werror=nonnull]
[task 2021-05-19T00:00:35.299Z] 00:00:35     INFO -    194 |       props->SetStringProperty(attrs[i].Name(), attrs[i].Value(), unused);
[task 2021-05-19T00:00:35.299Z] 00:00:35     INFO -        |       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-05-19T00:00:35.299Z] 00:00:35     INFO -  /builds/worker/checkouts/gecko/accessible/xpcom/xpcAccessibleHyperText.cpp: In member function 'virtual nsresult mozilla::a11y::xpcAccessibleHyperText::GetDefaultTextAttributes(nsIPersistentProperties**)':
[task 2021-05-19T00:00:35.299Z] 00:00:35    ERROR -  /builds/worker/checkouts/gecko/accessible/xpcom/xpcAccessibleHyperText.cpp:223:31: error: 'this' pointer is null [-Werror=nonnull]
[task 2021-05-19T00:00:35.299Z] 00:00:35     INFO -    223 |       props->SetStringProperty(attrs[i].Name(), attrs[i].Value(), unused);
[task 2021-05-19T00:00:35.300Z] 00:00:35     INFO -        |       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-05-19T00:00:35.300Z] 00:00:35     INFO -  cc1plus: all warnings being treated as errors
```

The code in both cases, looks like:
```
nsCOMPtr<nsIPersistentProperties> props;
if (...) {
   props = ...
} else {
   ...
   props->SetStringProperty(...);
}
```

It blows my mind that this obvious null deref hasn't caused crashes on Mac and Linux in the 5 years that this code has been around.
Bug: Icons in Customize menu are slightly darker than if placed on the toolbar or inside Overflow menu while Light theme is used
Status: VERIFIED
Priority: P3
Resolution: FIXED
Created: 2021-05-19 07:14:24+00:00
Resolved: 2021-10-13 20:12:35+00:00

*Affected versions*
* 90.0a1 (20210518213628)
* 89.0b14 (20210518190425)


*Affected platforms*

* macOS 11.3.1 
* Windows 10x64


*Steps to reproduce*
1. Open Firefox and observe the icons.
2. Add one icon to the toolbar (e.g Print, Private Window, Text Encoding, Edit Controls)

*Expected result*
*  The Icons have the same color.

*Actual result*
* Some icons are darker in Customize mode than on the toolbar or Overflow menu.

*Regression range*

* Last good revision: 33e6726dee20181958342c8197f76cd37818df67
 First bad revision: 052b086a834cd4d6722d6768d8f63b4785c140f2
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=33e6726dee20181958342c8197f76cd37818df67&tochange=052b086a834cd4d6722d6768d8f63b4785c140f2



*Notes*
* Attached a screenshot.
* The icons remains the same as in the screenshot after exiting Customize menu.
Bug: The text string of the Deceptive site Infobar is not as in the Figma doc
Status: NEW
Priority: P2
Created: 2021-05-19 07:38:17+00:00
Resolved: 2021-05-20 07:43:37+00:00

**Affected platforms:**
All

**Affected versions:**
Nightly 90.0a1
Firefox 89 beta 14

**Steps to reproduce:**
1. Launch Firefox.
2. Navigate to http://itisatrap.org/firefox/its-a-trap.html
3. Click on "See details".
4. Click on "ignore the risk".
5. Observe the Deceptive site infobar.

**Expected Results:**
The text string and the text from the button should be written in "Bold" font, as in the [Figma doc](https://www.figma.com/file/FjUe6ORvXZgJvI3rPuTV33/Desktop-UI-(Mozilla-Confidential-)?node-id=4%3A2).

**Actual Results:**
The text strings are not in Bold font.
Bug: [Onboarding] The last three letters of the "Fire starts here" string are barely visible when the browser inner window is 700 x 500
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2021-05-19 08:36:47+00:00
Resolved: 2021-05-25 12:26:09+00:00

**[Affected versions]:**
- Firefox Nightly 90.0a1, Build ID 20210518213628
- Firefox Beta 89.0b13, Build ID 20210516190025

**[Affected Platforms]:**
- Windows 10
- macOS 10.15
- Linux MX 4.19

**[Prerequisites]:**
- Have a new Firefox profile.
- Have the browser window resized to have an inner window size of 700 x 500 (use [this site](https://www.rapidtables.com/web/tools/window-size.html) for help).

**[Steps to reproduce]:**
1. Open the browser with the profile from prerequisites.
2. Navigate to the about:welcome page and observe the "Fire starts here" string.

**[Expected results]:**
- The string is fully visible and is displayed on 3 rows.

**[Actual results]:**
- The last three letters of the `starts` string are barely visible and are overlapped by the noodle.

**[Notes]:**
- 700 x 500 is the minimum resolution supported that does not force scrollbars to appear.
- Attached a screenshot of the issue.
Bug: The distance between Theme options from the third slide of the “about:welcome” page is inconsistent
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2021-05-19 09:10:21+00:00
Resolved: 2021-05-27 08:11:31+00:00

[Affected versions]:
- Firefox Nightly 90.0a1 (Build ID: 20210518213628)
- Firefox Beta 89.0b14 (Build ID: 20210518190425)

[Affected Platforms]:
 - Windows 10 x64
 - Linux Mint 20
 - MacOS 11.2.3

[Prerequisites]:
- Have Firefox Beta 89.0b14/Nightly 90.0a1 installed.
- Have created a new Firefox profile.

[Steps to reproduce]:
1. Open the Firefox profile from prerequisites.
2. Click on the “Not now” buttons from the first and second slides of the “about:welcome” page.
3. Observe the distance between the theme options.

[Expected result]:
 - The theme options are correctly displayed and the distance between them is the same.

[Actual result]:
 - The distance between the "System theme" and the "Light" options, and the one between the "Dark" and the "Alpenglow" options is bigger than the distance between the "Light" and the "Dark" options.

[Notes]:
- This issue is not reproducible for existing users.
- Attached a screenshot of the issue.
Bug: The scrollbar appears with a small delay when transitioning a panelview between subviews
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2021-05-19 09:35:36+00:00
Resolved: 2024-05-07 16:12:15+00:00

#### Tested with:

Release 88
Beta 89.0b14
Nightly 90.0a1 (2021-05-19)
#### Tested on:

Windows 10
Ubuntu 20.04

#### Steps:

  1. Launch firefox and save few bookmarks (around 20).
  2. Open the hamburger menu or toolbar library menu and open the bookmarks submenu.

#### Actual result:

The scrollbar is displayed with a small delay.
#### Expected result:
The scrollbar should be properly displayed without delay when opening the submenu.

#### Regression range:
https://bugzilla.mozilla.org/show_bug.cgi?id=1687828

Note: This is reproducible without proton enabled as well.
@Molly, could you take a look at this when you get a chance?
Bug: ASRouter does not finish initializing properly when the devtools setting are enabled.
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2021-05-19 09:55:27+00:00
Resolved: 2021-06-02 13:25:16+00:00

In `ASRouter.jsm` the function `updateAdminState` is waiting for initialized to finish (`toWaitForInitFunc`) before running. In the `init` function we:
* setState
* which in turn calls `updateAdminState` when the devtools are active
* at the end we call `_finishInitializing`

Because of this order `setState` never returns and `ASRouter` is never initialized.
A simple fix would be to check if `ASRouter.initialized` and skip calling `updateAdminState` in `setState` but I'm not sure if this introduces other issues.
Bug: policy WebsiteFilter is not applied after redirect
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2021-05-19 10:22:29+00:00
Resolved: 2022-02-17 16:21:30+00:00

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

use google image search. click on a result whose site is listed in policies.json WebsiteFilter Block list.


Actual results:

page is displayed.
only when navigating further or reloading or clicking in the address bar and pressing return, it is replaced by the "Blocked Page" page.


Expected results:

I should not be allowed to see the resulting page.
I assume that the check against the block list happens on the intermediate URL that google generated and which then redirects to the actual result page, and not again on the URL it is redirecting to. I have also seen this happen on other pages that redirect to a different site when only the redirect target matched the Block list.
Bug: When an Extension Is Placed in the Overflow Menu, Its Pop-up's Width Does Not Resize to Match the Overflow Menu's Width With `gfx.webrender.software.unaccelerated-widget.allow` set to `true` in Beta
Status: RESOLVED
Priority: P2
Resolution: INCOMPLETE
Created: 2021-05-19 10:53:20+00:00
Resolved: 2022-09-02 20:00:43+00:00

# Steps to Reproduce

1. Install the [uBlock Origin][1] extension.
2. Enter Customization mode and move uBlock Origin's icon to the overflow menu.
3. Exit Customization mode and switch to another tab. Open uBlock Origin's pop-up menu in the overflow menu, and observe the menu's width.

# Expected Results

uBlock Origin's menu should resize to match the overflow menu's width.

# Actual Results

uBlock Origin's menu does not resize to match the overflow menu's width.

# Additional Information

I ran mozregression and got the [following regression range][2], which suggests that turning on Software WebRender for Windows popups with transparency was the cause of this bug. In Firefox 89.0b14, the preference `gfx.webrender.software.unaccelerated-widget.allow` is set to `false` by default, which means this bug is not reproducible by default. However, if I set this preference to `true` and restart the browser, this bug does get reproduced.

Note that, however, I cannot reproduce this bug in Nightly (even if I set `gfx.webrender.software.unaccelerated-widget.allow` to `true`), so some other factor is at play here.

[1]: https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
[2]: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=97565326ca40d150f65bae3acf92178851180ca1&tochange=0c5f0b28261bfe990f6e3bc71fd57d1a32e69082
Bug: The notification badge is duplicated both in FX account icon and also hamburguer menu
Status: RESOLVED
Priority: P2
Resolution: WORKSFORME
Created: 2021-05-19 12:07:55+00:00
Resolved: 2021-06-16 00:03:56+00:00

**Affected platforms:**
Platforms: All

**Preconditions:**
Reach about:config and set the following
user_pref("browser.proton.enabled", true);
user_pref("browser.proton.tabs.enabled", true);
user_pref("browser.proton.toolbar.enabled", true);
user_pref("browser.proton.contextmenus.enabled", true);
user_pref("browser.proton.urlbar.enabled", true);
user_pref("browser.proton.toolbar.version", 0);
user_pref("browser.proton.doorhangers.enabled", true);
user_pref("app.update.log", true);
Create 2 fresh profiles

**Step to reproduce:**

1. Launch the Firefox browser with both profiles A and B.
2. Sign in with the same account in both Firefox windows.
3. Change the Accounts Password in the second Firefox window.
4. Observe the fx account icon and notice the notification badge.

**Expected result**:
The notification badge is duplicated both in FX account icon and also hamburguer menu

**Actual result:**
Observe the Hamburger menu and notice the "User got disconnected" notification badge is also present.  The badge should only be on the accounts icon and not the menu icon.
Bug: [New bookmark] Adding a new folder causes field to overlap scrolling bar in the Bookmarks Panel folder selector
Status: RESOLVED
Priority: P3
Resolution: DUPLICATE
Created: 2021-05-19 12:31:11+00:00
Resolved: 2022-10-19 15:24:44+00:00

**Affected platforms:**
Platforms: All

**Preconditions**
Set the following prefs in about:config

browser.proton.enabled = true
prompts.windowPromptSubDialog = true
prompts.contentPromptSubDialog = true
browser.proton.modals.enabled = true

**Steps to reproduce**

1. Launch the Firefox browser 
2. Visit any website
3. Click on bookmark icon
4. Expand folder by clicking on down arrow
5. Click on New folder option

**Expected result**
The field to input value should be properly displayed

**Actual result**
The field to input value is wrongly displayed and overlapping scrolling bar.