av9ash/GitBugs huggingface dataset:
Bug: Clicking navigations buttons while the DLP dialog is open will lead to actions being executed once the DLP dialog is closed
Status: NEW
Priority: --
Created: 2024-05-24 13:37:29+00:00
Resolved: 2024-06-18 19:40:10+00:00

**Found in**
* 128.0a1 (2024-05-23)

**Affected versions**
* 128.0a1 (2024-05-23)

**Preconditions**
* Download the DLP test assets from https://drive.google.com/file/d/1yjqVRuxdKV3WnO7D2wzMgDXBuYBxUgVw/view 
* Create a distribution folder inside the Firefox folder and paste the policies-1.json to it and then rename it to policies.json

**Tested platforms**
* Affected platforms: Windows 10/11
* Unaffected platforms:Ubuntu 22.04, macOS 12.6.6

**Steps to reproduce**
1. Navigate to yahoo.com
2. Open up a document in an external program (for example Notepad) and type “sample text” into it and copy it
3. Return to Firefox and paste the “sample text” into the search bar at the top of the page
4. Wait for the “You’re not permitted..” dialog to be shown and then press the “Go back” button from the browser toolbar
5. Press the “OK” button from the dialog 
6. Observe the behavior

**Expected result**
* The dialog is dismissed and the user remains on the same page

**Actual result**
* The dialog is dismissed but the browser navigates to the previous page

**Regression range**
* This is not a regression as this is a new feature

**Additional notes**
* See the attached video
* Also reproducing with the “Refresh” button from the toolbar / zoom buttons from the app meu
* Also reproducing while the sample DLP agent is running
Bug: “Select All” option from the context menu of the DLP messages is not working
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-24 13:47:42+00:00
Resolved: 2024-05-27 01:57:02+00:00

**Found in**
* 128.0a1 (2024-05-23)

**Affected versions**
* 128.0a1 (2024-05-23)

**Preconditions**
* Download the DLP test assets from https://drive.google.com/file/d/1yjqVRuxdKV3WnO7D2wzMgDXBuYBxUgVw/view 
* Create a distribution folder inside the Firefox folder and paste the policies-1.json to it and then rename it to policies.json

**Tested platforms**
* Affected platforms: Windows 10/11
* Unaffected platforms:Ubuntu 22.04, macOS 12.6.6

**Steps to reproduce**
1. Navigate to yahoo.com
2. Open up a document in an external program (for example Notepad) and type “sample text” into it and copy it
3. Return to Firefox and paste the “sample text” into the search bar at the top of the page
4. Wait for the “You’re not permitted..” dialog to be shown and then right click on the “Under your organization..” text
5. Click the “Select All” option from the context menu
6. Observe the behavior

**Expected result**
* The entire text from the dialog is selected

**Actual result**
* Nothing happens

**Regression range**
* This is not a regression as this is a new feature

**Additional notes**
* See the attached video
* “Copy” button from the context menu works as expected
Bug: Firefox Translate seems miss-lead by datetime timestamps.
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-05-24 14:11:58+00:00
Resolved: 2024-07-19 15:27:10+00:00

The following [article](https://www.moscowtimes.ru/2024/05/21/rossiya-reshila-vodnostoronnem-poryadke-sdvinut-granitsu-slitvoi-ifinlyandiei-ibaltiiskom-more-a131403) has a publication timestamps as well as an `Updated by:` timestamps which are both moved from 2024 to 2019.

The original text contains:
> 21.05.2024
> Обновлено: 22.05.2024

Which is translated (ru -> en) to:
> 05/21/201924
> Updated by: 10:22 May 2019

The corresponding HTML is:
```
<div>
  <time class="article__datetime timeago" datetime="2024-05-21T19:22:00+03:00" y-use="Timeago">21.05.2024</time>
</div>
<div>
  <span>Обновлено: </span>
  <time class="article__datetime timeago" datetime="2024-05-22T10:08:15+03:00" y-use="Timeago">22.05.2024</time>
</div>
```
Bug: version 126 not recognized by applicstion
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-05-24 16:43:40+00:00
Resolved: 2024-07-25 09:40:42+00:00

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

Steps to reproduce:

logging into a study course the application does not see that is updated to 126 
firefox on Operating System: Fedora Linux Asahi Remix 40 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.8.9-404.asahi.fc40.aarch64+16k (64-bit) Graphics Platform: Wayland Processors: 4 × Apple Firestorm (M1), 4 × Apple Icestorm (M1) Memory: 7.3 GiB of RAM Graphics Processor: Apple M1 Product Name: Apple MacBook Air (M1, 2020)


Actual results:

logging into a study course the application does not see that is updated to 126 
firefox on Operating System: Fedora Linux Asahi Remix 40 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.8.9-404.asahi.fc40.aarch64+16k (64-bit) Graphics Platform: Wayland Processors: 4 × Apple Firestorm (M1), 4 × Apple Icestorm (M1) Memory: 7.3 GiB of RAM Graphics Processor: Apple M1 Product Name: Apple MacBook Air (M1, 2020)


Expected results:

should have recognized that was updated to 126 64 bit mozilla for fedora 1.0
Bug: Staging folder compression step with nsIZipWriter janks the parent process main thread
Status: NEW
Priority: P3
Created: 2024-05-24 16:55:55+00:00
Resolved: 2024-10-07 14:30:31+00:00

After cloning the various data stores in the user's profile directory, we compress the resulting files into a single compressed file via nsIZipWriter:

https://searchfox.org/mozilla-central/rev/0529464f0d2981347ef581f7521ace8b7af7f7ac/browser/components/backup/BackupService.sys.mjs#451-499

Despite using the background queue, it looks like deflate is still happening on the main thread: https://share.firefox.dev/44VdyTu

Are we using nsIZipWriter wrong? Is there a way we can do this deflation off of the main thread?

Setting to Severity N/A for now because this feature isn't enabled by default yet - but I imagine this would block any attempt to turn it on by default.
Bug: Firefox does not show correctly a PDF
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2024-05-24 18:41:47+00:00
Resolved: 2024-06-17 10:06:09+00:00

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

Steps to reproduce:

I generated a PDF using a Java application I have created (https://github.com/Aliuken/JobVacanciesApp_Java11)


Actual results:

The file is not properly rendered in Firefox


Expected results:

Using Chrome or Adobe Reader the file is rendered correctly. I attach the PDF file.
Bug: Intermittent browser/components/translations/tests/browser/browser_translations_select_telemetry_primary_ui.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-24 22:05:40+00:00
Resolved: 2025-01-20 12:09:45+00:00

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

---
```
[task 2024-05-24T21:51:22.020Z] 21:51:22     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_select_telemetry_primary_ui.js | Expected select-translations-panel-to selection to match 'en' - 
[task 2024-05-24T21:51:22.021Z] 21:51:22     INFO - Buffered messages finished
[task 2024-05-24T21:51:22.022Z] 21:51:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_primary_ui.js | Uncaught exception in test bound test_select_translations_panel_telemetry_primary_ui_components - undefined - timed out after 200 tries.
[task 2024-05-24T21:51:22.022Z] 21:51:22     INFO - Leaving test bound test_select_translations_panel_telemetry_primary_ui_components
[task 2024-05-24T21:51:22.023Z] 21:51:22     INFO - GECKO(6730) | MEMORY STAT | vsize 120591050MB | residentFast 2063MB
[task 2024-05-24T21:51:22.024Z] 21:51:22     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_select_telemetry_primary_ui.js | took 27195ms
[task 2024-05-24T21:51:22.025Z] 21:51:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-24T21:51:22.026Z] 21:51:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_primary_ui.js | Found an unexpected tab at the end of test run: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-select.html - 
[task 2024-05-24T21:51:22.026Z] 21:51:22     INFO - checking window state
[task 2024-05-24T21:51:22.027Z] 21:51:22     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_select_telemetry_settings_menu.js
```
Bug: Review Checker Auto-open toggle does not respect Turned-off Auto-open selection after manually opening up the RC sidebar
Status: NEW
Priority: P2
Created: 2024-05-25 00:22:40+00:00
Resolved: 2024-06-10 19:55:04+00:00

SUMMARY
- Review Checker V1.1 does not respect a turned-off auto-open toggle after a user manually opens Review Checker again from the address bar shopping icon affordance. What results is that RC "auto-opens" even after the user has elected to turn off "auto-open" -- potentially annoying the user. 

VERSION DETAILS
- Firefox Nightly 128 
- about:config and nimbus.debug configured TRUE
- Pref on for the Review Checker V1.1 Treatment A experience via about:studies?optin_slug=us-review-checker-rollout&optin_branch=treatment-a&optin_collection=nimbus-preview 

STEPS TO REPRODUCE
- Go to Amazon, Walmart, or Best Buy product detail page (PDP)
- Review Checker should appear in its sidebar on the right with a button to "yes, try it." Click the button to opt in
- On PDPs, the RC should auto-open by default by itself. 
- Now, turn off the toggle in the Review Checker that says, "Automatically open Review Checker." RC should not open by itself on PDPs from now on. 
- Go to another PDP, but this time manually open the Review Checker from the Shopping Icon in the Address bar. 
- You should see that the "Automatically open Review Checker" toggle is off, since you turned it off previously. 
- Go to other PDPs. Notice that the Review Checker opens automatically, even though the "Automatically open Review Checker"toggle is off.

EXPECTED BEHAVIOR
- You should never be able to see a Review Checker popping open automatically if you have toggled off Auto-open. 
- If the Review Checker's Auto-open capability is Off, and you manually open the Review Checker once, the sidebar opens, but it should NOT auto-open the next PDP you visit. 

ACTUAL BEHAVIOR
-  Review Checker auto-opens after you manually opened Review Checker again on PDPs. It does not appear to respect the fact you toggled Auto-open off.
Bug: The bug that is causing me problems in Firefox and now Nightly is not being able to copy and paste useing the mouse
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-25 11:13:44+00:00
Resolved: 2024-05-25 11:17:13+00:00

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

Steps to reproduce:

I try to copy and paste between new browser pages


Actual results:

when I have highlited the text to copy the copy button stays dim.


Expected results:

when the relevant text is highlited the copy button should illuminate.
Bug: Intermittent browser/components/translations/tests/browser/browser_translations_full_page_move_tab_to_new_window.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-25 15:41:28+00:00
Resolved: 2025-02-17 12:12:51+00:00

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

---
```
[task 2024-05-25T14:52:54.176Z] 14:52:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_move_tab_to_new_window.js | The translations button is visible. - 
[task 2024-05-25T14:52:54.176Z] 14:52:54     INFO - Opening FullPageTranslationsPanel in window2
[task 2024-05-25T14:52:54.177Z] 14:52:54     INFO - Action: openPanel()
[task 2024-05-25T14:52:54.178Z] 14:52:54     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_move_tab_to_new_window.js:47:39
[task 2024-05-25T14:52:54.179Z] 14:52:54     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_move_tab_to_new_window.js | The translations button is visible. - 
[task 2024-05-25T14:52:54.179Z] 14:52:54     INFO - Opening the popup
[task 2024-05-25T14:52:54.180Z] 14:52:54     INFO - Waiting for the full-page-translations-panel popupshown event
[task 2024-05-25T14:52:54.180Z] 14:52:54     INFO - Buffered messages finished
[task 2024-05-25T14:52:54.181Z] 14:52:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_move_tab_to_new_window.js | Test timed out - 
[task 2024-05-25T14:52:54.181Z] 14:52:54     INFO - GECKO(3060) | Completed ShutdownLeaks collections in process 2996
[task 2024-05-25T14:52:54.182Z] 14:52:54     INFO - TEST-START | Shutdown
[task 2024-05-25T14:52:54.182Z] 14:52:54     INFO - Browser Chrome Test Summary
[task 2024-05-25T14:52:54.183Z] 14:52:54     INFO - Passed:  255
[task 2024-05-25T14:52:54.183Z] 14:52:54     INFO - Failed:  1
[task 2024-05-25T14:52:54.184Z] 14:52:54     INFO - Todo:    0
[task 2024-05-25T14:52:54.184Z] 14:52:54     INFO - Mode:    e10s
[task 2024-05-25T14:52:54.185Z] 14:52:54     INFO - *** End BrowserChrome Test Results ***
[task 2024-05-25T14:52:54.185Z] 14:52:54     INFO - GECKO(3060) | Exiting due to channel error.
[task 2024-05-25T14:52:54.186Z] 14:52:54     INFO - TEST-INFO | Main app process: exit 0
[task 2024-05-25T14:52:54.186Z] 14:52:54     INFO - runtests.py | Application ran for: 0:01:03.007777
```
Bug: Intermittent browser/components/translations/tests/browser/browser_translations_full_page_panel_never_translate_site_manual.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-25 16:58:56+00:00
Resolved: 2024-06-21 12:01:15+00:00

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

---
```
[task 2024-05-25T16:12:12.624Z] 16:12:12     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_never_translate_site_manual.js | undefined assertion name - 
[task 2024-05-25T16:12:12.625Z] 16:12:12     INFO - Action: openPanel()
[task 2024-05-25T16:12:12.626Z] 16:12:12     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_never_translate_site_manual.js:41:41
[task 2024-05-25T16:12:12.627Z] 16:12:12     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_never_translate_site_manual.js | The translations button is visible. - 
[task 2024-05-25T16:12:12.628Z] 16:12:12     INFO - Opening the popup
[task 2024-05-25T16:12:12.629Z] 16:12:12     INFO - Waiting for the full-page-translations-panel popupshown event
[task 2024-05-25T16:12:12.629Z] 16:12:12     INFO - Buffered messages finished
[task 2024-05-25T16:12:12.630Z] 16:12:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_never_translate_site_manual.js | Test timed out - 
[task 2024-05-25T16:12:12.631Z] 16:12:12     INFO - GECKO(4676) | Completed ShutdownLeaks collections in process 10176
[task 2024-05-25T16:12:12.632Z] 16:12:12     INFO - TEST-START | Shutdown
[task 2024-05-25T16:12:12.633Z] 16:12:12     INFO - Browser Chrome Test Summary
[task 2024-05-25T16:12:12.633Z] 16:12:12     INFO - Passed:  3255
[task 2024-05-25T16:12:12.633Z] 16:12:12     INFO - Failed:  1
[task 2024-05-25T16:12:12.634Z] 16:12:12     INFO - Todo:    0
[task 2024-05-25T16:12:12.634Z] 16:12:12     INFO - Mode:    e10s
[task 2024-05-25T16:12:12.635Z] 16:12:12     INFO - *** End BrowserChrome Test Results ***
[task 2024-05-25T16:12:12.636Z] 16:12:12     INFO - GECKO(4676) | Exiting due to channel error.
[task 2024-05-25T16:12:12.636Z] 16:12:12     INFO - GECKO(4676) | Exiting due to channel error.
[task 2024-05-25T16:12:12.636Z] 16:12:12     INFO - TEST-INFO | Main app process: exit 0
[task 2024-05-25T16:12:12.637Z] 16:12:12     INFO - runtests.py | Application ran for: 0:02:18.652895
```
Bug: Firefox seems to be stuck in some sort of migration when security.nocertdb is true, causing certain parts of the browser UI to malfunction (first time starting 127; workaround: restart 127)
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2024-05-25 17:37:32+00:00
Resolved: 2024-07-22 07:14:54+00:00

Tested in 127.0beta on both Windows 10 and Linux.

Prerequisites:

1. `security.nocertdb` is set to `true`.
2. `browser.migration.version` is below `145`. (e.g. it is `144` in 126.0b9)

STR:

Start Firefox (in a new profile if you want).

Expected Behavior:

Nothing remarkable. `browser.migration.version` is set to `145` (it is when using a vanilla 127.0beta profile).

Actual Behavior:

Certain parts of the UI seems to be completely broken. These include

1. FxA-related menu items showing up in AppMenu and Firefox View when `identity.fxaccounts.enabled` is set to false.
2. Firefox Home is completely blank and the entire `Firefox Home Content` section in `about:preferences#home` disappeared.
3. Firefox Suggest-related options in `Address Bar — Firefox Suggest` disappeared and that section is now titled `Address Bar`.
4. Unable to close Firefox when closing the last tab. I had to do so via `Quit` in the AppMenu or the close button in the top right corner.
5. Context menu when right-clicking the tab bar is malformed, showing duplicate options such as `Duplicate Tab` and `Duplicate Tabs` and other irrelevant ones like `Hide Toolbars` and `Exit Full Screen Mode`.
6. Clicking OK on the first-time confirmation dialog for `browser.tabs.haveShownCloseAllDuplicateTabsWarning` does nothing.
7. Enabling and disabling `browser.taskbar.lists.enabled` have no effect on Firefox's Windows Jumplist.
8. All fields in `about:support` are empty.

`browser.migration.version` is stuck, for example, at `144`, if you were upgrading from 126.0b9.


Workaround 1:

Set `browser.migration.version` to `145` and restart Firefox.

Workaround 2:

Set `security.nocertdb` to `false` and restart Firefox. Once `browser.migration.version` is automatically raised to `145` I can set it back to true without any problem.

I wasn't able to find a bad Nightly build so I resorted to `mozregression --repo mozilla-beta` and it returned

Last good revision: 0ec860346abeb203e68bd7f5c00b3b19dae388ce
First bad revision: e78a64baff46c8e9bee42350c1048c8569824619
Pushlog: https://hg.mozilla.org/releases/mozilla-beta/pushloghtml?fromchange=0ec860346abeb203e68bd7f5c00b3b19dae388ce&tochange=e78a64baff46c8e9bee42350c1048c8569824619

which doesn't seem very useful when it's essentially the difference between 126.0b10 and 127.0b1. However, https://searchfox.org/mozilla-central/source/browser/components/BrowserGlue.sys.mjs#3801 points to bug 1889232, which is within this regression range.
Bug: Tab loading window is white in dark mode
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-25 18:16:31+00:00
Resolved: 2024-05-28 14:37:29+00:00

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

Steps to reproduce:

1. Click and drag a tab


Actual results:

A small window displaying the tab appears, but it flashes white before the image of the tab loads in


Expected results:

The loading window should preferably be dark in dark mode
Bug: Firefox remembers windows with sidebar or not only if window where you leave Firefox has not.
Status: NEW
Priority: P3
Created: 2024-05-25 21:57:44+00:00
Resolved: 2024-07-09 12:30:58+00:00

Steps to reproduce:

Hello!
I use Lubuntu 22.04 OS, and I have seen the behavior I'm talking about in the 2 Firefox I have installed: Firefox 115 (ESR) and Firefox 126 (Snap version).
I used 2 addons, GrassHopper and Sidebery, in the sidebar, and saw the same behavior, but I suppose it would be the same if I would display Bookmarks or any other addon in it. 
With these addons I open sidebars in not all windows, to save memory or other reason.

Steps:
1/ Open e.g. 5 windows, 2 containing a sidebar, and 3 containing not. Choose a window with a sidebar to focus it, and restart Firefox.
2/ Do the same, but instead choose a window with no sidebar and then restart Firefox.


Actual results:

1/ In first case, at Firefox opening, sidebars will be present in every window, which makes Firefox take more time to open, and obliges me to close one by one unwanted sidebars.
2/ In second case, at Firefox opening, sidebar presence or absence in each window will be respected. Which makes it open faster, and doesn't make me have to close unwanted ones (as most of the time, windows I want to have a sidebar are the same in the following restart).


Expected results:

I guess the first behavior is a bug or a flaw regarding users? And the 2nd behavior is the right one, and the way Firefox opens should always be this one wether the last focused window has a sidebar or not?
Thank you.
Bug: "Run As..." running instead of installing via administrator priviledges
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-05-25 22:24:03+00:00
Resolved: 2024-05-30 17:07:32+00:00

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

Steps to reproduce:

Execute Firefox installer normally. This problem is found on the 126 installer but can't tell when it has started, but it is still in Firefox Nightly.
Cancelling it just installs the program normally.


Actual results:

It prompts as "Run As..." prompt instead of appearing the UAC Control prompt.


Expected results:

Appear the UAC Control prompt; pressing yes would turn to Firefox installation.