av9ash/GitBugs huggingface dataset:
Bug: [Experiment] [Intermittent] The `expose` event is wrongly displayed even though the VPN promotion is not shown in the Private Browsing Window
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2022-09-22 13:34:02+00:00
Resolved: 2023-07-24 13:49:29+00:00

**[Affected versions]:**
- Firefox Release 105 (Build ID: 20220915150737)

**[Affected platforms]:**
- Windows 10 x64
- macOS 12.5.2
- Ubuntu 20.04 x64

**[Prerequisites]:**
- Connect to US or CA using any VPN client.
- Have the following [user.js](https://drive.google.com/file/d/1XRWXb4DQHGfPmMdeuHMuZ3rdyueB-WUx/view?usp=sharing) downloaded on your computer.
- Make sure you have the `browser.search.region` pref set to `US` or `CA`.
- Set up the environment variable depending on the OS:
-> Windows: set MOZ_REMOTE_SETTINGS_DEVTOOLS=1
-> Linux and Mac: export MOZ_REMOTE_SETTINGS_DEVTOOLS=1
 
**[Steps to reproduce]:**
1. Open the browser with the profile from prerequisites.
2. Navigate to the Profile Folder from `about:support` page and paste the user.js file from the prerequisites.
3. Restart the browser and open the Private Window.
4. Open at least 4 tabs.
5. Observe the promotion from the tabs opened.
6. Navigate to `about:telemetry#events-tab`.
7. Observe if the `expose pbnewtab-vpn-cross-promo` event is displayed.	

**[Expected result]:**
- Step 5: At least 1 tab shows the VPN promotion.
- Step 7: The `expose pbnewtab-vpn-cross-promo` event is displayed 4 times (once for the VPN Promo tab and 3 times for the Focus Promo tabs)

**[Actual result]:**
- Step 5: There is no VPN promotion displayed, only the Focus Promo is shown 3 times.
- Step 7: The `expose pbnewtab-vpn-cross-promo` event is displayed 3 times (each time when the Focus Promo tabs are opened).

**[Notes]:**
- The issue is **not** reproducible if the user doesn’t connect to the VPN client, but instead manually sets the `browser.search.region` pref to `US` or `CA`.
- This issue seems to be related to the internet connection; users with slow internet speed are more likely to encounter this issue.
- The VPN promo is shown only after restarting the browser and opening a new Private Browsing Window.
- [Here](https://drive.google.com/file/d/16Alk632-0Fdp4bie692FT39Es8ekhGGI/view?usp=sharing) is a screen recording with the issue.
Bug: Apply the lazy defineLazyPreferenceGetter workaround to browser-sidebar.js
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-09-22 14:31:57+00:00
Resolved: 2022-10-04 19:16:14+00:00

For some reason, this has flared up again (bug 1762665).

Looking at about a dozen of the failures, they are all happening while running toolkit/components/extensions/test/browser/browser_ext_themes_sidebars.js

Applying my logging patch from bug 1652531, while running that test I get:
`ZZZ defineLazyPreferenceGetter with callback _positionStart sidebar.position_start`

That appears to be [the browser-sidebar.js](https://searchfox.org/mozilla-central/rev/cefb4bc274c71aa4badbec09da9c056fd8ca4472/browser/base/content/browser-sidebar.js#667-673) lazy preference getter.

Hopefully I'll be able to land my cycle collector fix from bug 1543537 in the next few weeks, but for now I'll apply the lazy preference getter workaround for hopefully the last time.

I wasn't able to reproduce the crash locally. That test actually fails for me locally, but with this patch it continues to fail in the same way.
Bug: FF 105 prevents me from accessing Gmail !!!!
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-09-22 15:31:39+00:00
Resolved: 2022-10-24 07:18:19+00:00

Firefox for Android

Steps to reproduce:

Detailed below


Actual results:

I've been using Firefox on 2 Windows 10 machines (a Dell desktop and an HP envy m6 laptop) for YEARS and I always upgrade FF when 'About Firefox' prompts me that an upgrade exists. Lately, Gmail has gotten VERY picky and after logging into Gmail from a Windows device, it sends 2 verification codes to my phone to make sure it's me. This worked fine under version 104.0.2 but after upgrading my laptop to FF 105, and after logging into Gmail, it sent a verification code to my phone BUT MY PHONE NEVER GOT IT and after multiple tries, Gmail locked me out!!! Luckily, I didn't upgrade my desktop and it was still running 104.0.2 and Gmail still worked on it. The only difference was that I had upgraded the laptop to FF 105. I couldn't find an easy way to restore the laptop to FF 104.0.2 but I had recently done an image backup of the laptop so I restored it from the most recent backup. The failing laptop now runs FF 104.0.2 AND GMAIL IS WORKING AGAIN!!!!! PLEASE INVESTIGATE THIS AND FIX FF 105 ELSE OTHER USERS WHO DO NOT HAVE A WAY TO REVERT BACK TO 104.0.2 MAY GET LOCKED OUT OF GMAIL FROM THEIR WINDOWS DEVICE!!!!


Expected results:

FF 105 should have allowed me to receive the 2 verification codes from Gmail on my phone (Pixel 4a 5G running Android 12)
Bug: The  "Nothing to see yet" message is displayed when connecting via QR code
Status: RESOLVED
Priority: P3
Resolution: WONTFIX
Created: 2022-09-22 15:49:42+00:00
Resolved: 2023-09-25 13:17:14+00:00

**Precondition**
* The user is connected to sync on desktop;

**Affected versions**
* 107.0a1 (2022-09-22)
* 106.0b2

**Tested platforms**
* Affected platforms: windows 10, macOS 12.5.1, Ubuntu 22.04

**Steps to reproduce**
1. Be in the Firefox view tab;
2. Click the “get Firefox for mobile” button;
3. Finalize the device connection flow;
4. Click the “See tabs from synced devices” button;
5. Observe the “Tab pickup” section;

**Expected result**
* The tabs opened from the mobile device are displayed;

**Actual result**
* The "Nothing to see yet" message is displayed when connecting via QR code, even if the mobile device has tabs opened.;

**Additional notes**
* The tabs opened on the mobile device are displayed after reloading one of the opened pages and hitting multiple times the "Sync now" option on both mobile and desktop;
* When connecting via email, the opened tabs from the mobile device are displayed in ~1 min.
Bug: Private windows open in some sort of "Dark" mode
Status: RESOLVED
Priority: P3
Resolution: INVALID
Created: 2022-09-22 16:05:29+00:00
Resolved: 2022-12-16 17:28:16+00:00

Safe Mode opens in some sort of "Dark" (themed) mode.
(For me, for my eyes, that is wholly unusable.)

Dark theme is not enabled.
Default theme is.

Win7.
"Aero" (or whatever Windows may call it) is disabled on my end.
Bug: Shrinking the window with many pinned tabs causes overlapping tab management buttons
Status: RESOLVED
Priority: P3
Resolution: DUPLICATE
Created: 2022-09-22 16:08:36+00:00
Resolved: 2024-09-09 10:37:33+00:00

Trying to shrink a window with many pinned tabs is causing tab management buttons to overlap each other to a point it's unclear what I'm clicking.

We could at least hide the scrollers and plus button when space is missing.
Not sure if we could do anything about the Windows control buttons.

I checked how Chrome handles this, they just hide the tabs (included pinned) behind the + button, Windows controls are always visible. That seems a more reasonable approach.
Bug: firefox 105 auto-selects home page URL
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-09-22 16:50:45+00:00
Resolved: 2022-09-22 17:21:53+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

Start firefox with my usual home page


Actual results:

Home page opened normally, but url is selected as if I had clicked on it


Expected results:

No automatic selection.  The automatic selection means that keyboard shortcuts for scrolling through the home page no longer work without extra mouse clicking to unselect the home page url.  There does not appear to even be a keyboard shortcut like esc to unselect the url.

Fixes needed: (1) revert to the previous initial page behavior, or at least provide a very conspicuous option to select the previous behavior.

(2) Fix development standards and procedures to never change the user interface like this without extremely visible notification of the new change and instructions for how to disable it if not desired.
Bug: Copy discrepancy in Sync flow across platforms
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2022-09-22 18:02:30+00:00
Resolved: 2022-10-19 15:36:31+00:00

STR

1) Be signed out of FxA and open up Firefox View
2) From Firefox View, sign into Fx account (from the prompt in the Tab Pickup section)
3) After signing in complete the prompts to download firefox on mobile and then sync devices. This will take you to the settings page
4) The modal that pops up tells you to go to the Firefox App, open the hamburger menu and then tap "Sign in to Sync".

ER
The menu text in iOS reads "Sign in to Sync"

AR
The menu text in iOS reads "Sync and Save Data"
Bug: Can't alt/option-drag-select text on recently closed tabs in Firefox View
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2022-09-22 22:04:15+00:00
Resolved: 2022-10-12 09:52:10+00:00

It would be nice if we supported selecting text here, but we just end up opening the tab and then removing the button from the DOM, making it impossible to copy things.
Bug: FF 102 ESR Backup and Restore Bookmarks Crash
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-09-23 01:44:54+00:00
Resolved: 2022-10-27 14:07:35+00:00

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

Steps to reproduce:

Desktop install of ESR and a portable ESR install on a thumb drive. I backed up bookmarks on my desktop and restored them to FF on my thumb drive. After I shut down the portable (which takes a very long time) there are multiple bookmarks.html files that seem to merge on shutdown. Problem is, on the thumb drive this is not completed before FF shutdown and the processes close. Results in damaged bookmark files and a crash EVERY time.



Actual results:

Creates multiple bookmars.html files and crashes on close. Every time.


Expected results:

As in 91, bookmarks should be updated and FF should close gracefully.
Bug: SSL Cert not available on some encrypted sites
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2022-09-23 05:06:41+00:00
Resolved: 2022-10-06 21:42:52+00:00

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

Steps to reproduce:

Access a SSL protected website (Particularly RD Gateway websites). Attempt to look at the SSL cert provided by the site.


Actual results:

Despite showing a padlock in the address bar, opening more information on the site says it is not encrypted.


Expected results:

More information should show the site is encrypted and provide the cert.
Bug: Extensions are not prompted before opening external schemes, leading to security issues
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2022-09-23 05:39:18+00:00
Resolved: 2024-05-30 18:00:51+00:00

VERSION

Firefox Version: 105.0 (64-bits)
Operating System: Windows 10 Pro Version 21H1 (Build 19043.2006)

VULNERABILITY DETAILS

This report covers an extension who could abuse default protocol handlers acceptance from the browser
to download any arbitrary file and tries to load with a windows default installed program.

Impact:

An extension can create an `obscured` window using the protocol print3d (default accepted by firefox), which
leads to the user downloading any type of files from an URL to the system and try to load this file using print3d software on Windows.

Here in this report, I'm covering the usage of the print3d protocol as an example but it could leave a door open for many more cases.

The extension can run things for the user anytime, from user clicks, user installed actionss and many more events, so i'm using this as example.

In this report I'm gonna use the extension to inject code on the DOM with a custom event and when this
custom event is called, the content.js file sends a message to the background.js which opens an minimal window
with the protocol handler and closes itself right after, obscuring what is causing this to download files and
the program on windows popup trying to load this file.

Impact: Downloading any type of files without the user awareness and possible load/execution of arbitrary code on users' systems or allow access to users' confidential information if the attacker goes further on the protocol to microsoft program which the Firefox accept as default and Chrome does't.
This protocol is not handled by Chrome because security issues too;

My example was just to demonstrate it can be obscured and abuse this or other cases with protocol handlers but it could be as simple as:

browser.action.onClicked.addListener(async () => {'
  let window = await chrome.windows.create({url: "com.microsoft.print3d://https://github.com/git-for-windows/git/releases/download/v2.37.3.windows.1/Git-2.37.3-64-bit.exe"});
});

or

window.location.replace("com.microsoft.print3d://https://github.com/git-for-windows/git/releases/download/v2.37.3.windows.1/Git-2.37.3-64-bit.exe")

You can see the download file at:

Mitigation: Avoid the protocol handler com.microsoft.print3d as default accepted

REPRODUCTION CASE

1. Install the attached extension, the extension does not require any permission;
- about:debugging#/runtime/this-firefox
- Load temporary extension
2. Visit any page;
3. Once the extension reveals the new window, observe the interaction;
4. The user downloaded a file and tried to load it without consent;

Ps.: We could just not use the add-on the place on the site and use window.location.replace of something else

CREDIT INFORMATION

Reporter credit: Vitor Torres <https://github.com/vtorres/ or vitortorresvt@gmail.com>
Bug: Private window does not use private icon on taskbar when opening a link from "private" Library into a new private window
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2022-09-23 09:24:34+00:00
Resolved: 2022-11-23 07:45:36+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Build ID: 20220922214429

## Steps to reproduce
0. Set `browser.privateWindowSeparation.enabled` to true
1. Open Nightly in a regular window.
2. Open a private window. (This window should have a private browsing icon on taskbar.)
3. Open Library from the private window.
4. Right click a link in Library and choose `Open in New Window`.

## Actual result
The link opens in a new private window, as indicated by the private logo on titlebar and no history is saved, yet the taskbar icon is the regular one. This new private window is also grouped with other regular windows.

## Expected result
The new private window should have a private browsing icon on taskbar. It should be grouped with other private windows, if any.

## Additional notes
1. This bug happens only when Library is opened from a private window. When it is opened from a regular window, there are `Open in New Window` and `Open in New Private Window`. Both work and group properly.

2. For Library opened from a private window, `Open` and `Open in New Tab` are also bugged if all private windows were closed.



Needinfo :bhearsum since he recently worked on bugs related to Private Window Separation.
Bug: The checkbox in the pdf form can not be checked/unchecked using the Enter keyboard
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-09-23 10:14:23+00:00
Resolved: 2023-03-01 04:54:33+00:00

**Found in**

* Firefox 106.0b2


**Affected versions**

* Firefox 106.0b2

* Nightly 107.0a1

* Firefox 105.0


**Affected platforms**

* macOS 13 Ventura

* Windows 10


**Steps to reproduce**

1. Launch Firefox and open the pdf form http://foersom.com/net/HowTo/data/OoPdfFormExample.pdf

2. Use Tab keyboard to focus any checkbox

3. Press the Enter keyboard


**Expected result**

* The focused checkbox can be checked/unchecked when using the Enter keyboard.


**Actual result**

* Nothing happens when trying to check/uncheck the focused checkbox using the Enter keyboard.


**Regression range**

* Not a recent regression because this is traceable back to Nightly 86.0a1.

**Additional notes**

* The checkboxes can be checked/unchecked using the space bar.
In Google Chrome the checkboxes can be checked/unchecked using both the space bar and Enter keyboard.
Bug: USER DATA LOSS: lost all mobile bookmarks after upgrade to v105
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-09-23 10:41:19+00:00
Resolved: 2023-05-17 05:18:33+00:00

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

Steps to reproduce:

after firefox (desktop) updated to v105 I've lost all my mobile bookmarks.
since sync was enabled I've lost bookmarks also on other devices (mobile).
I've noticed some thing that maybe is related: on v104 in bookmarks sidebar the mobile bookmarks folder was named "mobile".
After v105 I have noticed that it is now named "Mobile Bookmarks".
I don't know if this could be the reason of the missing mobile bookmarks.

By the way, just two days before I had exported all my bookmarks to an HTML file: I periodically make backups of my bookmarks, just to be safe.
But when I looked up my HTML file I found that the mobile bookmarks were not there! The desktop bookmarks are there, just the mobile bookmarks are missing.
A bookmark export feature that doesn't save all bookmarks? 

In bugzilla I've found this bug about missing mobile bookmarks in HTML export:
https://bugzilla.mozilla.org/show_bug.cgi?id=1419545
This was reported 5 years ago! And still not fixed?



Actual results:

mobile bookmarks deleted after update.



Expected results:

mobile bookmarks not deleted.
Bug: Tooltip on ETP Shield Icon turns into a black square after a restart from about:profiles
Status: RESOLVED
Priority: P3
Resolution: WORKSFORME
Created: 2022-09-23 13:04:18+00:00
Resolved: 2023-05-17 09:29:22+00:00

**Found in**
- Firefox 106.0b3

**Affected versions**
- Firefox 106.0b3;
- Firefox 105.0.1; 

**Tested platforms**
- macOS 10.14
- Windows 8.1/10/11
- Ubuntu 22.04

**Affected platforms**
- macOS 10.14
- Windows 8.1/10/11
- Ubuntu 22.04

**Unaffected platforms**
- N/A 

**Steps to reproduce**
1. Launch Firefox and go to a page which has no trackers blocked, such as https://www.example.org .
2. Hover over the ETP Shield Icon at the left of the address bar. 
3. Go to about:profiles and click on the "Restart Firefox" buttton.
4. Go back to https://www.example.org tab.
5. Hover over the ETP Shield Icon at the left of the address bar.

**Expected result**
- " No trackers known to Firefox were detected on this page" tooltip should show.

**Actual result**
- Tooltip isn't visible anymore.

**Regression range**
- Will look for one ASAP.

**Additional notes**
* Once the user opens a new tab and then returns to https://www.example.org , the tooltip is visible again. Doesn't reproduce by restart from keyboard shortcuts. Latest Nightly seems to be unaffected.
Bug: The “Turn on syncing to continue” error message is not displayed when disconnecting Sync
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2022-09-23 13:07:15+00:00
Resolved: 2022-10-21 11:46:53+00:00

**Precondition**
* The user is already signed in to the browser (Sync).
* The user has connected at least one other device to Sync.
* There is browsing data available to sync.

**Affected versions**
* Firefox Beta 106.0b2 (64-bit);

**Tested platforms**
* MacOS 12.5.1;
* Windows 10 x64;
* Ubuntu 22.04;

**Steps to reproduce**
1. Go to about:preferences#sync page and click the "Change" button;
2. Click the "Disconnect..." button and then click "Disconnect" again;
3. Click the "Firefox View" icon and observe the message displayed;

**Expected result**
* "Turn on syncing to continue/To grab your tabs, you’ll need to allow syncing in Firefox." message is displayed with the "Turn on sync in settings" blue button.

**Actual result**
* “Switch seamlessly between devices” message is displayed;
Bug: Quick Actions: Labeltext is too close to button border when window is shrinked
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-09-23 13:22:35+00:00
Resolved: 2022-10-10 08:57:22+00:00

Nightly 107.0a1 (2022-09-23) (64-Bit)
macOS

Looks like Quickactions lo longer wrap into the next line when the window is shrinked to a smaller size. But now the labeltext looks unpolished because it is cutoff and too close the border of the button.

It would be nice use ellipsis or a fade out affect instead.

Thanks.
Bug: Quick Actions: Move Help/Question Mark icon 10px to the right to be aligned with Settings icon
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-09-23 13:41:27+00:00
Resolved: 2022-12-01 14:25:12+00:00

Nightly 107.0a1 (2022-09-23) (64-Bit)
macOS

1.) Focus the Address Bar 
2.) Take a look at the position of the Move Help/Question Mark icon in the Quick Actions section.
3.) Compare with the position of the Settings icon or the Bookmarks icon

Actual: The Help/Question Mark icon is 10px too far left.

Expected: The Help/Question Mark icon should be moved 10px to the right to be aligned with the Settings icon and the Bookmarks icon.

BTW: It is correct aligned, when the window shrinked to a smaller size.

Thanks.
Bug: Quick Actions: Button size should be calculated to use the same width when shrinking the window
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-09-23 14:01:09+00:00
Resolved: 2022-10-21 15:10:26+00:00

107.0a1 (2022-09-23) (64-Bit)
macOS

1.) Focus the Address Bar
2.) Make the window smaller
3.) Take a look at the dynamic sizes of the Quick Action Buttons

Actual: The sizes look different. Icons in the buttons are not centered and some have still a snippet of text.

Expected: They should have all the same size. Especially when the window is very small, then the icon in the button should be centered.

Thanks.
Bug: The pdf files are not scrolled to the end of the page using the keyboard End button
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-09-23 14:07:19+00:00
Resolved: 2022-10-03 14:57:38+00:00

**Found in**
* 106.0b3

**Affected versions**
* 105.0, 106.0b3, 107.0a1

**Tested platforms**
* Affected platforms: Windows 8.1/Windows 10, Ubuntu 22, macOS 12
* Unaffected platforms: N/A

**Steps to reproduce**
1. Launch Firefox and open a random *.pdf file (for example: http://www.pdf995.com/samples/pdf.pdf)
2. Press the keyboard End button.

**Expected result**
* The page is scrolled down to the end of the page.

**Actual result**
* The page is scrolled almost to the end of the page.

**Regression range**
Will try to find a regression range as soon as possible.

**Additional notes**
* The issue is reproducible only on the pdf files, I cannot reproduce it on a random webpage/website.
* The issue is not reproducible in Chrome.
Bug: Quick Actions: Use same padding between last Quick Action button and Help button like between two Quick Action buttons
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-09-23 14:16:01+00:00
Resolved: 2022-10-21 15:11:12+00:00

07.0a1 (2022-09-23) (64-Bit)
macOS

1.) Focus the Address Bar
2.) Make the window smaller
3.) Hover over the Help Button
4.) Take a look at the padding between last Quick Action Button and Help button
5.) Compare with the padding between two Quick Action buttons

Actual: The padding between last Quick Action Button and Help button is approx. 5px.

Expected:  It should be also approx. 20px like between two Quick Action buttons.

Thanks.
Bug: Main menu entries are highlighted on mouse oven even when no menu is open with the non-system theme
Status: UNCONFIRMED
Priority: --
Created: 2022-09-23 15:48:43+00:00
Resolved: 2022-11-14 12:22:13+00:00

When the main menu bar is enabled and the cursor touches a a main menu item, its background color is changed even when no menu is open. This is not consistent with usual Gtk menu behaviour, where the menu text should only be highlighted when the corresponding menu is open.