av9ash/GitBugs huggingface dataset:
Bug: Differences in tab row spacing
Status: RESOLVED
Priority: P2
Resolution: WORKSFORME
Created: 2023-09-22 11:16:03+00:00
Resolved: 2023-11-08 21:04:05+00:00

Via UX review

Vertical spacing of tabs is tight in the open tabs page and Recent browsing. Refer to the spacing on History or Recently closed tabs.
Bug: Ensure that Firefox can load sessionstore files whose uncompressed size exceeds 1073741822 characters.
Status: UNCONFIRMED
Priority: P3
Created: 2023-09-22 12:05:01+00:00
Resolved: 2024-01-25 13:05:32+00:00

Steps to reproduce:

1. Run Firefox on a 64-bit architecture with at least 4GB of RAM.
2. Create, in your Firefox profile directory, a valid "/sessionstore-backups/recovery.jsonlz4" file which decompresses to at least 1073741824 bytes, or have a "/sessionstore-backups/recovery.json" file which has a size of at least 1073741824 bytes. You can do this manually (by editing the file), or as a user by installing TreeStyleTab and creating a large session with 1800 tabs (e.g. clustered into 18 windows with 100 tabs each), where each tab has a favicon whose data size is 90 KB (e.g. a favicon in the verbose SVG format).
3. Try to load that session (e.g. by using the session recovery mechanism).



Actual results:

Observe that loading this session fails.



Expected results:

Loading this session should succeed, not fail.

Analysis: 

The function IOUtils.readUTF8() will be called, trying to place the whole file's contents into one String. This String's length would exceed 1073741822 characters. However, there is currently a hard limit of 1073741822 = (2 << 30) - 2 characters to the length of all JavaScript Strings, called JS::MaxStringLength (https://hg.mozilla.org/mozilla-central/file/6aaf2cf582814f5a76c09fa2ac7cc760a5886134/js/public/String.h#l325). Hence, allocating this String fails and thus loading the file fails.

The solution is therefore to increase the hard limit on all platforms which support, in fact, longer strings (64-bit platforms). The current hard limit is only justified on 32-bit platforms.

Note that the ECMAScript 6 language specification defines the hard limit on String lengths as 9007199254740991 = (2 << 53) - 1 characters (see https://262.ecma-international.org/6.0/#sec-ecmascript-language-types-string-type). Hence, at least for 64-bit platforms, the hard limit JS::MaxStringLength should be set to 9007199254740991 = (2 << 53) - 1.

Extending the the hard limit JS::MaxStringLength is possible. The last time the hard limit JS::MaxStringLength was extended was by this changeset: https://hg.mozilla.org/mozilla-central/rev/cafc30a40d9f93762372ad805443ec8ba7efecdc.
Bug: option inherit background-color but not color
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-09-22 15:08:29+00:00
Resolved: 2023-09-25 12:38:58+00:00

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

Steps to reproduce:

I first noticed this on a movie theater website, but I recreated it in a CodePen (https://codepen.io/miquelfire/pen/rNQxQxj).

The page is mostly black on white for its color. A <select> element to allow you to pick a date for show times is white on black (Odd style choice). Firefox is in light mode. There's no CSS on the <option> tags


Actual results:

The dropdown displays non-selected items as black on black

The fact <option> appears to default color to black is odd, as my test case has color defined as blue. Makes me think there's a color: black; rule on <option> in the browser style somewhere.


Expected results:

The <option> should have inherited both color and background-color from <select>, not just background-color, or doesn't inherit any styles from <select>
Bug: CWE-762: Mismatched Memory Management Routines
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-09-22 16:05:34+00:00
Resolved: 2024-05-30 18:14:27+00:00

Hello there.
I was checking the source code and running some analysis tools while I found this allocator sizeof operand mismatch in prdtoa.c
In the function ACQUIRE_DTOA_LOCK(0);

...
 rv = (Bigint*)MALLOC(len*sizeof(double));
...

The result of 'malloc' is converted to a pointer of type 'Bigint', which is incompatible with sizeof operand type 'double'

The likelyhood of this being exploit is really low, it could maybe lead to crash or DoS but I'm not sure. Could you confirm ?
Cheers,
2ourc3
Bug: [Sidebar] Update legal and learn more links to be more semantic
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-09-22 16:10:42+00:00
Resolved: 2023-09-23 09:28:09+00:00

The links in the sidebar are currently read as buttons and spans rather than links and paragraph tags. Scope of this ticket is to update this so sidebar links are more semantic to the screen reader.
Bug: view-source accidentally activated when Firefox is invoked externally with colon in URL
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-09-22 23:55:22+00:00
Resolved: 2023-10-24 18:38:42+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

Run `open "https://twitter.com/home:1"` in the command-line.

Additional information: this is the same issue as https://bugzilla.mozilla.org/show_bug.cgi?id=1854078, but the issue was closed with RESOLVED WORKSFORME with no actual resolution, and I can't reopen the issue.

Additional information: originally discovered the issue when opening the URL https://github.com/sorawee/racket/actions/runs/6279757681/job/17056042303#step:9:114 from Discord


Actual results:

Firefox is opened with view-source:https://twitter.com/home, which is the view source page.


Expected results:

It should not open the view-source page.
Bug: Security breach of passwords
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-09-23 02:03:49+00:00
Resolved: 2023-09-23 03:31:23+00:00

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

Steps to reproduce:

1. Install Google Chrome.
2. Store password in Google Chrome.
3. Install Firefox.
4. Create new firefox account (can be different from the chrome actual)
5. Import passwords from Chrome to Firefox.
6. Chrome passwords are now transfered to a different account.


Actual results:

I downloaded firefox because i like it and i decided to import my passwords to firefox.  It did not ask me of any credentials or verification that i was not just abusing a process.


Expected results:

A form of verification that i am the owner of the passwords should appear to avoid any dupes to any actors which are not myself.
Bug: [Firefox View] Font selection in about:preferences affects Firefox View side menu
Status: NEW
Priority: P3
Created: 2023-09-23 02:38:49+00:00
Resolved: 2024-11-05 12:37:57+00:00

Steps to reproduce:
1. Check the appearance of the side menu of the Firefox View.
2. Change the font from about:preferences
3. Check the appearance of the side menu of the Firefox View again

Actual result:
Font selection in about:preferences affects the side menu of the Firefox View.

Expected result:
Font selection in about:preferences does not affect the side menu of the Firefox View.
Bug: youtube playlists:  unable to add videos to playlists when in a playlist and clicking add video.  error again.
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-09-23 06:10:06+00:00
Resolved: 2023-09-23 07:06:28+00:00

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

Steps to reproduce:

youtube playlists:  unable to add videos to playlists.  also tested this issue on regular version of firefox 117...  same problem is there.  works fine on brave and other browsers.  


Actual results:

youtube playlists:  unable to add videos to playlists when editing playlist manually. 

go to playlist click on add video, it gives an error message. I turned off settings for cookie blocking issue potential still refuses to load right. 


Expected results:

adding videos directly by editing the playlist itself  used to work fine and still does on all other major browsers  I've tested and the issue exists in both nightly and regular firefox it seems.   this is the second time this has happened that I recall.  Can't seem to get it editable.  I've found a couple of more difficult work around for now but it is odd how often this keeps happening on this browser specifically.
Bug: Can't delete URLs from Firefox Suggest
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-09-23 10:33:27+00:00
Resolved: 2023-09-25 15:24:15+00:00

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

Steps to reproduce:

In Firefox 117.0.1, it seems that you can no longer use the up and down keys to select a URL from the "Firefox Suggest" list of URLs, and then press shift-delete to delete a URL. The up and down keys work correctly, but shift-delete appears to do nothing.
Bug: Setting Firefox (Snap) as the default internet browser on Linux doesn't work when its `.desktop` file doesn't exist.
Status: UNCONFIRMED
Priority: P2
Created: 2023-09-23 21:13:51+00:00
Resolved: 2024-08-05 13:10:03+00:00

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

Steps to reproduce:

I installed

```sh
sudo snap refresh
sudo snap install --channel=latest/edge firefox
snap run firefox -setDefaultBrowser
```

and attempted to set it as the default browser.


Actual results:

0.  https://forum.snapcraft.io/t/snap-doesnt-create-desktop-files-for-installed-applications-nor-add-them-to-path/36987/2?u=beedellrokejulianloc
0. See attached image - Firefox hallucinates that a `.desktop` file exists, when one doesn't. Additionally, when the prompt is accepted, Firefox remains not the default browser.


Expected results:

Firefox should have created a `.desktop` file for itself (if necessary) but regardless, should have set itself as the default browser.
Bug: Clicking in an open text editor in a PDF has no effect
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-23 21:32:13+00:00
Resolved: 2023-09-29 11:11:36+00:00

STR:
 - Open a pdf;
 - write something in using the FreeText editor;
 - commit it;
 - double click on it;
 - try to select something with the mouse pointer.

It's a regression from bug 1853478 and especially:
https://github.com/mozilla/pdf.js/pull/16943

The ::before container we added in order to have the triple-lines border is catching the mouse events.
Bug: tabs bar change scroll position after dom fullscreen
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-09-24 00:11:55+00:00
Resolved: 2024-05-02 12:40:51+00:00

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

Steps to reproduce:

- open several tabs (for active scrolling)
- on a tab in the middle, open a web page with DOM fullscreen (a YouTube video, for example)
- switch to fullscreen, then exit fullscreen


Actual results:

the scroll position changes so that the current tab is on the right.


Expected results:

tabs bar should keep scroll position
Bug: Incorrect recovery of last session
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-09-24 13:23:55+00:00
Resolved: 2023-09-25 08:16:14+00:00

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

Steps to reproduce:

I had a "private window" open. When closing the browser, if you first close the normal window and then the “private” one, then the next time you open the browser, the session is not restored. 


Actual results:

All tabs disappear. I also had a browser update, maybe this is important. This is not the first time I have encountered such a problem in many years of working with the browser. 


Expected results:

The browser should not consider the "private window" when creating a copy of the last session.
Bug: [Editor] Add padding to the altText-button to account for different locales
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-09-24 15:54:02+00:00
Resolved: 2023-09-29 11:50:26+00:00

Note how for some locales (e.g. Swedish) the altText-button end up looking horizontally "cramped", hence it seems reasonable to add a bit of inline padding to improve this.
Bug: Wrong favicon used in bookmarks toolbar
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-09-24 23:13:10+00:00
Resolved: 2023-09-25 08:21:10+00:00

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

Steps to reproduce:

I've bookmarked a link : http://192.168.1.9:8008/i/


Actual results:

The favicon in the tab is correctly displayed, but the one in the bookmarks toolbar is not. 

I don't think it's port-related, as I have other URLs with other ports and everything works. 

It's specifically this link that uses the favicon at the root of the site : http://192.168.1.9:8008/i/

Deleting the favicon.sqlite file does not solve the problem.


Expected results:

Right favicon
Bug: firefox bookmarks
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-09-25 06:53:54+00:00
Resolved: 2023-10-26 13:33:56+00:00

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

Steps to reproduce:

Test condition: i Tried to bookmark a page, but unable to do it


Actual results:

Actual result: i am unable to book mark a page


Expected results:

Book mark should be created.
Bug: Cannot go back to the initial state after having added an alt text
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-09-25 07:56:03+00:00
Resolved: 2023-09-27 18:44:09+00:00

STR:
 - open a pdf;
 - add an image;
 - add an alt text
 - reopen the alt text dialog
 - remove the text from the text area

The save button is disabled so the user cannot get back the initial state of the alt-text stuff.
Bug: Firefox H2 headers font sizes are now smaller
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-25 11:12:35+00:00
Resolved: 2023-09-29 08:38:46+00:00

It looks like the change in bug 1838939 has regressed the styling for these headers for each section of Firefox View ("Recent Browsing" for example, on the default section) which are now the same size as the side navigation items and now not according to [spec](https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?type=design&node-id=2304-37007&mode=design&t=GVTXQ3vNpuc9li6Z-0). 

I understand the reasoning behind the change was to unite different header sizes but I think we'll need to override the h2 font-size from `text-and-typography.css` to what we were using from `common.css`, which was 1.5em (in the firefoxview-next style `.page-header`).
Bug: Browser becomes unresponsive when take large full page screenshot
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-25 13:19:56+00:00
Resolved: 2024-03-01 00:01:35+00:00

STR:
1. Navigate to https://docs.astral.sh/ruff/rules/
2. Open screenshots and take a full page screenshot

AR:
The browser will hang and become unresponsive while taking the screenshot

ER:
The browser should remain functional
Bug: Screenshots captured but incorrect size
Status: RESOLVED
Priority: P3
Resolution: WORKSFORME
Created: 2023-09-25 14:52:09+00:00
Resolved: 2024-05-09 20:05:16+00:00

I an using FF 117.0.1 under windows 10.

I have noticed that the screen capture I tried against youtube video (while the playing stopped) is recorded in incorrect size.

This happened a few times.

I am attaching how I tried to capture the
screen by selecting the most appropriate visual element(?) recognized by FF.
But you will see that the resulting copied data is not quite right.
It only contains the upper-left portion and does not have the whole area.

The video I tried was https://www.youtube.com/watch?v=95Xq6i-ERjY
and at 09:14 (the replay was stopped.)

However, something similar happened with the following URL, too.
https://www.youtube.com/watch?v=sLA0mdnBcaI

So I think the problem is with FF.
Bug: Cannot easily change with the slider the font size in a text editor
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-25 15:14:33+00:00
Resolved: 2023-09-29 11:14:03+00:00

STR:
 - open a PDF;
 - add some text and commit;
 - try to change the font size in using the slider.

It's pretty hard to move the slider.
It's a regression from bug 1853478 and especially from:
https://github.com/mozilla/pdf.js/pull/16944

When the font size is changed, the editor has to change its position hence it has to be moved in the DOM which can be a bit slow and then blocks the main thread.
The DOM position doesn't have to be updated right now so we can slightly postpone this operation.
Bug: Telemetry for Tabs from other devices show use the `page` key
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-25 15:29:32+00:00
Resolved: 2023-10-03 12:50:00+00:00

This was not added in bug 1833671, but we should do that here since we have done it for recently closed tabs and open tabs (and it was an ask from product/UX).
Bug: Telemetry is recorded when clicking the grayed out buttons and checkboxes from the Settings page
Status: NEW
Priority: P3
Created: 2023-09-25 15:44:37+00:00
Resolved: 2023-11-16 12:46:49+00:00

**[Affected versions]:**
- Firefox RC 118 (Build ID: 20230918143747)
- Firefox Nightly 119.0a1 (Build ID: 20230925093027)

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

**[Prerequisites]:**
- Have Firefox installed.

**[Steps to reproduce]:**
1. Navigate to `about:preferences#search`.
2. Scroll down the page.
3. Click the “Restore Default Search Engines” grayed-out button.
4. Navigate to the `about:telemetry` page.
5. Search for the “restoreDefaultSearchEngines“ telemetry probe.
6. Observe the behavior. 

**[Expected result]:**
- The “restoreDefaultSearchEngines“ telemetry probe does not exist. 

**[Actual result]:**
- The “restoreDefaultSearchEngines” is registered and displayed as a keyed scalar.

**[Notes]:**
- This issue is reproducible with all the grayed-out buttons and check-boxes from all the Preferences Panes.
e.g.:
From the “Search” pane: _“Remove”_ button, _“Show search terms instead of URL on default search engine results page”_ checkbox
From the “Privacy&Security” pane: _“Restore”_ (dismissed suggestions) button, _“Allow Nightly to make personalized extension recommendations”_ checkbox
- Here is a screen [recording](https://drive.google.com/file/d/1UMoasVtmH56vCi5_B9skAB3x-RmFZs8F/view?usp=sharing) of the issue.
Bug: Tabs flickering when window is at the right width
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-09-25 16:02:00+00:00
Resolved: 2024-06-11 14:55:39+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

Have a few (8) pinned tabs and a many (17) regular tabs.


Actual results:

When the window is in a certain width range, resizing tabs influence each other and begin to oscillate/flicker.

Resizing out of that range (either narrower or wider) stops the flickering. If you go back so they become the critical width, it starts again.

In this flickering state, it almost impossible to click the tab you want because they're changing so quickly.

At first I thought it was an extension's fault and expected it to stop when disabling it, but it continued.


Expected results:

That tabs should resize smoothly and not flicker.
Bug: on download, "always ask..." not operate
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-09-25 17:26:38+00:00
Resolved: 2023-10-24 10:57:30+00:00

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

Steps to reproduce:

In parameters, download section
Choose "Always ask..."
Try to download a file



Actual results:

Always ask not applied
File is always download in folder choosen in parameters. This is not greyed, despite "Always ask..." checked.


Expected results:

A dialog windows should be appear to choose where I Download file.

Notice, in about:config, 
browser.download.useDownloadDir = false and is marked as not default. This is OK

But
services.sync.prefs.sync.browser.download.useDownloadDir = true and is marked as default
When I change it to false I have expected results.

I think, when I check the "always ask" option, only browser.download.useDownloadDir is change but, services.sync.prefs.sync.browser.download.useDownloadDir don't change.
I think, when I check this option (alwways ask), I need services.sync.prefs.sync.browser.download.useDownloadDir  is too changed, and it's not apply. 
I shouldn't have to change it manually in about:config. that's what the checkbox should be for.

In fact, "Always ask" is never apply when services.sync.prefs.sync.browser.download.useDownloadDir = true.
I think, this is the issue.

Sorry for my bad english.

Thanks for any correction to this bug
Bug: Download .mov file from wetransfert rename file .qt (quictime)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-09-25 23:46:02+00:00
Resolved: 2024-09-11 03:48:29+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

1 -  Have a file with .mov extension
2 - Upload a file on wetransfer.com and select option to have a link only
3 - After Upload finished, copy th link
4 - Open the link in th new tab on firefox
5 - Accept or refuse cookie ( as you wish) and then accept terms & conditions
6 - Clic on download


Actual results:

When i download the file, the extension change from.mov to .qt
MY_VIDEO_TOS_HARE.mov become MY_VIDEO_TOS_HARE.qt on my computer


Expected results:

the file should keep the same extension. other browser do not have this issue
MY_VIDEO_TOS_HARE.mov should be downloaded as  MY_VIDEO_TOS_HARE.mov on my computer
Bug: Causes webmails to malfunction.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-09-26 03:15:24+00:00
Resolved: 2023-12-22 15:05:13+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

I tried repeatedly to log in to three different webmail addresses and they all malfunctioned differently.


Actual results:

Shaw webmail wouldn't sign in at all the button to sign in still acts like a button but it does nothing. Yahoo mail signed in but wouldn't load properly. Outlook signed in but would only ever let me view the first message in my inbox and wouldn't let me view any other messages, even if I went to a different message folder.


Expected results:

I should have been able to sign in and access all 3 webmails with ease.
Bug: Pinned tab title change indicator color has changed on Linux with lightweight theme
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-09-26 05:21:01+00:00
Resolved: 2023-09-29 07:21:34+00:00

Steps to reproduce:
1) Navigate to https://princefishthrower.github.io/react-use-please-stay/
2) Pin the tab
3) Create a new tab

Actual results:
Indicator color is #3d99ff

Expected results:
Indicator color is #61ffda
Bug: background image theme doesn't seem to apply
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-26 08:37:00+00:00
Resolved: 2023-10-06 09:06:55+00:00

on latest build, the Alpenglow theme does not apply properly (nor do https://addons.mozilla.org/en-US/firefox/addon/save-the-bees-plz/ for example)
Bug: Cannot save a pdf with added text, image and alt text
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-09-26 08:51:24+00:00
Resolved: 2023-09-29 08:21:43+00:00

STR:
 - open a pdf;
 - add some text;
 - add an image and an alt text
 - save it.

Nothing is saved.

It's a regression from bug 1854348 and especially:
https://github.com/mozilla/pdf.js/pull/16938
and:
https://github.com/mozilla/pdf.js/pull/16938/files#diff-1bcdf33154f754078d7eff4ac8b496e5fc7b2813faaee0f264fc9e0667aee132R316

We must check that the annotation data has a property `accessibilityData` which is not the case here for the Freetext annotation.