av9ash/GitBugs huggingface dataset:
Bug: Perma TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Test timed out | Found a tab after previous test timed out |  when Gecko 96 merges to Beta on 2021-12-06
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2021-11-24 15:44:50+00:00
Resolved: 2021-11-30 04:02:34+00:00

[Tracking Requested - why for this release]:

[Central-as-beta simulation:](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel&revision=257e4b7c411e13004e1526b005c86b9a8154fdec) 
[How to run these simulations:](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=359116775&repo=try&lineNumber=6276)

```
[task 2021-11-24T14:56:22.773Z] 14:56:22     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should match somefile.webm - 
[task 2021-11-24T14:56:22.774Z] 14:56:22     INFO - Checking application/pdf
[task 2021-11-24T14:56:22.775Z] 14:56:22     INFO - Buffered messages finished
[task 2021-11-24T14:56:22.776Z] 14:56:22     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Test timed out - 
[task 2021-11-24T14:56:22.776Z] 14:56:22     INFO - GECKO(5141) | MEMORY STAT | vsize 20975633MB | residentFast 1445MB
[task 2021-11-24T14:56:22.777Z] 14:56:22     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | took 90031ms
[task 2021-11-24T14:56:22.778Z] 14:56:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-11-24T14:56:22.779Z] 14:56:22     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Found a tab after previous test timed out: data:text/html, - 
[task 2021-11-24T14:56:22.781Z] 14:56:22     INFO - checking window state
[task 2021-11-24T14:56:22.781Z] 14:56:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-11-24T14:56:22.782Z] 14:56:22     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Found a  after previous test timed out - 
[task 2021-11-24T14:56:22.783Z] 14:56:22     INFO - GECKO(5141) | must wait for focus
[task 2021-11-24T14:56:22.861Z] 14:56:22     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_first_prompt_not_blocked_without_user_interaction.js
```
Hello Neil, I think this is caused by Bug 1719892, can you please take a look?
Bug: When determining if to refresh the database from the local dump, take into account if the last modified is NaN
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2021-11-24 17:35:17+00:00
Resolved: 2022-01-07 07:51:31+00:00

We've seen a case where the local search-config dump was changed and no last modified values were provided.

In this case, getting the last modified time from the database returns `NaN`. I think we should handle that as well, so that we can still update the database from the local dump.
Bug: Word "Finder" appears on Firefox non-English localizations
Status: RESOLVED
Priority: P3
Resolution: INVALID
Created: 2021-11-24 17:57:56+00:00
Resolved: 2021-11-24 19:24:43+00:00

**Affected platforms**
MacOS  11 

**Affected versions**
Nightly 96.0a1  
Beta 95.0b11    
 

**Steps to reproduce**

1- Launch Firefox FA localized  (Persian), or Koran localization
2- Navigate to thinkbroadband.com/download
3- Download a small 5mb file and wait for it to finish downloading
4- open download panel, hover moue on the magnifying glass
6- check text 

**Actual Results**
It says "FINDER + persian words"

**Expected Results**
It should be all persian, like it does on release 94.0.2
Bug: Inconsistent selection state in address bar when switching tabs
Status: NEW
Priority: P3
Created: 2021-11-24 18:39:37+00:00
Resolved: 2022-02-24 00:24:57+00:00

STR:
1. Open two tabs (from different origins; I am not able to reproduce with the same website.  Fission-related?)
2. Select the address bar in one or both tabs
3. Switch between the tabs
4. Notice that sometimes the address bar is selected, and sometimes it is not (focus is on the cursor)

It appears that this only appears when switching with the mouse, not ctrl+tab.  (Interestingly, I often notice a slight flash in the address bar when switching with ctrl+tab, as if it selects/deselects slightly after/before switching to/away from a tab, but that's not this bug.)

There does seem to be some correlation between how long I wait between switching tabs and what happens, but that's not entirely consistent.

Latest nightly; about:support and video attached.
Bug: After updating to 94.0.2 our website hangs while redirecting - UNLESS dev tools is open at the same time (etr-stg.mathology.ca)
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-11-24 20:20:23+00:00
Resolved: 2021-12-22 09:29:32+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36 Edg/96.0.1054.29

Steps to reproduce:

go to etr-stg.mathology.ca 


Actual results:

It just spins


Expected results:

It should re-redirect to a login page - IT DOES WORK IF YOU HAVE DEV TOOLS OPEN BEFORE GOING TO THE ETR-STG.MATHOLOGY.CA Page. Uninstalled 94.0.2 reinstalled 94.0.1 and it works fine
Bug: markPageAsFollowedLink should be called more reliably so places has accurate data
Status: NEW
Priority: P3
Created: 2021-11-25 00:02:55+00:00
Resolved: 2021-12-07 13:55:08+00:00

In bug 1742801 I ran into the fact that apparently, for clicks on links we (or at least the automated test, `browser_markPageAsFollowedLink.js`) rely on the fact that the JS click handler actor gets invoked for link clicks in the child - even if we then [decide in the parent actor not to do anything with the click](https://searchfox.org/mozilla-central/rev/553bf8428885dbd1eab9b63f71ef647f799372c2/browser/actors/ClickHandlerParent.jsm#96-99) because docshell itself will handle left mouse clicks with no modifier keys pressed. If we do the `whereToOpenLink` check in the child and don't broadcast it to the parent, the test starts failing.

Really, IMO all this code (ie handling modifier-clicks on links, as well as informing places about link clicks generally) should move to docshell/DOM, so it can more closely follow the spec. AIUI there should be docshell load flags indicating something was a link click, and we should be able to use those to indicate as much to places.
Bug: FF94 has broken Opera GX Theme
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2021-11-25 05:28:00+00:00
Resolved: 2023-08-24 14:38:27+00:00

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

Steps to reproduce:

1. Create a new test profile.

2. Install [Opera GX by Seburo](https://addons.mozilla.org/en-US/firefox/addon/opera-gx/)

3. Right click on the urlbar to bring out the context menu, the menu's color is faded and the fonts are hard to see.


Actual results:

Right click on the urlbar to bring out the context menu, the menu's color is faded and the fonts are hard to see.


Expected results:

The context menu on the urlbar should be similar to the context menu on the tab bar, as you can see from the screenshot, the context menu on the tab bar is of normal color and the fonts are seen and can be easily read.

Please note that this wasn't like this in Firefox 93.0.
Bug: Lost all Quick Access Bookmarks and then all except 5 of others!
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-11-25 07:27:33+00:00
Resolved: 2022-01-07 07:16:35+00:00

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

Steps to reproduce:

I created an additional Windows User account and switched back to the original account.


Actual results:

I lost ALL of my Quick Access Bookmarks! Then I did a Bookmark Restore using the most recent saved Bookmark file and I lost around 64,050 bookmarks!!! Now, the latest saved Bookmark file lists 5 items. This is a ridiculous and a very serious issue!!!

What is going on? I spend a lot of time getting important Bookmarks for research, and etc. How can I get all of my Bookmarks back? Apparently, I cannot get them all back. I am afraid to do ANY Restore now because the one I did erased approximately 64,050 Bookmarks.


Expected results:

No change in the Firefox Bookmarks.
Bug: preferred search engines are replaced
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-11-25 07:37:52+00:00
Resolved: 2022-01-04 13:50:51+00:00

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

Steps to reproduce:

Version 94.0.1 and 94.0.2 were automatically installed. 
Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0


Actual results:

When I restarted, Google was at once my default search engine and the superfluous engines like Amazon and Wikipedia were also present again whilst I had them removed in the past.  


Expected results:

My settings for the search engines should be preserved.
Bug: Selection of a PDF does not cover all characters
Status: NEW
Priority: --
Created: 2021-11-25 09:56:12+00:00
Resolved: 2022-02-24 18:23:28+00:00

Steps to reproduce:

Open https://onlinejudge.org/index.php?option=onlinejudge&Itemid=8&page=show_problem&problem=1868 and scroll to Sample Output of the embedded PDF.
Select the last 6 lines.


Actual results:

Last characters of each line seem not to be selected. (But they are selected because you can copy and paste them)


Expected results:

Last characters should be selected.
Bug: Firefox Sync doesn't works without message error
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-11-25 10:52:45+00:00
Resolved: 2021-11-25 11:35:51+00:00

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

Steps to reproduce:

I was invited to update firefox while i'm not administrator.
The the update continue even if i close the control account user windows.
Then It support of my company uninstall firefox and reinstall it but it doesn't work yet.
 I use remote desktop in my company and my IT support doesn't find solution


Actual results:

Synchronisation doesn't work even if i'm connected and there is no error message. However, synchronisation is activeted.


Expected results:

I would like synchronisation works
Bug: Clicking on a download file-button on a website opens the file in a new tab instead of asking me where to save the file. (With always ask me where to save files enabled)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-11-25 16:00:41+00:00
Resolved: 2021-11-26 14:09:05+00:00

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

Steps to reproduce:

1. Find a pdf-file on the internet with a download button.

2. Click the download button.


Actual results:

Firefox opens a new tab with the file instead of asking me where to save the file and starting the download.


Expected results:

It should ask the user where it wants to save the file. (Because that is what is the option that is enabled.)
Bug: DownloadSpamProtection.jsm gets a single window and download indicator reference immediately when created
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2021-11-25 16:09:57+00:00
Resolved: 2022-10-10 14:04:51+00:00

DownloadIntegration is a singleton (there's only one of them for the lifetime of the parent process).

Users can create more than one browser window.

But DownloadIntegration caches its reference to a single download spam protection object, and that object gets a single window and downloads indicator (`_browserWin` and `_indicator`) as property references when created.

This causes a problem when there is more than one window.

Instead, I think we should get the window reference inside the `observe()` method. It would also be best to use some of the download information (the C++ code has access to the channel and should be able to determine a browsing context from that, that it can pass as the "subject" argument for the observer notification) rather than relying on the download happening on whatever window is top-most at that point (which of course doesn't need to be the case, necessarily).

The next question is what to do about the indicator. It seems like right now we put downloads into a single list, no matter what window they came from? We might need to think about that - either keep per-window lists, or ensure the same list is accessible in all the windows, not just in the one that is top-most when a download is blocked. I think we talked about this with UX but I don't remember the outcome. Micah, do you recall?
Bug: no longer able to "move" items in menus and sub-menus
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-11-25 16:24:54+00:00
Resolved: 2021-12-06 07:16:44+00:00

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

Steps to reproduce:

Tried to move a NEWly added menu item to where I want it in menu.

64 bit firefox to be sure, patched weekly with most recent patches on fedora.
After putting a recently bookmarked item into my "accounts" sub-menu, I tried to select (left click and hold) to drag the new item to where I wanted in the sub-menu which has over 20 entries already (I organize alphabetically).


Actual results:

I left-clicked on the new item, held the mouse down and tried to move it up where I wanted in the menu. It shows an insertion point correctly (colored line between two other items), but does not move. This has been working for years.
I also tried the same thing with the bookmarks menu manager - same result.
I also tried "cutting" the new item in the menu manager and then tried to paste it.
  The cut items appears dimmed out but will not paste.


Expected results:

I have been doing this to order my menus for years. Normally holding the left button down on the menu item to be moved allows you to drag it where you want.

I am still able to drag something from the recently bookmarked into my "accounts" sub-menu (my sub-menu name), but once there I cannot drag it to where I want it which had been working till recently.
Bug: There are 11 results displayed in the Address Bar drop-down when certain sponsored or non sponsored results are triggered
Status: VERIFIED
Priority: P3
Resolution: FIXED
Created: 2021-11-25 17:15:01+00:00
Resolved: 2021-12-09 07:24:50+00:00

**[Affected Versions]:**
- Firefox Nightly 96.0a1 (Build ID: 20211124155224)
- Firefox Beta 95.0b11 (Build ID: 20211123190150)
- Firefox Release 94.0.2 (Build ID: 20211117154346)

**[Affected Platforms]:**
- Windows 10 x64
- macOS 10.15.7
- Ubuntu 20.04 x64

**[Prerequisites]:**
- Have the sponsored and non sponsored suggestions enabled.
- Have the "browser.search.region" set to "US".

**[Steps to reproduce]:**
1. Open the latest Nightly/Beta build with the profile from prerequisites.
2. Open a New Tab page and type "puma".
3. Observe the number of results displayed in the Address Bar drop down.

**[Expected results]:**
- There are 10 results displayed.

**[Actual results]:**
- There are 11 results displayed.

**[Notes]:**
- This issue is reproducible with both Remote Settings and Merino.
- This issue is reproducible with other keywords: “wikipedia”, “apple”, “rolex” etc.
- This issue is not reproducible with other keywords: “ebay”, “amazon”.
- Attached is a screen recording of the issue.
Bug: Startpage in Firefox of my favorite search engine not appearing,when I turn browser history off,but appearing when I turn browser history on.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-11-25 21:21:55+00:00
Resolved: 2021-12-21 15:06:18+00:00

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

Steps to reproduce:

In Firefox I turn the browser history off because of security reasons (instead I use bookmarks). In former versions of Firefox the homepage of "Startpage.com" appeared on the main screen,when I opened Firefox,no matter if the browser history was turned on or off.Since Version 91 or 92 of Firefox this has become different.I discovered recently the reason for this bug.


Actual results:

Since Version 91 or 92 the Firefox homepage or -in my former system Manjaro Linux- the homepage of Manjaro, appeared as startpage of Firefox,when opening Firefox.When I turn on the browser history in Settings,the startpage of "Startpage.com" becomes the home screen in Firefox.When I turn browser history off,then the Firefox home page appears on the home screen.Moreover,when I add the address of Startpage search engine in Settings - Startpage - userdefined addresses,restart Firefox,this setting disappears or is not saved.When I turn on browser history then this setting is saved.This I found out by accident !


Expected results:

When I choose Startpage as starting page of Firefox,it should remain so.When I open Firefox the Startpage.com home page should appear right away and not the Firefox home page,no matter if I turn browser history on or off,as it was normal in former Firefox versions,since 2016,the time when I began to use Firefox.
Bug: Notification messages try to use telemetry scalars that don't exist
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-11-26 02:04:19+00:00
Resolved: 2022-05-04 18:58:14+00:00

A notification-message element will try to add to a telemetry scalar when it is shown or dismissed or a button is clicked, event if it has no scalar to add to. This results in a confusing " - unknown scalar" message on the console.
Bug: tabs opened in background sometimes do not load
Status: NEW
Priority: --
Created: 2021-11-26 05:58:32+00:00
Resolved: 2021-12-10 12:11:35+00:00

When opening several web pages from an 'index page' at the site, some of the pages fail to load. Those failures have two "fix" modes:

1:  Simply select the content of the URL field then hit return or reload

2: As above, but copy, clear the field, paste and hit return or reload

This is often seen when I look at https://www.bbc.com/news and then click several article links in succession, perhaps with as little as a half second between clicks.

Now we get to the "well maybe" section:

I have not seen this at any site where javascript is not used

I THINK I may be seeing it more at sites where MUCH javascript is in use

I WONDER if there's a glitch in accessing cached javascript

I do have a moderately slow internet connection: 9.69 Mbps download, 2 Mbps upload as measured by Ookla speedtest app on my Mac

Steps to repeat: Set up a slow internet connection. Visit the bbc url mentioned above. Move quickly between article headlines, clicking each, until "seveal" have been chosen, more will increase probability. You may close the first tab or not. Visit each tab and observe whether or not it has loaded its page. Whether this happens for any given tab is intermittent. 

OS: macOS Catalina V 10.15.7
Processor: 2.5 ghz quad-core intel i7
Memory: 16 GB 1600 MHz DDR3
Graphics: Intel Iris Pro 1536 MB
  System Version:	macOS 10.15.7 (19H1419)
  Kernel Version:	Darwin 19.6.0
  Boot Volume:	Macintosh HD
  Boot Mode:	Normal
  Secure Virtual Memory:	Enabled
  System Integrity Protection:	Enabled
  Time since boot:	52 days 3:50

Firefox: 94.0.2 (64-bit)
Bug: Firefox screenshots preview image is barely visible in Windows high contrast mode
Status: NEW
Priority: P5
Created: 2021-11-26 13:37:48+00:00
Resolved: 2023-01-19 23:29:09+00:00

**Affected versions**
* Firefox 96.0a1 (BuildId:20211125214104)
* Firefox 95.0b12 (BuildId:20211125185815)
* Firefox 94.0.2 (BuildId:20211119140621)
* Firefox 91.3.0esr (BuildId:20211028170545)
    
**Affected platforms**
* Windows 10 64bit.

**Preconditions**:
* Enable high contrast themes from Windows system settings.

**Steps to reproduce**
1. Launch Firefox.
2. Access the following [link](https://en.wikipedia.org/wiki/Main_Page).
3. Right click on the page and select the "Take Screenshot" context menu option.
4. Click the "Save full page" option.
   
**Expected result**
* The screenshot preview image is successfully displayed.

**Actual result**
* The screenshot preview image is barely visible.

**Regression Range**
This seems to be a regression.

Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=7b86ed091946bfb1271f0fc4b97f9e011a58dd1f&tochange=0c18e36c5e1e051a94af7b1f81d16e34c29828e8

Possible regressor: Bug 1667887
Bug: Stop showing Mozilla VPN campaign messages in PBM in regions where it is not available
Status: RESOLVED
Priority: P1
Resolution: DUPLICATE
Created: 2021-11-26 13:42:03+00:00
Resolved: 2022-01-06 12:25:28+00:00

The [default value](https://searchfox.org/mozilla-central/rev/65d4d3399afa79c8de5a0cc11752d2ba7c31edc1/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js#169) for PBM is to show the Mozilla VPN message in all regions (even the ones where it is not available).
Bug: Clicking the button to open the login page in the captive portal error page UI opens the login page in every open window
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2021-11-26 14:55:13+00:00
Resolved: 2021-12-14 02:14:48+00:00

So we're firing an observer notification here: https://searchfox.org/mozilla-central/rev/65d4d3399afa79c8de5a0cc11752d2ba7c31edc1/browser/actors/NetErrorParent.jsm#279

This results in every CaptivePortalWatcher instance - that is, every open window - receiving the obs notification and opening a login page tab.

This might be the same or similar issue seen in a number of other captive portal bugs, I'm not sure... but we can dupe those as necessary when we revisit them.
Bug: Kiosk mode should suppress many shortcuts
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2021-11-26 19:01:31+00:00
Resolved: 2021-11-30 22:58:11+00:00

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

Steps to reproduce:

In a kiosk-mode application, where the user should be locked into the application, type Ctrl+N, Ctrl+T, or Ctrl+U.


Actual results:

You get a new window/tab and escape from the application.  (And, worse, because it's kiosk mode it's not obvious how to get back.)


Expected results:

Nothing.

It would be OK if the application had to explicitly catch and ignore the event, but in general in kiosk mode it seems like none of these should be respected in kiosk mode.

A general web site that disables these short cuts is rude, but here we're talking about kiosk mode.
Bug: Address bar resets any uncommitted contents and loses focus when detached/separated from other tabs
Status: VERIFIED
Priority: P3
Resolution: FIXED
Created: 2021-11-26 23:23:21+00:00
Resolved: 2023-06-20 14:09:46+00:00

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

Steps to reproduce:

1) In a window with multiple tabs open, enter some text into the address bar of an open tab. Do not press enter.
2) Separate the active tab from the others.


Actual results:

The contents of the address bar reset to the prior contents of the open tab, such as the URL of the current page, losing the uncommitted contents. Additionally, the URL bar becomes no longer active/selected.


Expected results:

The uncommitted text should remain in the URL bar, like it remains when a window is maximized or minimized with uncommitted text. The URL bar should also remain active/selected, like it remains in that scenario.
Bug: Account / Bookmarks did not sync/ load
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-11-27 00:35:55+00:00
Resolved: 2021-11-28 02:02:16+00:00

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

Steps to reproduce:

I logged into FireFox, account but forgot the password. Upon password reset, I started the sync process to get bookmarks and passwords. Account: minyjj@gmail.com


Actual results:

Nothing synced. I couldn't see any of my bookmarks. 


Expected results:

Should've seen everything from my previous FireFox in my new one.