av9ash/GitBugs huggingface dataset:
Bug: [macOS 13] Firefox fails to launch due to policies.json breaking macOS 13 codesign checks
Status: NEW
Priority: P5
Created: 2022-07-26 20:57:19+00:00
Resolved: 2022-10-31 18:08:27+00:00

With macOS 13, Firefox will fail to launch if a policies.json file has been copied to the .app bundle which is one of the methods of applying an enterprise policy on Mac per our [instructions](https://github.com/mozilla/policy-templates/blob/master/README.md).

In the WWDC 2022 macOS [What’s new in privacy](https://developer.apple.com/videos/play/wwdc2022/10096/) presentation, Apple announced they are changing the notarization and signing checks in macOS 13 to be more strict and occur each time the application is run. On bug 1781111, we found that the presence of a `policies.json` file in the .app bundle breaks the codesign check and prevents downloaded Firefox bundles from launching.

Steps to reproduce*:
1) On an Intel Mac running macOS 13 Beta
2) Download Firefox and copy it out of the DMG to the desktop, but do not launch it
3) Copy a policy file to `Firefox.app/Contents/Resources/distribution/policies.json`
4) Launch Firefox by double-clicking on the icon on the desktop

Excepted results:
Firefox launches normally

Actual result:
Firefox fails to launch and an error is displayed `"Firefox.app" is damaged and can't be opened. You should move it to the Trash.` See attached screenshot.

*Note:
I have only reproduced this problem on an Intel Mac on macOS 13 Beta 22A5295i with a freshly downloaded version of Firefox. macOS does some level of caching of Notarization/codesigning checks and adding a policy file to an instance of Firefox I already had installed and had used prior to installing macOS 13 did not trigger the problem.
Bug: Innovator/balanced does not have sufficient contrast on bookmarks + navigation toolbar
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-07-27 09:38:14+00:00
Resolved: 2022-08-30 10:05:22+00:00

https://contrastchecker.com/?c=fef8f6&b=fcbeab is 1.5 which fails every wcag standard.

We probably want to use black as a foreground colour instead, but should get that confirmed by UX.
Bug: Right click issues with when editing a pdf
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2022-07-27 10:46:10+00:00
Resolved: 2022-08-26 13:51:04+00:00

There are two issues:
 - right click on editor leads to select it and then the context menu is displayed
 - right click somewhere else leads to create a new editor and display the context menu.

In both cases the only action on right click must be to display the context menu.
Bug: After pasting elements twice, the elements are shown as selected but they actually aren't
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-07-27 10:47:31+00:00
Resolved: 2022-08-26 13:52:31+00:00

STR:
1) Write some text in three different spots;
2) CTRL+A
3) CTRL+C
4) CTRL+V
5) CTRL+V
6) Press Delete

Expected results:
The second copied elements are deleted

Actual results:
Nothing happens
Bug: Search engines installed via WebExtensions do not update the search engine name when live language switching
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2022-07-27 11:38:31+00:00
Resolved: 2023-02-15 15:44:42+00:00

Firefox 100 introduced live language switching. Soon after that, there is an increase in our telemetry for when the installed search engine name differs from that of the associated WebExtension.

This increase appears to be mainly associated with the [Startpage add-on](https://addons.mozilla.org/en-US/firefox/addon/startpage-private-search/).

Investigating in more detail shows that the add-on defines a different search engine name for each language, it also uses a different search url for each language.

When switching, we are not updating neither the name, nor the search url - this is a case we're missing, since we only update/change things for application provided WebExtensions, not user installed ones.
Bug: Error page is reloaded significantly slower on Win10 on Retry
Status: NEW
Priority: P3
Created: 2022-07-27 12:19:42+00:00
Resolved: 2023-12-05 08:38:21+00:00

**Found in**
* 104.0b2

**Affected versions**
* 104.0b2
* 105.0a1 (2022-07-26)

**Affected platforms**
* Windows 10

**Steps to reproduce**
1. Navigate to http://example
2. Click the "Try again" button
3. After the error page is displayed, click try again. 

**Expected result**
* The reload happens with minimum delay.

**Actual result**
* Seems that there's a visible "loading time" on Windows 10 until the error page is reloaded on retry when comparing Windows vs Ubuntu + Mac

**Regression range**
Not a regression.
Bug: Retry "Server Not Found" page will transition through intermediate page creating a flicker
Status: NEW
Priority: P3
Created: 2022-07-27 12:44:48+00:00
Resolved: 2022-08-02 07:48:53+00:00

**Note**
* I'm not sure if this would be the right component for this particular issue, but couldn't figure a better one. If such comes to mind, please don't hesitate to move it.
* Attaching the two intermediate transitions I've caught and not the flicker in itself since that is easy to reproduce

**Found in**
* 104.0b2

**Affected versions**
* 91.12.0esr
* 102.1.0esr
* 103.0 
* 104.0b2
* 105.0a1 (2022-07-26)

**Affected platforms**
* Windows 10
* Ubuntu 22.04
* Mac 11.05

**Steps to reproduce**
1. Navigate to http://example or any inexistent address https://dsadasdasfwererfdasfadadsadsa.com
2. When "Server Not found" error page is loaded click the "Try again" button.

**Expected result**
* On retry error page is reloaded.

**Actual result**
* On retry error page is reloaded but through some intermediate steps, which seems to have the safe browsing buttons, which would lead to a perceived flicker due to the elements of the page differing.

**Regression range**
Doesn't seem a recent regression.
Bug: CTRL+Z doesn't work if some elements are copied multiple times
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2022-07-27 13:41:27+00:00
Resolved: 2022-09-16 08:20:56+00:00

STR:
1) Add a few text elements;
2) CTRL+A
3) CTRL+C
4) CTRL+V
5) CTRL+V
6) CTRL+Z
7) CTRL+Z

Expected results:
Things are back to the initial state

Actual results:
Things are not back to the initial state. I need to press CTRL+Z multiple times to get back to the initial state.
If I have three elements, after clicking CTRL+Z five times, one of them is removed. At the sixth CTRL+Z, also the last two are removed.
Bug: Address bar keeps inheriting autofill in new tabs for windows that were created by moving/dragging a tab
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2022-07-27 15:13:36+00:00
Resolved: 2023-07-06 20:37:35+00:00

STR:
1. Drag a tab into a new window or right-click > Move Tab > Move To New Window.
2. Type the letter "m" in the address bar, autofill suggests `mozilla.org`.
3. Create multiple new tabs (eg Ctrl+T).

Expected:
Address bar is empty in new tabs.

Actual:
Address bar autofills with `mozilla.org` and dropdown appears automatically, obscuring the new tab page. This behavior persists for the lifetime of the window.

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=db2e1d780268ab0a7dca1ea1ca81febcb33e926e&tochange=6ba63b50d93083c798f4eccdbeded15441bd1979

Address bar related changes in regression window: Bug 1632744 and Bug 1412985.
Bug: Update internal references from 'safe mode' to 'troubleshoot mode'
Status: NEW
Priority: P3
Created: 2022-07-27 15:24:11+00:00
Resolved: 2022-08-23 17:06:25+00:00

This inconsistency leads to confusion so we should get rid of it. There are some APIs, some code comments, and a commandline switch, that will all want updating. There are also still some [localized strings](https://searchfox.org/mozilla-central/search?q=safe+mode&path=locale&case=false&regexp=false). It might make sense to split these changes up further.
Bug: Right-click on drop down menu item does not select if right-click context menu is already visible
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-27 15:39:12+00:00
Resolved: 2022-07-27 15:57:44+00:00

STR:

1) enable bookmarks toolbar
2) create a folder on the toolbar
3) add two web links to the folder
4) open folder drop down menu
5) right-click first item
(context displayed)
6) right-click second item while context is visible

result: context menu hides and displays over the second item, but the first item maintains selection. At this point if you choose something in the context, you can't be sure which item will be impacted.

Note if you do choose something like 'delete', the action will target the second (non-highlighted) item as you would expect. 

expected: right-click on the second item should highlight it.
Bug: Suggested Tags do not appear after saving a link to Pocket
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-07-27 17:30:13+00:00
Resolved: 2023-09-18 20:34:20+00:00

Suggested Tags (Pocket Premium feature) are not present in Firefox 103. When saving using a different browser, Suggested Tags appear for the same link. This is a regression in the most recent UI update to the Firefox integration. 

Suggested Tags should appear below the Add Tags input.

Steps to reproduce:

1. Visit this link https://intothegloss.com/2019/09/shereene-idriss-dermatologist/
2. When logged in to Pocket with a Premium subscription, click the Pocket button to the right of the address bar to save
3. Observe missing Suggested Tags section for Premium users underneath Add Tags input
4. Repeat this process in another browser (Chrome, Safari) with Save to Pocket extension installed

Expected Results:
Suggested Tags will appear for this item

Actual Results:
Suggested Tags do not appear in FF 103. They do appear in other browsers.
Bug: PDF vector/line drawing colors replaced with high contrast or monochrome colors when custom background color is set
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-27 18:21:34+00:00
Resolved: 2022-07-27 18:28:23+00:00

Steps to reproduce the problem:

1. In Settings > Manage Colors..., uncheck "Use system colors" (`browser.display.use_system_colors` => false) and change the Background color (`browser.display.background_color`) away from #FFFFFF to any other color 

2. Load or refresh the sample PDF. In addition to the page background color changing, the color of the blue, red-orange, and maroon lines changes to black while the color of the yellow line becomes transparent

Users reported this started with the release of Firefox 102.  For example:

* https://support.mozilla.org/questions/1382373
* https://support.mozilla.org/questions/1381875

Vector/Line drawing colors should not be modified by a custom background color.
Bug: Icon is clipped on the bottom at SSL Network-Error pages
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-07-27 19:47:39+00:00
Resolved: 2022-08-04 14:48:39+00:00

STR:
1. Load https://wrong.host.badssl.com/
2. Look at the icon to the left of the text (yellow-triangle-sign with exclamation point).

ACTUAL RESULTS: The icon is clipped at the bottom.
EXPECTED RESULTS: No such clipping.

mozregression says this was regressed by bug 1737043 -- regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=00c4c63dc51ffbc60674c92e91d0212daa3de7da&tochange=c6cafb2781ca86d06b843adfea89934503f995e9

(And indeed, it looks like that commit changed various bits of neterror markup/styling.)
Bug: In FxMS messages, Fluent String IDs support rich HTML but raw strings do not
Status: NEW
Priority: P3
Created: 2022-07-27 21:20:57+00:00
Resolved: 2022-09-06 14:43:55+00:00

The `default-browser-notification-message` fluent string ID maps to: [this string](https://searchfox.org/mozilla-central/rev/2be8794dd98b299fcfc5ce66e794e8b85ca14510/browser/locales/en-US/browser/defaultBrowserNotification.ftl#6) which uses HTML tags.

This string is used in the infobar message `INFOBAR_ACTION_86`. However, if you replace the string ID in the message with the raw text, e.g.:

```
 {
    id: "INFOBAR_ACTION_86",
    groups: ["cfr-message-provider"],
    targeting: "false",
    template: "infobar",
    content: {
      type: "global",
      text: "<strong>...</strong>"
     // ...
}
```
you end up with an infobar that contains the string `<strong>`.
Bug: SyncDataStore doesn't handle `json` values
Status: RESOLVED
Priority: P2
Resolution: WONTFIX
Created: 2022-07-27 23:16:22+00:00
Resolved: 2024-01-18 17:50:25+00:00

Given an early startup feature with a JSON variables, if you attempt to read the variable before the store is ready, it will fall back to reading from the syncDataStore (i.e., prefs). However, it won't know that it should translate that from a string into a JS object.

The relevant code is in [ExperimentStore.jsm](https://searchfox.org/mozilla-central/rev/2be8794dd98b299fcfc5ce66e794e8b85ca14510/toolkit/components/nimbus/lib/ExperimentStore.jsm#110-135)
Bug: Firefox logo does not use full width and height on Windows11 dialogue to select an application
Status: NEW
Priority: P3
Created: 2022-07-28 08:40:41+00:00
Resolved: 2022-08-11 14:11:59+00:00

STR:
1 Set no app to handle .html files
2 Open a .html file from the file system
3 Observe the OS dialogue

Expected:
Firefox icon renders correctly

Current:
Firefox icon uses a quarter of the available space
Bug: The NVDA screen reader doesn't read the full sentence on the new error page
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-07-28 09:19:26+00:00
Resolved: 2022-08-09 05:58:47+00:00

**Found in**
* Fx104.0b2

**Affected versions**
* Fx105.0a1
* Fx104.0b2

**Affected platforms**
* Windows 10

**Preconditions**
Install NVDA screen reader and have it active while running the steps.

**Steps to reproduce**
1. Launch Firefox.
2. Navigate to http://cnn .
3. Hover over the "We can't connect...." phrase.

**Expected result**
* The entire row(We can’t connect to the server at cnn. Did you mean to go to www.cnn.com?) is read out, including the suggested link.

**Actual result**
* The narator stops at 'to go to' and doesn't read out the link.

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

**Additional notes**
* Please note that in the infobar, when hovering the 'did you mean to go to' phrase, the address is also read out by the narator.
* Please note that on other OSs like macOS and Ubuntu, the native screen reader doesn't work on the page.
Bug: Search shortcuts are overwritten by special search shortcuts keywords
Status: NEW
Priority: P3
Created: 2022-07-28 10:48:52+00:00
Resolved: 2023-12-18 16:50:00+00:00

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

Steps to reproduce:

* Have Firefox open already on any arbitrary page.
* Do `CTRL` + `K` to focus on the search tab (In my case, the default search engine is DuckDuckGo)
* Type `% ` to search tabs


Actual results:

The search engine will correctly switch from DuckDuckGo to Tabs.

However, the `% ` in order to change it is still there, and part of the searches. So this is only actually useful if the user backspaces twice to remove the 2 characters and then starts typing to find the tab they wanted.


Expected results:

When the search engines switched to tabs, it should've either:
* Removed the `% ` 
* When actually doing the search, trim of the `% ` used to just make Tabs the effective search engine
Bug: Firefox screenshot does not work on long pages
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-07-28 12:04:05+00:00
Resolved: 2022-09-06 08:27:17+00:00

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

Steps to reproduce:

Open a long enough page (like twitter), and use firefox screenshot to select a region.


Actual results:

When selecting region, the masking layers do not shown on the right position. (Reproducible also in debug mode)


Expected results:

The region was selected correctly.
Bug: Firefox 103.0 Viewing a PDF causes document to download automatically
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2022-07-28 14:30:36+00:00
Resolved: 2023-05-19 19:09:50+00:00

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

Steps to reproduce:

Visited a website with a PDF document available to view. Pressed the "View PDF" button on the page. Using Firefox 103.0 on Ubuntu Linux. Multiple sites exhibit this behavior.


Actual results:

PDF document opened for viewing as normal. However, Firefox also downloaded the document to my "Downloads" folder on my hard drive (Not normal). This behavior started with version 103.0.


Expected results:

For PDF documents, Firefox is set to "Open in Firefox". It should not also download the document to my hard drive when I choose to view the document. Download should occur only when I initiate it.
Bug: Regression in Address Bar: Search suggestions are unnecessarily truncated/faded out
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-07-28 20:53:50+00:00
Resolved: 2022-07-29 15:22:32+00:00

Nightly 105.0a1 (2022-07-28) (64-Bit)
macOS 12.5

1.) Maximize the window
2.) Type wether into the Address Bar
3.) Take a look at the search results

Actual: Some search suggestions are unnecessarily truncated/faded out

Expected: They should be shown completely. There is enough space to the right.

Seems to be a recent regression.

A ccreenshot of the issue is attached.

Thanks for checking.
Bug: Minimized windows are not restored minimized in macOS
Status: NEW
Priority: --
Created: 2022-07-28 21:05:42+00:00
Resolved: 2022-08-13 11:56:26+00:00

# Single Window
## Steps to Reproduce
1. Enable session restoration
2. Open a window (and optionally navigate to a website or open a new tab)
3. Minimize the window
4. Quit Firefox
5. Re-launch Firefox

## Expected Result
The restored window is minimized, since restored windows “remember” whether or not they were minimized in macOS. E.g. TextEdit, Safari, Discord, iTerm

## Actual Result
The restored window is not minimized

# Multi-Window
## Steps to Reproduce
1. Enable session restoration
2. Open a window and navigate to a website. This is Window A.
2. Open another window and navigate to a different website. This is Window B.
3. Minimize Window B
4. Quit Firefox
5. Re-launch Firefox

## Expected Result
The restored Window A has the focus. The restored Window B is minimized, since restored windows “remember” whether or not they were minimized in macOS. E.g. TextEdit, Safari, Discord, iTerm

## Actual Result
The restored Window A is not minimized, but neither is Window B. Window B actually has the focus and covers Window A.
Bug: Full Screen windows are not restored Full Screen in macOS
Status: NEW
Priority: --
Created: 2022-07-28 21:14:27+00:00
Resolved: 2023-03-25 21:37:28+00:00

# Steps to Reproduce
1. Enable session restoration
2. Open a window (and optionally navigate to a website or open a new tab)
3. Enter Full Screen
4. Quit Firefox
5. Re-launch Firefox

# Expected Result
The restored window is Full Screen, since restored windows “remember” whether or not they were Full Screen in macOS. E.g. TextEdit, Safari, iTerm

# Actual Result
The restored window is not not Full Screen. Instead it is Zoomed (as in Window > Zoom), which means future Firefox windows will be Zoomed as well.
Bug: *nix ESR 102.0.1 & Windows ESR 91.12.0 call back-end mozilla & 3rd party URLs via http instead of https (such as prod.detectportal.prod.cloudops.mozgcp.net)
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-07-29 03:57:20+00:00
Resolved: 2024-05-30 17:58:15+00:00

Discovered: via Wireshark

Version 1: *nix - Firefox ESR 102.0.1
Operating System 1: Ubuntu 20.04.3 LTS
Version 2: Windows - Firefox ESR 91.12.0
Operating System 2: Windows 10
Tools: Wireshark

Steps to reproduce:

1) Install new, latest version of firefox ESR on Windows or *nix
2) Start wireshark as privleged user
3) Start firefox using the -p argument 
4) Create a new profile
5) Select the newly created profile and start the firefox browser
6) After a dozen seconds, close the browser
7) Stop capturing packets in Wireshark
8) Type in the wireshark filter "http"
9) View several insecure http requests that should be https

Expected Behavior:

All calls to back-end mozilla / firefox domains and 3rd parties strictly use HTTPS for a newly created Firefox profile.

Observed Behavior:

Mozilla hosts and 3rd parties used by firefox are called via HTTP instead of HTTPS by Firefox ESR on a newly created Firefox browser profile. Called with HTTP:

* prod.detectportal.prod.cloudops.mozgcp.net
* a1887.dscq.akamai.net
* 72.21.91.29
* ocsp.sca1b.amazontrust.com
* pki-goog.l.google.com

This is observable in the attached image "httpInsteadOfHttps-wiresharkForNewESRProfileOnWindows10.png"
Bug: [Colorway Closet] In the Modal extra space below the "Set colorway" and "Cancel" buttons is missing
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2022-07-29 06:05:56+00:00
Resolved: 2022-08-30 14:29:44+00:00

Nightly 105.0a1 (2022-07-28) (64-Bit)
MacOS

STR:
1.) Enable Colorway Closet
2.) Open Colorway Closet in about:addons
3.) Minimize the window vertically until the point, where the scrollbars would start to appear in the modal
4.) Take a look at the space between the bottom border of the modal and the "Set colorway" and "Cancel" buttons.

Actual: The Buttons are very close to the border. 

Expected: Extra Space at the bottom would be nice to match with the space from the top of the modal.

Thanks :)
Bug: The telemetry pings for ads from a page reached by alt+enter are listed as 'unknown' SAP
Status: NEW
Priority: P3
Created: 2022-07-29 07:37:00+00:00
Resolved: 2025-01-30 17:20:31+00:00

**Found in**
* Fx104.0b3

**Affected versions**
* Fx 104.0b3
* Fx 105.0a1
* Fx 103.0

**Preconditions**
* Have the browser.search.region set to US.
* Have the search bar added.

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

**Steps to reproduce**
1. Launch Firefox.
2. Open any random page.
3. With that page in the foreground, in the search bar, write a term that would generate ads.
4. Use alt+enter to submit the result and check that on the newly open tab there are ads.
5. Go to about:telemetry -> Raw JSON -> Raw Data and search for 'withads.searchbar' telemetry ping.

**Expected result**
* The 'withads' ping for the performed search is found.

**Actual result**
* There is no 'withads.searchbar' telemetry ping registered.

**Regression range**
* I have managed to reproduce the issue all the way back to Firefox 87.  Looks like the issue is existent since the implementation of withads SAP.

**Additional notes**
* The issue occurs for all search engines where we track ads (Google, Bing and Duckduckgo).
* 'adclick' pings from the resulting page also have the SAP as unknown.
Bug: Opening an encrypted pdf: the encryption dictionary's `StrF` and `StmF` are swapped
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2022-07-29 08:25:07+00:00
Resolved: 2022-08-09 09:52:21+00:00

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

Steps to reproduce:

Tried to open a pdf file.
- open attached file
- password is 'Hello'
- observe that the screen is empty

now, if you exchange the 2 variables in the pdf (with notepad++ for example)
	/StmF /StdCF ->  	/StmF /Identity 
	/StrF /Identity -> 	/StrF /StdCF 
then it works. -- a circle appears as intended
All other pdf reader apps that i tried work. (acrobat, sumatra)



Actual results:

Didn't open


Expected results:

Should have opened