av9ash/GitBugs huggingface dataset:
Bug: Handle invalid content signatures for RemoteSettings attachments
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2023-03-29 15:50:22+00:00
Resolved: 2023-04-14 09:12:13+00:00

```
Error: Invalid content signature (main/translations-models) using 'remote-settings.content-signature.mozilla.org-2023-03-20-18-44-46.chain'

Original stack:

InvalidSignatureError@resource://services-settings/RemoteSettingsClient.sys.mjs:169:5
_validateCollectionSignature@resource://services-settings/RemoteSettingsClient.sys.mjs:1021:13
```

I have gotten this twice now, and Marco has gotten it as well. This bug is to ensure that we delete the record if it's invalid. We should also investigate why this is happening, but at the very least we need to be able to remove invalid payloads. For instance, a hard drive issue could invalidate the payload and we need to be able to get the user back into a good state.

This happens in multiple places, but basically anywhere we pass `VERIFY_SIGNATURES_FROM_FS` we need to handle the error by deleting the record, and re-retrieving it.

https://searchfox.org/mozilla-central/rev/42747dfd314e4c939dc7c33a13e1a2fddf4926fc/toolkit/components/translations/actors/TranslationsParent.sys.mjs#183-187
Bug: Firefox opens downloaded files in wrong app on KDE Plasma (Linux)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-03-29 16:02:17+00:00
Resolved: 2023-03-31 15:01:22+00:00

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

Steps to reproduce:

1. Download a file of a specific type (e.g. a .txt file from https://filesamples.com/formats/txt)
2. Click on the downloads icon in Firefox and open the file/click on the downloaded file


Actual results:

.txt file is getting opened in the Wine text editor.
.html file is opened in Google Chromium.


Expected results:

.txt file should have been opened in KDE Kate.
.html file should have been opened in KDE Kate.

The files are opened in the correct app (KDE Kate) when double clicking them in my file explorer (KDE Dolphin) and when running something like `xdg-open example.txt`
Bug: Dismissals prevent further engagement events from being recorded in the session
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-03-29 21:52:48+00:00
Resolved: 2023-04-03 14:43:34+00:00

STR

1. Enable quick suggest (or any type of result that can be dismissed)
2. Type "amazon" to trigger a quick suggest
3. Dismiss it (the view will stay open)
4. Click another result

A "dismiss" engagement event is properly recorded in step 3 but no event is recorded in step 4.

We're not properly handling the possibility of multiple engagements per session. `TelemetryEvent.record()` [resets the start event info](https://searchfox.org/mozilla-central/rev/0907529ff72c456ddb47839f5f7ba16291f28dce/browser/components/urlbar/UrlbarController.sys.mjs#864) in step 3, so step 4 hits [the early return](https://searchfox.org/mozilla-central/rev/0907529ff72c456ddb47839f5f7ba16291f28dce/browser/components/urlbar/UrlbarController.sys.mjs#927) in `_internalRecord()` and no event is recorded.
Bug: Firefox keeps crashing, not restoring previous session
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-03-30 08:03:27+00:00
Resolved: 2023-10-13 13:31:55+00:00

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

Steps to reproduce:

Firefox keeps freezing up, forcing me to use task manager to close out the entire session, or certain tabs, & sometimes after this happens 3-4 Xs or more in a row, session restore is no longer available! & I have to regularly clear the history cache to keep the browser running efficiently, so, I cannot even restore from my own history in the program! Soooooo frustrating! & even moreso, when some tabs weren't saved to my faves! & also, while on that subject matter, I have saved SEVERAL websites in the last week, & yet NONE are in my saved faves, except for ONE! & also, if you could make it so I can actually look through ALL of my saved faves, & not just w/ individual folder, that would be extremely helpful, as I create & use separate folders depending on the content of the site; ex. porn, music, misc., etc. How & why have my saved faves disappeared just cause a session or a tab crashed? Like,...WTF?! I save ALOT of various websites! The whole point of that is to NOT have to remember every single URL, which can often be a mile long! & I shouldn't have to backup my saved faves multiple Xs an hr, just cause the damn browser freezes up &/or crashes, or I have to force it to close via task manager!


Actual results:

See above


Expected results:

It shouldn't crash anywhere near as often as it does, & it also should ALWAYS restore my previous session, & NOT have that option grayed out-EVER! & it should also ALWAYS retain my saved faves! These are not features which should ever be optional, or occasional, & should ALWAYS work!
Bug: There is no pressed state for intervention cards buttons
Status: NEW
Priority: P3
Created: 2023-03-30 09:07:58+00:00
Resolved: 2023-11-01 11:18:16+00:00

**Note**
* Small regression affecting the intervention cards pressed state

**Found in**
* Firefox 112 beta 8

**Affected versions**
* Firefox 111.0.1
* Firefox 112 beta 8
* Nightly 113.0a1

**Tested platforms**
* Affected platforms: all
* Unaffected platforms: -

**Steps to reproduce**
1.  Type `refresh Firefox` in address bar and check the intervention card
2. Click and hold the "Refresh Firefox" button.
3. Press Tab to reach the "Refresh Firefox" button and check its state

**Expected result**
* The button has a pressed state when clicked or reached by keyboard.

**Actual result**
The button has a pressed state only when reached by keyboard, mouse click has the same effect as hover.

**Regression range**
* First bad: 2023-02-10
* Last good: 2023-02-09
* Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=fe2339f60bf1b1a61820ca2f98508463afa3ed10&tochange=f02cc7328d9e45bf282b7a22d70f57ef494fb04c
* Potentially regressed by: Bug 1815865  - Align tip buttons more closely with other view buttons.
Bug: Opening Tab, pressing "Enter Tab" skips somewhere but not to the correct tab
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-03-30 09:21:20+00:00
Resolved: 2023-04-16 12:40:50+00:00

Steps to reproduce:

I use SimpleTabGroups extension, maybe this is a problem.

When opening a new tab and it appears to be already opened, I click on "enter tab" and it should move me to that tab. It moves somewhere, but to the last Tab I opened.


Actual results:

The tab isnt focused, but the last opened tab is.


Expected results:

the tab should be focused
Bug: empty URL is not used if window.open is blocked
Status: NEW
Priority: P3
Created: 2023-03-30 11:33:22+00:00
Resolved: 2024-02-27 17:56:29+00:00

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

Steps to reproduce:

Step 1: Run:
    window.open('', '_blank', 'width=600,height=600')
or
    window.open()

Step 2: Firefox prevents the window.open then click Options-> "Allow pop-ups for [siteName]".


Actual results:

When you click on "Allow pop-ups for [siteName]". Firefox will open blocked pop-up(s) but instead of opening black page it sets URL to URL from the parent page.

This happens only the first time when you allow the site to open pop-ups. When you refresh the page (and have the site on allow list) it works as expected.

You can use this demo: https://jsfiddle.net/knap4cwe/1/ to try it out.


Expected results:

As per the docs: https://developer.mozilla.org/en-US/docs/Web/API/Window/open URL empty string ("") or when URL parameter is omitted, a blank page should be opened.
Bug: New tabs not opening in Xorg
Status: UNCONFIRMED
Priority: --
Created: 2023-03-30 18:32:00+00:00
Resolved: 2023-07-04 10:41:41+00:00

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

Steps to reproduce:

Open any site - it can be "https://g1.globo.com/" - right-click on the image of some news, in the top corner of it, choose open in a new tab.


Actual results:

The new tab does not open in Xorg but opens in Wayland (see the attached screencasts - the first 20 seconds of video is in Wayland, where the mouse cursor is, see that there is no bug there already, the final 20 seconds are in Xorg, see that in Xorg the mouse cursor does not appear).


Expected results:

The new tab should open regardless of position, just like in Wayland.
I already created a new profile, started firefox in safe mode and it doesn't work.
I'm using Manjaro linux, DE gnome (but I've reproduced in arch too).
Bug: Make sure to collect migration interaction telemetry on each resource type, not just the last one
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-03-30 19:59:12+00:00
Resolved: 2023-04-04 11:01:23+00:00

dmose noticed I goofed in the patch for bug 1794617 - that patch makes it so that we only flip the interaction pref for the last resource type that's migrated when multiple are requested (example, via MigrationUtils.resourceTypes.ALL or a combined bitmask).

See https://phabricator.services.mozilla.com/D173481#inline-960985.

We should be recording these prefs for each resource type, not just for the last one migrated.
Bug: Hide the persist search tip when a PopupNotification is visible
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-03-30 21:04:14+00:00
Resolved: 2023-04-05 08:04:20+00:00

STR:
1. Use a new profile.
2. Use a VPN to increase the likelihood of a SERP requesting Geolocation access.
3. Search for a search term.

Actual Results:
- The Persist Search Tip is shown.
- The Geolocation Popup is shown.

Expected Results:
- The Persist Search tip is shown first, but gets dismissed after the Geolocation Popup is shown.
Bug: cannot cancel save file window
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-03-31 00:25:31+00:00
Resolved: 2023-03-31 09:32:40+00:00

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

Steps to reproduce:

when I press ctrl+s to save a webpage


Actual results:

the save file dialog won't close even if I click save or cancel multiple times. 


Expected results:

the dialog should close normally when I click cancel or save
Bug: UrlbarInput doesn't show the text cursor or close the results menu if clicked too fast after startup
Status: NEW
Priority: P3
Created: 2023-03-31 01:47:45+00:00
Resolved: 2023-03-31 01:47:45+00:00

STR:
1. Build Firefox.
2. Do `./mach run`
3. Close Firefox.
4. Try running `./mach run` again.
5. Quickly click the Urlbar.

Expected Results after clicking the Urlbar:
1. Clicking outside of the urlbar in the content area should dismiss the results menu.
2. While UrlbarInput has focus, a text cursor/caret should be visible.

Actual Results (as shown in the video):
1. Clicking outside of the urlbar doesn't dismiss the urlbar until I click the toolbar.
2. While I am able to type inside the UrlbarInput, no cursor is near the character as I type.

This came up while I was testing the ability for popup notifications to appear near the Urlbar. 

One clue that might be helpful is `Services.focus.activeWindow == this.window;` was `false`. Hence, the PopupNotification failed to show.

So this might not just be a UrlbarInput issue.
Bug: Address Bar Spoofing due to Arabic RTL characters
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-03-31 02:06:10+00:00
Resolved: 2024-05-30 18:07:38+00:00

the vulnerability same like : https://bugzilla.mozilla.org/show_bug.cgi?id=1704422  but this happens in firefox desktop. I tested on firefox desktop (111.0.1 (64-bit)) Windows OS. i used the same payload to test it.


Steps to reproduce:

STEP 1:  open : http://103.186.0.20/rtlo.html click run
The address bar will point to "www.mozilla.org", however the actual content is being delivered by "اختبار.اختبار"

The URL is not handled properly. Arabic characters in the domain name are being rendered from Right to Left(RTL) direction rather than Left to Right(LTR).

Actual results:

http://www.mozilla.org/hello/1/index.html/رابتخا.رابتخا

Expected results:

http://اختبار.اختبار/www.mozilla.org/hello/1/index.html
The address bar should point to "اختبار.اختبار" instead of "www.mozilla.org"
Bug: Going to a page with a Content-Disposition: attachment; header does not properly show SSL certificate
Status: NEW
Priority: P5
Created: 2023-03-31 02:18:07+00:00
Resolved: 2023-04-18 16:47:14+00:00

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

Steps to reproduce:

1. Open firefox
2. Directly type the URL of a download page into the search bar.
(I used https://discord.com/api/download/stable?platform=linux&format=deb)


Actual results:

Notice that the top left of the URL bar is still a search icon and shows no information about the website's certificate.


Expected results:

The URL bar should have shown a padlock to show me that the connection was secured with SSL and somewhere to click to inspect the website's certificate.
Bug: Autocompleted search mode doesn't provide trending suggestions
Status: NEW
Priority: P3
Created: 2023-03-31 06:26:57+00:00
Resolved: 2023-11-13 16:40:36+00:00

**Notes**
As search shortcuts were implemented and then further polished, there is a difference betwen a picked search shortcut and a fully typed search shortcut vs an autocompleted typed search shortcut. This causes the google trending predictions to not be displayed in the case of the autocompleted typed search shortcut. 
IMO, this would be expected functionality, but we might want to show the trending suggestions in this case aswell.

**Found in**
* 113.0a1 (2023-03-30)

**Affected versions**
* 113.0a1

**Tested platforms**
* Affected platforms:
         - Windows 10
         - Mac 11
         - Ubuntu 22.04


**Preconditions**
* Have VPN connected to CA/US.
* Google as default search engine.
* browser.search.region set to CA/US
* browser.urlbar.trending.featureGate set to true

**Steps to reproduce**
1. Open address bar.
2. Type @g , press tab.
3. Open new tab select google search shortcut.

**Expected result**
  2. Google trending prediction suggestion are displayed.
  3.  Google trending prediction suggestion are displayed.

**Actual result**
  2. Google trending prediction suggestion are NOT displayed.
  3.  Google trending prediction suggestion are displayed.

**Regression range**
* Not a regression
Bug: Intermittent browser/base/content/test/permissions/browser_permissions_postPrompt.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-03-31 06:37:46+00:00
Resolved: 2025-02-03 12:02:01+00:00

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

---
```
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - TEST-PASS | browser/base/content/test/permissions/browser_permissions_postPrompt.js | Notification permission prompt was shown - 
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - Buffered messages finished
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/permissions/browser_permissions_postPrompt.js | User can override the default deny by using the prompt - Got 2, expected 1
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - Stack trace:
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochikit/content/browser-test.js:test_is:1512
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochitests/content/browser/browser/base/content/test/permissions/browser_permissions_postPrompt.js:testPostPrompt/<:43
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:154
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochitests/content/browser/browser/base/content/test/permissions/browser_permissions_postPrompt.js:testPostPrompt:13
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochitests/content/browser/browser/base/content/test/permissions/browser_permissions_postPrompt.js:testNotificationPermission:77
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochikit/content/browser-test.js:handleTask:1039
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1111
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1253
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1028
[task 2023-03-31T05:41:34.702Z] 05:41:34     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1053
[task 2023-03-31T05:41:34.905Z] 05:41:34     INFO - TEST-PASS | browser/base/content/test/permissions/browser_permissions_postPrompt.js | notifications icon is not visible at first - 
```
Bug: Google Trending Predictions icons not visible in Dark and Alpenglow themes
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-03-31 07:15:46+00:00
Resolved: 2023-04-12 09:37:21+00:00

**Found in**
* 113.0a1(20230330214245)

**Affected versions**
* 113.0a1(20230330214245)

**Tested platforms**
* Affected platforms: macOS 13, Ubuntu 22, Windows 10

**Preconditions**
* Have VPN connected to US.
* Google as default search engine.
* browser.search.region set to US
* browser.urlbar.trending.featureGate set to true

**Steps to reproduce**
1. Launch FF.
2. Go to about:addons.
3. Change the browser theme to Dark and Alpenglow.
4. Open a new tab.
5. Click on the urlbar and enter Google Search mode.

**Expected result**
* The Google Trending Predictions icon are visible for each suggested element.

**Actual result**
* The Google Trending Predictions icons are barely visible in Dark theme and almost invisible in Alenglow.
Bug: Google Trending Predictions icons do not respect the Figma Design documentation
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-03-31 07:26:11+00:00
Resolved: 2023-04-05 08:51:56+00:00

**Found in**
* 113.0a1(20230330214245)

**Affected versions**
* 113.0a1(20230330214245)

**Tested platforms**
* Affected platforms: macOS 13, Ubuntu 22, Windows 10

**Preconditions**
* Have VPN connected to US.
* Google as default search engine.
* browser.search.region set to US
* browser.urlbar.trending.featureGate set to true

**Steps to reproduce**
1. Launch FF.
2. Open a new tab.
3. Click on the urlbar and enter Google Search mode.
4. The Google Trending predictions are displayed.

**Expected result**
* The Google Trending Predictions icons are implemented according to the provided Figma Documentation.

**Actual result**
* The Google Trending Predictions icons are not according to the provided Figma Documentation. (In the browser the icons are not bolded)
Bug: Pop-ups from whitelist origins are blocked after Firefox restart
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-03-31 08:53:21+00:00
Resolved: 2023-05-08 09:21:38+00:00

Steps to reproduce:

- I visit a Web page triggering a pop-up
- I add the Web page's origin to the pop-up whitelist on request of the appearing top bar
- I visit the page again → pop-up appears (as expected)
- I close the Firefox browser
- I open it again
- I visit the Web page again


Actual results:

The pop-up does not appear, but Firefox brings up the pop-up top bar again, although the Web page's origin is still on the pop-up whitelist.




Expected results:

The pop-up should open without any further interaction.

The behavior can be fixed by applying the Firefox Refresh feature, but I expect the whitelist to work out of the box.
Bug: Google Trending Predictions can be used with any one-off search engine if navigating entries with keyboard
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2023-03-31 09:10:02+00:00
Resolved: 2023-04-07 20:41:05+00:00

**Found in**
* 113.0a1(20230330214245)

**Affected versions**
* 113.0a1(20230330214245)

**Tested platforms**
* Affected platforms: macOS 13, Ubuntu 22, Windows 10

**Preconditions**
* Have VPN connected to US.
* Google as default search engine.
* browser.search.region set to US
* browser.urlbar.trending.featureGate set to true
* browser.urlbar.trending.requireSearchMode

**Steps to reproduce**
1. Launch FF.
2. Enter search mode(@google) in the adress bar . (or select the Google shortcut)
3. Google Trending Predictions are displayed. 
4. Navigate all the entries untill reaching the Search engine shortcuts.

**Expected result**
* The Google Trending Predictions entries are only displayed when the Google search engine is selected.

**Actual result**
* The Google Trending Predictions entries are displayed regardless of what shortcut is being selected if navigating with keyboard

**Other notes**
* On trending suggestion selection the keyboard chosen search engine SERP is returned.
* [Screencast of the issue](https://drive.google.com/file/d/14v0dKBE-yvCkdeJq4tsihYDjFZklbu12/view?usp=share_link)
Bug: The import modal last button is misslabeled as 'next' instead of 'finish'
Status: NEW
Priority: P3
Created: 2023-03-31 09:22:29+00:00
Resolved: 2023-04-21 17:10:57+00:00

**Affected versions**
* Fx 111.0RC
* Fx 112.0b9
* Fx 113.0a1

**Affected platforms**
* Windows 10 & 11
* Ubuntu 20

**Steps to reproduce**
1. Run Firefox using ```-migration -p``` command in the terminal.
2. Create a new profile and follow the import steps (from whatever browser is available).
3. Wait for the import to finish and inspect the modal window.

**Expected result**
* After the import is done, the button label is changed to 'Finish'.

**Actual result**
* The button label is 'Next'.

**Regression range**
* Will come back with a regression rage ASAP.

**Additional notes**
* Issue does not occur on macOS.
* Not related to the browser the import is done from.
Bug: Newly added bookmarks inside 360 Secure Browser do not import inside Firefox after the bookmarks were imported once
Status: NEW
Priority: P3
Created: 2023-03-31 09:33:41+00:00
Resolved: 2023-04-04 11:03:46+00:00

**Found in**
* 113.0a1 (2023-03-29)


**Affected versions**
* 113.0a1 (2023-03-29)
* 112.0b9    
* 111.0.1
* 102.9.0esr



**Tested platforms**
* Affected platforms: Windows 10x64, Windows 11x64
* Unaffected platforms: macOS12, Ubuntu 20 (360SE not available)





**Steps to reproduce**
1. Open [360SE](https://browser.360.cn/se/en.html) browser and bookmark some pages.
2. Import the bookmarks into Firefox.
3. Open the 360SE browser again and add more bookmarks.
4. Import the bookmarks into Firefox.


**Expected result**
* All bookmarks are imported.

**Actual result**
* Only old bookmarks are imported.

**Regression range**
* Not a regression, this is reproducing with the implementation of the importing from the 360SE browser (bug 1659730).



**Additional notes**
* Attached a screen recording.
* Version of 360SE  is 108.0.5359.95 .