av9ash/GitBugs huggingface dataset:
Bug: Signout is really slow during initial sync
Status: NEW
Priority: P3
Created: 2023-05-23 16:33:47+00:00
Resolved: 2023-06-12 13:20:38+00:00

With a fresh Nightly built from `central`, I performed the following steps:

1. Sign in via the app menu.
2. After completion, tap “Sign out” in the app menu.
4. In the confirmation dialog, tap “Sign out”.
5. Start a timer and wait for the UI to reflect signout.

That took me first 62 seconds, then 63 seconds on a second try. This seems really slow.

Waiting until the initial sync has completed before signing out made it nearly instantaneous.
Bug: Spoofing of URL bar on net error page
Status: NEW
Priority: --
Created: 2023-05-23 18:22:48+00:00
Resolved: 2024-05-30 18:09:31+00:00

Severity: High

Description:
The web page in question contains a deceptive redirection and phishing attempt, aiming to mislead users into believing they are accessing the legitimate website eg: "www.google.com" while displaying a misleading error message. The following security concerns have been identified:

Deceptive Redirection:

When the victim clicks on the provided link, the browser's address bar displays "www.google.com," creating the impression of accessing the legitimate Google website.
However, the actual content displayed on the page is a deceptive error message indicating a connection issue and suggesting an incorrect URL, "www.htp.com//www.google.com."
This redirection technique attempts to mislead users and trick them into believing they are on a legitimate website, potentially leading them to disclose sensitive information or perform unintended actions.

Phishing Attempt:

By displaying a legitimate domain name in the address bar, combined with an error message resembling a typical network connectivity issue, the attacker attempts to deceive users into thinking the problem lies with their network or browser.
The error message suggests possible actions to the victim, such as checking network connections or browser permissions, leading them away from suspecting foul play.
This phishing attempt aims to trick users into disclosing sensitive information, such as login credentials, personal data, or financial details, on a fake website designed to mimic the legitimate Google site.

Recommendations:
To mitigate the aforementioned security risks, the following recommendations are proposed:


Enhanced Browser Security:

Browser developers should implement stricter controls and validations to prevent misleading or deceptive behavior related to URL display, especially in cases of redirection.
Display clear warnings or indicators when a website is displaying an error message that does not align with the expected behavior of a legitimate site.
Bug: Minor flaw: Update check icon not vertically aligned to text in About dialog
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-05-23 21:30:19+00:00
Resolved: 2023-05-23 22:44:54+00:00

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

Steps to reproduce:

Opened the About dialog from menu bar and checked for updates. 


Actual results:

(If updated), the check icon is not vertically aligned (see screenshots) to the text as in previous versions (for example in Fx ESR). Instead it is situated EITHER above the text or slightly below the text, seemingly randomly, but perhaps dependent on language setting. When tested in US English the check icon was situated slightly below.


Expected results:

The check icon should have been vertically aligned to the text as in previous Fx versions.
Bug: Error message is not displaying when we enter invalid username and password in flight application login page
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-05-24 02:23:29+00:00
Resolved: 2023-05-24 02:31:55+00:00

I have entered invalid username and invalid password in the login page and then clicked on Signed in Button. No error message is displayed.
Bug: Firefox Home : Top site bookmarks doesnt work when new window openned
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-05-24 07:54:34+00:00
Resolved: 2023-06-05 23:30:57+00:00

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

Steps to reproduce:

Open new tab
Move it as new window
Try to open a top site bookmark

(I have edited the value of "browser.newtabpage.activity-stream.section.highlights.rows" to 5, in case that change something)


Actual results:

Nothing


Expected results:

The bookmarks should open
Bug: awesomebar hints that there is an url open already in some tab but when that is selected, some totally random tab is focused
Status: RESOLVED
Priority: P3
Resolution: WORKSFORME
Created: 2023-05-24 10:28:21+00:00
Resolved: 2024-03-14 08:56:13+00:00

This has happened for a long time, but recently this has started to happen almost constantly on this one FF profile.
Bug: The "Autoplay Blocked" text gets stuck on tab.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-05-24 11:40:54+00:00
Resolved: 2023-08-28 12:37:25+00:00

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

Steps to reproduce:

1) Open a YouTube video.
2) Pause playback very soon after it starts.


Actual results:

The "Autoplay Blocked" text gets stuck on the tab.  When resuming playback, the "Playing" text also fails to display.  It doesn't happen every time, seems to be a race condition triggered by quickly pausing the video after playback first starts.
Bug: [Experiment] The ““Promote VPN on Firefox” spotlight is not dismissed after pressing “X” (close) button on Firefox Release 109 and 110
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-05-24 12:01:58+00:00
Resolved: 2023-06-30 12:21:30+00:00

**[Affected versions]:**
- Firefox Release 109.0, BUILD ID: 20230112150232
- Firefox Release 110.0, BUILD ID: 20230214051806


**[Affected Platforms]:**
- Windows 10x64
- Windows 11x64 

**[Prerequisites]:**
- Have the following prefs in the “about:config” page:
        - `nimbus.debug` set to `true`
        - `browser.newtabpage.activity-stream.asrouter.devtoolsEnabled` set to `true`
- Have the “browser.newtabpage.activity-stream.asrouter.devtoolsEnabled” pref set to true in the “about:config” page. 

**[Steps to reproduce]:**
1. Open the browser with the profile from the prerequisites.
2. Navigate to the “about:studies?optin_slug=vpn-spotlight-modal-phase-1&optin_branch=treatment-a&optin_collection=nimbus-preview” for force enrollment. 
3. Navigate to the “about:newtab#asrouter” page. 
4. Select the “eco” option from the “Show messages from” section.
5. Search for the “vpn-spotlight-modal-phase-1-fr:treatment-a “ message. 
6. Click the “Show” button. 
7. Click the “X” (close) button from the “Promote VPN on Firefox” spotlight. 
8. Observe the results. 

**[Expected results]:**
- The “Promote VPN on Firefox” spotlight is dismissed. 

**[Actual results]:**
- The “Promote VPN on Firefox” spotlight is not dismissed after pressing the “X” button.

**[Notes]:**
- The “click_button” and “dismiss” telemetry pings related to the “X” button are displayed in the “Browser Console”. 
- The issue is reproducible on all the branches of the experiment.
- This issue is reproducible on all “Promote VPN on Firefox” experiments.
- Starting with the Firefox Release 111.0 build this issue is not reproducible.
- Attaching a screen recording of the issue.
Bug: Intermittent browser/base/content/test/general/browser_tabDrop.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-05-24 12:02:04+00:00
Resolved: 2025-02-03 12:06:43+00:00

**Filed by:** smolnar [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=416858719&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/F7YY7ukTRsyngxB_4PN9Ag/runs/0/artifacts/public/logs/live_backing.log

---
```
INFO - TEST-PASS | browser/base/content/test/general/browser_tabDrop.js | Got drop event - 
[task 2023-05-24T11:28:06.569Z] 11:28:06     INFO - Leaving test bound single_url3
[task 2023-05-24T11:28:06.569Z] 11:28:06     INFO - Entering test bound multiple_urls
[task 2023-05-24T11:28:06.569Z] 11:28:06     INFO - Starting test for dragData:[[{"type":"text/plain","data":"mochi.test/1\nmochi.test/2"}]]; expectedURLs.length:2
[task 2023-05-24T11:28:06.570Z] 11:28:06     INFO - Buffered messages logged at 11:26:24
[task 2023-05-24T11:28:06.570Z] 11:28:06     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2023-05-24T11:28:06.572Z] 11:28:06     INFO - Console message: [JavaScript Warning: "Loading failed for the <script> with source �chrome://global/content/neterror/aboutNetErrorCodes.js�." {file: "about:neterror?e=dnsNotFound&u=http%3A//mochi.test/third&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20mochi.test." line: 125}]
[task 2023-05-24T11:28:06.573Z] 11:28:06     INFO - Buffered messages finished
[task 2023-05-24T11:28:06.574Z] 11:28:06     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_tabDrop.js | Test timed out - 
[task 2023-05-24T11:28:06.574Z] 11:28:06     INFO - GECKO(9476) | MEMORY STAT | vsize 2104818MB | vsizeMaxContiguous 67419866MB | residentFast 444MB | heapAllocated 135MB
[task 2023-05-24T11:28:06.575Z] 11:28:06     INFO - TEST-OK | browser/base/content/test/general/browser_tabDrop.js | took 150271ms
```
Bug: Form Autofill Data gets doubled when performing the second import
Status: NEW
Priority: P3
Created: 2023-05-24 12:10:13+00:00
Resolved: 2023-06-13 12:11:35+00:00

**Found in**
114.0b8

**Affected versions**
114.0b8
115.0a1

**Tested platforms**
**Affected platforms**
Ubuntu 22.05
Windows 10x64
macOS 12
**Unaffected platforms:** none

**Preconditions**
- clean profile
- have some saved data inside Chrome on https://fill.dev/form/identity-simple
- have the Browser Console opened

**Steps to reproduce**
1. Open Firefox and import Form autofill data from Chrome.
2. Open https://fill.dev/form/identity-simple and check that the form history is imported.
3. Import Form autofill data from Chrome one more time.
4. Open https://fill.dev/form/identity-simple and check once again the form history.

**Expected result**
The import is correctly done, no entry gets doubled.

**Actual result**
The import is correctly done but the data is doubled after the second import.

**Regression range**
Most likely not a regression and was introduced when the Import Saved Form History was implemented (bug 1827425).

**Severity**
S3

**Additional note**
- After a third import the data does not get tripled, but we get the following console error :
Error: Database contains multiple entries with the same fieldname/value pair.
    update resource://gre/modules/FormHistory.sys.mjs:1130
- On beta the error is displayed several times and on the nightly builds the error is displayed only once.
- This is reproducible with legacy migration and the new migration wizard.
Bug: Restore session option is disabled on restart
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-05-24 14:15:07+00:00
Resolved: 2024-04-01 12:22:22+00:00

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

Steps to reproduce:

-in 'about:preferences', enabled 'Open previous windows and tabs' on Startup
-closed Firefox with 46 tabs open
-opened Firefox


Actual results:

only the pinned tabs were restored


Expected results:

all tabs should have been restored
Bug: Downloads button on toolbar/overflow menu not showing last 5 downloads after making many downloads in one session
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2023-05-24 15:01:11+00:00
Resolved: 2023-06-24 09:17:36+00:00

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

Steps to reproduce:

This bug happens after using Firefox for some length of time, usually several hours, and downloading/opening multiple files, but I can't produce a step-by-step guide to reproduce it. The factors I think that I think may come into play are the number of downloads in your current session and the length of time Firefox has been open. The downloads button stops working at a seemingly random point most days. Today for example, I had Firefox open for about 1 hour 45 minutes and opened 31 files before it stopped working for me.

Downloads themselves still work (you can hit CTRL + Shift + Y to see them, as normal); only the toolbar button itself is broken. This bug is present in both Firefox 113.0.2 and Firefox ESR 102.11.0esr on Linux. I have "Hide Button when Empty" unchecked for the downloads button. 


Actual results:

The downloads button on the main toolbar (or overflow menu, depending on where it's located) stops working. Hovering on the button produces the shadow as expected and you can see that clicking the button is registered, but the drop-down bubble showing your last 5 downloads does not appear.


Expected results:

Clicking the downloads button should always show the user's last 5 downloads in a drop-down bubble.
Bug: Bookmark without favicon as FaviconLoader.jsm gets `NS_BINDING_ABORTED`
Status: NEW
Priority: P3
Created: 2023-05-24 17:17:20+00:00
Resolved: 2023-07-03 11:48:22+00:00

When bookmarking the website https://www.sportstracklive.com/en only the generic favicon shows for the bookmark, although the page's real favicon shows in the tab every time.

Two preliminary fidings:

- It seems to be related to the fact that the request by FaviconLoader.jsm ends with `NS_BINDING_ABORTED`
- UBlockOrigin is likely a necessary condition for the issue, although...
  - ...it has been reported to work occasionally with UBO
  - ...deactivating UBO for the page does not change anything
Bug: browser/components/shell/nsMacShellService.h:10:10: fatal error: 'nsIMacShellService.h' file not found
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-05-25 03:48:15+00:00
Resolved: 2024-06-03 13:41:10+00:00

Building with --target=aarch64-apple-ios fails with (among many other things):
```
 1:42.51 In file included from StaticComponents.cpp:155:
 1:42.51 /tmp/gecko/xpcom/components/../../browser/components/shell/nsMacShellService.h:10:10: fatal error: 'nsIMacShellService.h' file not found
 1:42.51 #include "nsIMacShellService.h"
 1:42.51          ^~~~~~~~~~~~~~~~~~~~~~

```
Bug: [Experiment] The “FXA_ ACCOUNTS_BADGE” impression ping is displayed in the Browser Console without having the FxA button displayed yet
Status: NEW
Priority: --
Created: 2023-05-25 07:38:05+00:00
Resolved: 2023-05-25 07:39:57+00:00

**[Notes]:**
- This issue is reproducible on experiments having the “first-startup” advanced targeting not set.

**[Affected versions]:**
 - Firefox Release 111.0 - Build ID: 20230309232128
 - Firefox Release 112.0 - Build ID: 20230406114409
 - Firefox Release 113.0 - Build ID: 20230504192738

**[Affected Platforms]:**
- Windows 10x64.
- macOS 13.2
- Linux Mint 20.2

**[Prerequisites]:**
- Have any of the Firefox versions from the above installed.
- Have this [“user.js”](https://drive.google.com/file/d/1JDNXKVlOoBj6nZB56ViofyjbH6OVTB4y/view?usp=sharing) file saved on your computer.

**[Steps to reproduce]:**
1. Created a new profile using the Command Prompt window..
2. Paste the “user.js” file in the profile folder and open the browser from the prerequisites.
3. Open the Browser Console (Ctrl/Cmd+Shift+J) and wait a few seconds.
4. Observe the behavior.

**[Expected result]:**
 - The FxA button is not yet displayed in the toolbar area and no “FXA_ ACCOUNTS_BADGE” impression ping is displayed in the Browser Console.

**[Actual result]:**
- The FxA button is not yet displayed in the toolbar area and the “FXA_ ACCOUNTS_BADGE” impression ping is displayed in the Browser Console.


**[Notes]:**
- An additional restart of the browser is required after enrollment to apply the changes from the experiments which are not “first-startup” experiments.
- Attaching a screen recording of the issue:
Bug: TreeWalker for keyboard navigation should use inIDeepTreeWalker in order to reach elements in shadow DOM
Status: NEW
Priority: P3
Created: 2023-05-25 07:55:04+00:00
Resolved: 2023-07-13 09:53:48+00:00

## STR

1. Add a [dismissable `message-bar`](https://firefoxux.github.io/firefox-desktop-components/?path=/story/ui-widgets-message-bar--dismissable) in a panel (e.g. the extensions panel)
2. Try to reach the "close" button using keyboard navigation

## Expected

We can close the message bar with keyboard navigation.

## Actual

We can never get to the close button because it is in shadow DOM and we don't support that.
Bug: 'ads' trigger word for ublock add-on suggestions is not working
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-05-25 09:41:24+00:00
Resolved: 2023-05-29 06:08:28+00:00

**Found in**
* Fx115.0a1

**Affected versions**
* Fx 115.0a1

**Affected platforms**
* Windows 10
* macOS
* Ubuntu 20

**Preconditions**
browser.urlbar.addons.featureGate set to true
browser.urlbar.suggest.addons set to true
browser.urlbar.quicksuggest.enabled set to true
browser.urlbar.suggest.quicksuggest.nonsponsored set to true
browser.urlbar.quicksuggest.dataCollection.enabled set to true
browser.urlbar.merino.enabled set to true
browser.urlbar.merino.providers set to amo
browser.urlbar.bestMatch.enabled set to true

**Steps to reproduce**
1. Launch Firefox.
2. In the URL bar, type 'ads'.

**Expected result**
* Firefox add-on suggestion for ublock is displayed under the top pick section.

**Actual result**
* No add-on suggestion is displayed.

**Regression range**
* This is not a regression.

**Additional notes**
* browser.urlbar.addons.minKeywordLength is set to 1, so it's not because of the keyword lenght requirement.
* According to [add-on document](https://docs.google.com/document/d/1dMujt_UJWGKoytPcJGv71RJpBeSL2tM91w_xwfhd700/edit#), 'ads' should be one of the keywords for ublock add-on suggestion.
Bug: Firefox add-on suggestion is not correctly displayed in RTL builds
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-05-25 10:03:33+00:00
Resolved: 2023-05-31 21:47:31+00:00

**Found in**
* Fx 115.0a1

**Affected versions**
* Fx 115.0a1

**Affected platforms**
* Windows 10
* macOS
* Ubuntu 20

**Preconditions**
browser.urlbar.addons.featureGate set to true
browser.urlbar.suggest.addons set to true
browser.urlbar.quicksuggest.enabled set to true
browser.urlbar.suggest.quicksuggest.nonsponsored set to true
browser.urlbar.quicksuggest.dataCollection.enabled set to true
browser.urlbar.merino.enabled set to true
browser.urlbar.merino.providers set to amo
browser.urlbar.bestMatch.enabled set to true

Use an RTL build locale like: ar, he.

**Steps to reproduce**
1. Launch Firefox.
2. In the URL bar, input a keyword of an add-on suggestion (e.g. typo, darker, video dl)

**Expected result**
* All elements of the add-on suggestion are correctly displayed in RTL.

**Actual result**
* Last character for the first 2 lines is not displayed in it's correct spot (e.g. '/' which is the last character for the URL is displayed at the begining of the title)
* Last review star orientation is not correct. If it's 1/2 of a star, the empty half of the star should be on the left side of the star, not the right side.

**Regression range**
* Not a regression

**Additional notes**
* Please see the attachment for more details.
* The issue occurs regardless of the section where the add-on suggestion is displayed (top pick or firefox suggest)
Bug: Changing keyword capitalization causes firefox add-on suggestion to NOT be displayed
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-05-25 10:35:33+00:00
Resolved: 2023-06-09 15:05:13+00:00

**Found in**
* Fx 115.0a1

**Affected versions**
* Fx115.0a1

**Affected platforms**
* Windows 10
* macOS
* Ubuntu 20

Preconditions
browser.urlbar.addons.featureGate set to true
browser.urlbar.suggest.addons set to true
browser.urlbar.quicksuggest.enabled set to true
browser.urlbar.suggest.quicksuggest.nonsponsored set to true
browser.urlbar.quicksuggest.dataCollection.enabled set to true
browser.urlbar.merino.enabled set to true
browser.urlbar.merino.providers set to amo
browser.urlbar.bestMatch.enabled set to true

**Steps to reproduce**
1. Launch Firefox.
2. In the URL bar, write 'ublock Origin'.

**Expected result**
* The Firefox add-on suggestion for Ublock is displayed in the top pick section.

**Actual result**
* NO add-on suggestion is triggered.

**Regression range**
* Not a regression.

**Additional notes**
* Add-on suggestions are only displayed if they keywords don't contain any capital letters.
Bug: Make ntp stylelint warnings errors instead
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-05-25 12:24:01+00:00
Resolved: 2023-06-08 00:08:27+00:00

Given the patches in bug 1832765 are ready to go it probably make sense to do this afterwards. But we should probably upgrade them now rather than later - so they make infra go orange when people break the linting rules.
Bug: VoiceOver re-focuses the Address Bar whilst the Add-on Suggestion result is shown as focused
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-05-25 12:31:04+00:00
Resolved: 2023-06-23 06:17:21+00:00

**Notes**
* Please see [this recording](https://drive.google.com/file/d/1Dxh7Vx9nl9QKQ09ewgZaApXmvu2PZUjr/view?usp=sharing) for more detail. 

**Found in**
* 115.0a1;

**Affected versions**
* 115.0a1;

**Tested platforms**
* macOS 12;
* Windows 10;
* Ubuntu 22;


**Affected platforms**
* macOS 12;

**Unaffected platforms**
* Windows 10;
* Ubuntu 22;

**Preconditions** 
* browser.urlbar.addons.featureGate set to true
* browser.urlbar.suggest.addons set to true
* browser.urlbar.quicksuggest.enabled set to true
* browser.urlbar.suggest.quicksuggest.nonsponsored set to true
* browser.urlbar.quicksuggest.dataCollection.enabled set to true
* browser.urlbar.merino.enabled set to true
* browser.urlbar.merino.providers set to amo
* browser.urlbar.bestMatch.enabled set to true
* Have a screen reader enabled in your OS.

**Steps to reproduce**
1. Launch Firefox with the profile from preconditions.
2. Type a keyword that would trigger an Add-on Top Pick result, such as ‘grammar’.
3. Using Down Arrow key/Tab, navigate with the keyboard until the ‘Top Pick’ option is focused. 
4. Observe VoiceOver’s behavior. 

**Expected result**
* VoiceOver focuses the Add-on Suggestion result and reads the description accurately.

**Actual result**
* VoiceOver re-focuses the Address Bar whilst the Add-on Suggestion result is shown as focused. The user has to tab again in order to focus the Top Pick properly. 


**Regression range**
* Not a regression.
Bug: 'tts' trigger word for Read Aloud: A Text to Speech Reader add-on suggestions is not working
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-05-25 12:38:38+00:00
Resolved: 2023-05-29 05:50:33+00:00

**Found in**
* Fx115.0a1

**Affected versions**
* Fx 115.0a1

**Affected platforms**
* Windows 10
* macOS
* Ubuntu 20

**Preconditions**
browser.urlbar.addons.featureGate set to true
browser.urlbar.suggest.addons set to true
browser.urlbar.quicksuggest.enabled set to true
browser.urlbar.suggest.quicksuggest.nonsponsored set to true
browser.urlbar.quicksuggest.dataCollection.enabled set to true
browser.urlbar.merino.enabled set to true
browser.urlbar.merino.providers set to amo
browser.urlbar.bestMatch.enabled set to true

**Steps to reproduce**
1. Launch Firefox.
2. In the URL bar, type 'tts' or 'TTS'.

**Expected result**
* Firefox add-on suggestion for Read Aloud: A Text to Speech Reader add-on.

**Actual result**
* No add-on suggestion is displayed.

**Regression range**
* This is not a regression.

**Additional notes**
* According to [add-on document](https://docs.google.com/document/d/1dMujt_UJWGKoytPcJGv71RJpBeSL2tM91w_xwfhd700/edit#), 'tts' should be one of the keywords for Read Aloud: A Text to Speech Reader add-on suggestion.