av9ash/GitBugs huggingface dataset:
Bug: The System Principal is being used to load search engine images and OpenSearch descriptions
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2023-07-27 15:03:48+00:00
Resolved: 2024-04-29 06:35:55+00:00

We have a helper function in `SearchUtils` that [makes a channel using the system principal](https://searchfox.org/mozilla-central/source/toolkit/components/search/SearchUtils.sys.mjs#257,260-261).

Although the `triggeringPrincipal` is not specified, it [falls back](https://searchfox.org/mozilla-central/rev/00e6644d0db8acf9372702324151b8077a3d2bb7/netwerk/base/LoadInfo.cpp#110-113) to the `loadingPrincipal`.

The channel that is created can be used in two places in the code:

1. When [installing or updating OpenSearch engines](https://searchfox.org/mozilla-central/rev/00e6644d0db8acf9372702324151b8077a3d2bb7/toolkit/components/search/OpenSearchEngine.sys.mjs#147). In the install case (the update case only has the last step):
    * The user has loaded a web page, and we've detected that there is an <link rel="search" type="application/opensearchdescription+xml" in the page with a href for the OpenSearch definition file (an xml).
    * The user then clicks on a button in the search bar or address bar to install the engine.
    * We then go and load the href from the definition and process the file.
2. [Loading images (icons) for search engines on installation](https://searchfox.org/mozilla-central/rev/00e6644d0db8acf9372702324151b8077a3d2bb7/toolkit/components/search/SearchEngine.sys.mjs#766-768,815). These will have been defined in the OpenSearch engine definition, or could also be loaded for Enterprise Policy engines.

Talking with :ckerschb, we should be using a null principal here, as these are cases that could be influenced by the web.

To get this working, we'll also need to correct/change the content type. I think for the first case we'll should use `Ci.nsIContentPolicy.TYPE_DOCUMENT` and the second case we should use `Ci.nsIContentPolicy.TYPE_IMAGE`.

In the images code, we can also remove the `ftp` reference, as Firefox no longer supports loading from `ftp`.
Bug: Auto-scroll disabling on Windows after Linux sync
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-07-27 15:16:11+00:00
Resolved: 2023-08-04 14:38:12+00:00

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

Steps to reproduce:

I installed Linux Mint Cinnamon 21.2 on my laptop and synced with my Firefox account.


Actual results:

I came back to my desktop computer which is Windows 11 and the auto-scroll no longer functioned.


Expected results:

The auto-scroll should not disengage upon switching from Linux to Windows. Firefox should have a way to identify what kind of OS I'm using and setting the auto-scroll accordingly.

I'm aware there are other bug reports and fixes about this but at least in my experience it has not been fixed.
Bug: Translations loading indicator does not show reasons why a model hangs when loading
Status: NEW
Priority: P3
Created: 2023-07-27 16:03:15+00:00
Resolved: 2023-07-27 18:18:46+00:00

Steps:
- Updated Nightly to 117.0a1 (2023-07-27)
- Went to Wikipedia, the main page for Russian language: https://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
- Translation pop-up appeared and I pressed "translate" button

Expected:
- the page is translated in a reasonable time

Actual:
- The progress arrows started moving
- I waited for a couple of minutes but nothing happened, the text was still in Russian
- I went to another page and translated it successfully
- Then went back to this one and it worked

I'm pretty sure I already had the ru-en model downloaded because I used it before the update. 

I cannot reproduce this in a new profile, maybe it was something related to the state after the update.

It works fine for other languages I tried.

System:
 Mac OS 13.4.1, Firefox Nightly 117.0a1 (2023-07-27) (64-bit) BuildID: 20230727034425
Bug: [Rich Entities] Magnifying glass jiggles to its new position in the Address Bar
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2023-07-27 16:22:04+00:00
Resolved: 2023-08-06 21:34:21+00:00

Nightly 117.0a1 (2023-07-27) (64-Bit
macOS 

Now after bug 1839921 has been fixed, the Magnifying glass jiggles to its new position in the Address Bar after starting typing when the Shield/Lock icon was previously visible.

Steps to reproduce:
1.) Visit a website so that the Shield/Lock icon appear in the Address Bar.
2.) Focus the Address Bar
3.) Start typing and take a look at the Magnifying glass

Actual: The Magnifying glass jiggles.

Expected: No jiggle. Maybe all other Address Bar icons can also be moved by 6px to the right to have the same position like the Magnifiying glass?

A demo is attached.

Feel free to close this report, if this was an expected behavior.

Thanks for checking.
Bug: Wikipedia page previews (pop-up) are not translated
Status: RESOLVED
Priority: P3
Resolution: DUPLICATE
Created: 2023-07-27 16:45:48+00:00
Resolved: 2023-10-18 07:29:14+00:00

Steps:
- go to https://de.wikipedia.org/wiki/Bundesbeh%C3%B6rde_(Deutschland)
- press translate
- mouse hover on the word "federal"
- look at the popup page preview

 Expected:
- the preview is in English

Actual
- the preview is in German 

See the attached screenshot.

This appears to be an important piece of functionality that works in Chrome and in the Firefox Translations addon.
Bug: Review highlights are still visible when navigating to a new product (with no reviews) in amazon
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-07-27 17:07:31+00:00
Resolved: 2023-07-28 21:31:12+00:00

STR: 
1. navigate to https://www.amazon.com/SHW-Electric-Height-Adjustable-Computer/dp/B07XPHQZS3?th=1
2. scroll down to `Discover similar items` and click one of the products

Note: make sure this product doesn't have analyzed reviews. The review reliability and adjusted rating components will be hidden.

ER: The review highlights component should be hidden

AR: The review highlights component is visible with the previous products reviews

The review highlights also remain the same when switching to a new product with analyzed reviews
Bug: Firefox Translations doesn't update page text on multilingual Mastodon site
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2023-07-27 19:28:26+00:00
Resolved: 2024-07-19 19:19:58+00:00

I notice that Firefox Translations offers to translate this page from French to English, but it doesn't appear to actually change any text when I turn on the translation (on Linux Nightly). I can manually toggle the translation, too, without any of the visible text changing.

STR:
1. Navigate to https://framapiaf.org/@davidrevoy/110786543576495517. Some of the text will be in French, some in English.
1. Translations will offer to translate the page from French to English. Accept.
1. None of the page text will change from French to English.
1. Switching back to the original using the Translations icon in the Awesome bar will cause the page to reload, but none of the text will change, either.
Bug: Chrome worker cld-worker.js never goes away for a plain text file Bugzilla attachment
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2023-07-27 21:00:56+00:00
Resolved: 2023-08-16 18:57:24+00:00

Steps to reproduce:

1. Open a plain text bugzilla attachment, like [this one](https://bug1754554.bmoattachments.org/attachment.cgi?id=9329962).

2. Wait for a few minutes.

3. Go to about:memory, and do measure. Look for the process for the text attachment (`bug1754554.bmoattachments.org` in this case).

The top memory consumer is the translation worker:
```
├──17.32 MB (47.31%) -- workers/workers(chrome)/worker(resource://gre/modules/translation/cld-worker.js, 0x11820eb00)
```

I have a different bugzilla attachment that appears to have been sitting in this state for hours. It seems bad to use up that much memory.

Maybe something weird is going on because the only document loaded into the process is a plain text file? This probably is not a common scenario outside of bugzilla where attachments are isolated into their own domains for security processes.

I've reproduced this issue with two different plain text bugzilla attachments.
Bug: Exception trying to format object for log message: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON
Status: NEW
Priority: P3
Created: 2023-07-27 23:49:34+00:00
Resolved: 2023-08-31 20:28:07+00:00

I'm seeing this exception a lot today in the browser console, using a local moz-central build (no local changes, just a build of central). But not so far in Nightly. I don't know if the significance there is with the different profile, or what. 

Its always the same stack. It usually (but not always) happens when I open and close a tab

```
Exception trying to format object for log message: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data(resource://services-sync/resource.sys.mjs:222:21) JS Stack trace: _processResponse/<@resource.sys.mjs:222:21
format@Log.sys.mjs:639:19
formatText@Log.sys.mjs:568:44
format@Log.sys.mjs:586:12
append@Log.sys.mjs:679:37
append@logmanager.sys.mjs:137:44
log@Log.sys.mjs:376:16
warn@Log.sys.mjs:387:10
_doQuickWrite@tabs.sys.mjs:308:17 Log.sys.mjs:16
    dumpError resource://gre/modules/Log.sys.mjs:16
    format resource://gre/modules/Log.sys.mjs:646
    formatText resource://gre/modules/Log.sys.mjs:568
    format resource://gre/modules/Log.sys.mjs:586
    append resource://gre/modules/Log.sys.mjs:679
    append resource://services-common/logmanager.sys.mjs:137
    log resource://gre/modules/Log.sys.mjs:376
    warn resource://gre/modules/Log.sys.mjs:387
    _doQuickWrite resource://services-sync/engines/tabs.sys.mjs:308
    InterpretGeneratorResume self-hosted:1469
    AsyncFunctionThrow self-hosted:856
```
Bug: Broken pop-up panels
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-07-28 07:15:15+00:00
Resolved: 2023-09-06 07:16:33+00:00

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

Steps to reproduce:

Click on the bookmark button (star shape), download a file, or get notifications of Firefox updates.
The same is true in Nightly, Stable, and diagnostic mode.


Actual results:

The width of the panel is broken and text, etc., is unreadable.


Expected results:

The appropriate panel width is displayed.
Bug: [macOS] Firefox view navigation list items are read three times each by VoiceOver
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-07-28 10:58:01+00:00
Resolved: 2023-08-21 08:58:14+00:00

**Found in**
- Firefox 117.0a1

**Affected versions**
- Firefox 117.0a1

**Tested platforms**
- Affected platforms: macOS 13.5
- Unaffected platforms: Ubuntu 22.04, Windows 10

**Preconditions**
- browser.tabs.firefox-view-next is set to true
- macOS Voiceover active

**Steps to reproduce**
1. Launch Firefox
2. Access Firefox View
3. Listen/Watch when Voiceover reads the Navigation content list (Recent Browsing, Open tabs, Recently closed tabs, etc)

**Expected result**
- Not sure what the correct behaviour should be for this Accessibility issue

**Actual result**
- Voiceover will read each item three times
   For example:
   1. Recent browsing, selected, tab, group, 1 of 5
   2. Recent browsing, button, group
   3. Recent browsing

**Regression range**
- No regression, new implementation

**Additional notes**
- The issue can be seen in the following [attachment](https://drive.google.com/file/d/10Mw2ndk5e9vc2AgoHrMK36VVoaEqliaB/view?usp=drive_link) as voiceover reads every item.
- I don't know if this is intended so we logged this just in case it isn't.
Bug: Setting the font size above 100% from the browser settings fails to work
Status: NEW
Priority: --
Created: 2023-07-28 11:58:02+00:00
Resolved: 2025-02-20 08:20:34+00:00

**Environment:**
Operating system: Android 11/ Android 12
Firefox version: Firefox Nightly 117.0a1 (2015964835-🦎117.0a1-20230727034425🦎)





**Steps to reproduce:** 
1. Navigate to the settings option of the browser.
2. Tap on the "Accessibility" tab.
3. Disable the "Automatic font" option
4.  Adjust the "Font Size" option from 100%  to 200%.
5. Navigate to: https://www.primcast.com/radio/pricing/
6. Observe the result.









**Expected Behavior:**
The text on the page is adjusted to the font setting.

**Actual Behavior:**
The page is zoomed in.

**Notes:**
- Reproducible regardless of the status of ETP.
- Reproducible on the latest build of Firefox Nightly and Release.
- Reproducible if the "Automatic font sizing option" is enabled and the font size option is altered from the device.
- Works as expected using Chrome.
- Observed on multiple pages.
Bug: Portable Document Format (PDF) preference 'Open file' in FF, it opens the file even when downloading is expected
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-07-28 14:17:19+00:00
Resolved: 2023-08-24 10:27:38+00:00

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

Steps to reproduce:

1st case:
Click on the link of 1. Example of href link standard usage.
2nd case:
Open and click on the link of 2. Example of href link with the 'download' attribute.
3rd case:
Click on the hyperlink of 3. Example of href link with 'download' and 'type' attributes.
4th case:
Click on the link of 4. Example of PDF file download with JavaScript.


Actual results:

When using an href link without any attribute, FF opens the file.
When using an href link with the 'download' attribute, it downloads the file but also opens the PDF document.



Expected results:

When using an href link without any attribute, FF opens the file.
When using an href link with the 'download' (HTML5) attribute, it should just download the file.
Note1 : The current issue lies in the automation of PDF files opening, which is not a standard web or cross-browser behavior
Note2: In version Firefox 102, we did not have this type of behavior
Bug: <video> is tab selectable with controls turned off
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2023-07-28 14:59:37+00:00
Resolved: 2023-08-07 05:34:20+00:00

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

Steps to reproduce:

1. I visit this page: https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#interactive_content
2. I read that videos are only interactable when controls is set
3. I go to the videos example https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
4. I remove the controls attribute


Actual results:

I am still able to tab my way to a video that has no controls so it should not be added to the tabindex. 


Expected results:

It should not be added to the tabindex when there are no controls. Value of this is dat blind users who wish to listen to the audio of a video. Now a screenreader could indicate that this is a video while its not controlable.
Bug: Opening/Typing a New Website resets the current Tab for when opening tabs to right
Status: UNCONFIRMED
Priority: P3
Created: 2023-07-28 15:42:27+00:00
Resolved: 2023-11-15 16:29:47+00:00

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

Steps to reproduce:

Open a website and open anything in a new tab. Do not click on the new tab yet.  So while still in the same tab, go to a different website or just click enter on the url to re-go back to your current website. Now open a new tab.


Actual results:

The new tab opens to the right of the current tab.


Expected results:

The new tab should open to the far right of the previous tabs you opened, but not have clicked on. Staying on Tab 1 while opening a Tab 2 should go in sequential order. However changing websites and then opening Tab 3 puts it in between Tabs 1 and 2 which it did not do occur until the this update.
Bug: Consider adding logic that detects invalid letter grades before rendering the review reliability component
Status: RESOLVED
Priority: P3
Resolution: INVALID
Created: 2023-07-28 20:06:18+00:00
Resolved: 2023-08-04 21:25:54+00:00

While testing code locally, I noticed that we receive a `grade: "?"` from the API for some product pages. Ex. https://www.amazon.com/dp/B07QH7ZXH3

Although this will likely be fixed from the backend, I wanted to file this ticket in case we're interested in updating how we render the `review-reliability` component. Currently, we check if [the grade is null](https://searchfox.org/mozilla-central/rev/f3aa4708363c157209665a32324001434266d2ad/browser/components/shopping/content/reliability.mjs#27) before proceeding to render the reliability component. But we don't take into account what the string values passed in are. We only check if valid letters are passed once we [render the letter grade component](https://searchfox.org/mozilla-central/rev/f3aa4708363c157209665a32324001434266d2ad/browser/components/shopping/content/letter-grade.mjs#10-16).
Bug: The elements in the urlbar are not aligned with the dropdown when UI density is set to compact or touch
Status: VERIFIED
Priority: P3
Resolution: FIXED
Created: 2023-07-29 06:59:08+00:00
Resolved: 2023-08-06 21:32:37+00:00

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

Steps to reproduce:

I'm aware that the compact density is marked as unsupported.

1. Set the UI density to compact by setting `browser.uidensity` to `1`.
2. Type something in the urlbar.


Actual results:

Icon and text in the urlbar are not aligned with icons and text in the dropdown, and the space between the magnifying glass and text in the urlbar seems larger than before.


Expected results:

This *probably* was regressed by Bug 1839921, but I can't verify it due to Bug 1845272.

I'm attaching a similar screenshot as the reporter in 1839921 to make the issue obvious.
Bug: "Open Image in New Tab" can be prevented from working correctly
Status: VERIFIED
Priority: --
Resolution: WONTFIX
Created: 2023-07-29 13:24:31+00:00
Resolved: 2023-08-08 16:57:13+00:00

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

Steps to reproduce:

1. Go to https://preview.redd.it/6ytves5vq5w61.png?width=1280&format=png&auto=webp&s=c4b6788aaf41bf105b9dbd1fd513249f94fe014f
2. Attempt to open the image in a new tab using the Open Image in New Tab context menu item


Actual results:

The site prevents the image itself loading into a new tab, instead a web page opens


Expected results:

The image file opens on its own, site is not able to intercept it
Bug: Copy operation not working
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-07-29 19:25:59+00:00
Resolved: 2023-07-29 19:59:53+00:00

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

Steps to reproduce:

Firefox 115.0.3 64-bit
Windows 11 Pro 64-bit 22H2 22621.1992

Restart Firefox in Troubleshoot Mode
Select some text in (any) page - even *this* page
Right-click on the selection and select "Copy"
Right-click in the Address Bar
Paste option is disabled
--- alternately ---
a. Try using Ctl-C to copy
b. Try using Ctl-V to paste
c. Try pasting into any other app
d. Verify that Copy & Paste is working in other apps or even Windows 11 itself



Actual results:

Nothing gets copied into the clipboard


Expected results:

The selection should get copied into the clipboard
Bug: Firefox 115.0.3 the new tab + sign is now either on the far right or far left of the toolbar.  Please put it back to the right of the current tab.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-07-29 21:27:37+00:00
Resolved: 2024-07-01 12:24:27+00:00

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

Steps to reproduce:

I tried to move the New Tab Plus sign from the far right of the toolbar to next to the current tab.


Actual results:

The New Tab Plus moved to the far left of the toolbar.


Expected results:

The new Tab Plus Sign should be directly to the right of the current tab.
Bug: screenshot of webpages with  illegal characters text in title
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-07-30 00:19:55+00:00
Resolved: 2023-10-16 15:26:28+00:00

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

Steps to reproduce:

go to https://virasty.com/H_raji/1690670810369939944
right click on page and select "take screenshot"
select "save full page"
click download on created screenshot.


Actual results:

no file is saved.
and this is the error in browser console.
filename must not contain illegal characters main.js:202:17



Expected results:

a png file with screen shot should be saved.

maybeillegal characters should be converted to another character.

maybe '_' underscore? that is what jdownloader does.

those characters are not illegal in my OS (linux) but I understand if firefox wants to take a windows focused behavior.

what is not acceptable is, producing no image with not even a visible alert to user.
Bug: Sending tab to other device doesn't work
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-07-30 12:08:23+00:00
Resolved: 2023-08-29 14:02:07+00:00

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

Steps to reproduce:

I have a home PC A and a home Laptop B. I'm logged in into my Firefox Account on both and I'm trying to send a tab from A to B. When I right click a tab and click send tab. I see the list of devices and see my laptop device. I click on it and I a few seconds later I get a notification that the tab was sent successfully, but on device B nothing happens. I tried clicking the sync button but still nothing happens


Actual results:

Nothing


Expected results:

I should somehow receive the tab on my laptop. It's the first time I'm trying to use this feature, so I don't know where exactly the tab should show up. I assumed I get either a popup or it just opens as the newest tab or it is under the tree lines on the top right -> Account Name section. But the tab didn't show up in neither of those places.
Bug: Pressing Tab unexpectedly focuses on a vertical line on 'about:policies#documentation' page
Status: NEW
Priority: P5
Created: 2023-07-30 15:31:50+00:00
Resolved: 2023-08-14 12:20:06+00:00

**Affected versions**
* 115.0.2 (64-bit)

**Affected platforms**
* Mac 13.3.1 (22E261)

**Steps to reproduce**
1. Access 'about:policies#documentation' page.
2. Start tabbing through page elements.

**Expected result**
* Tabbing should proceed smoothly through all page elements.

**Actual result**
* After focusing on the 'Documentation' button, the focus unexpectedly shifts to a vertical line.