av9ash/GitBugs huggingface dataset:
Bug: tab switching not working or delayed, content flashing or going blank, menus not working
Status: NEW
Priority: --
Created: 2021-07-24 23:30:33+00:00
Resolved: 2023-11-05 19:20:33+00:00

Firefox 92.0a1 20210723213232 on Windows 8.1

Observed this twice today: Switching tabs becomes very delayed or stops working at all, the content sometime flashes or goes blank. Pressing the Alt key doesn't show the menu (but works in different windows). The update notification dialog was missing its text.

Edit: The first occurrence had been observed when the computer resumed from hibernation.
Bug: French COVID QRcode (in PDF) unreadable due to blurry rendering in PDF.js
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2021-07-24 23:51:52+00:00
Resolved: 2021-11-18 14:55:12+00:00

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

Steps to reproduce:

Download a QR code in PDF format from covid site app and try to read it. (Tried on Ubuntu 20.04)


Actual results:

The QRcode edges is not sharp enough. The blurred cause reading issue (screen and printer). 

May be related to others bugs like 1654612 or 1720819 but not sure about it.


Expected results:

The QRcode edges must be sharp in order to be readable without error even after printing it.

Perfect with Adobe Acrobat and Atril
Bug: container tabs don't sync
Status: VERIFIED
Priority: --
Resolution: INCOMPLETE
Created: 2021-07-25 03:16:15+00:00
Resolved: 2022-11-17 18:57:07+00:00

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

Steps to reproduce:

Tried to sync up a computer (Claymore) with my pre-existing container tabs: Logged in to FF account, downloaded Multi-Account Containers addon, then clicked through all the welcome screens and said I wanted to sync. It then asked me to login again (ANNOYING!), then I followed these steps when my containers still showed as the default 4:
1. disable syncing containers
2. Click my account bubble and click Sync Now
3. re-enable syncing containers
4. same as step 2.

I then followed those 4 steps here (Dirk, Netrunner 20, FF ESR 78.6.1) 


Actual results:

there were no changes to the containers of either computer. Syncing accomplished nothing.
Bug: When the title of the page is very long, tabs change their height
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-07-25 11:03:05+00:00
Resolved: 2021-07-25 15:06:30+00:00

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

Steps to reproduce:

I viewed the following tweet:
https://twitter.com/Gronkh/status/1418984180571115524

Twitter puts the whole tweet in the title and if the title is very long, tabs change their height (at least on Linux), see the attached video

Linux Kernel: 5.13.4-1-MANJARO x86_64
Desktop Environment: Cinnamon 5.0.5
Window Manager: Mutter (Muffin)



Actual results:

Twitter puts the whole tweet in the title and if the title is very long, tabs change their height (at least on Linux), see the attached video


Expected results:

The tabs height should stay the same no matter how long the title of the website is
Bug: [macOS] Holding backspace while clearing out "Search websites" filter in "Manage Cookies and Site Data" marks domains for deletion
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2021-07-25 13:40:04+00:00
Resolved: 2023-04-13 07:52:10+00:00

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

Steps to reproduce:

1. Open "Settings" -> "Privacy & Security" -> "Cookies and Site Data" -> "Manage Data...".
2. In "Search websites" field enter i.e. "google" to see all domains with this word in domain name.
3. Press and hold backspace to remove entered filter.


Actual results:

As letters are removed, focus jumps from the "Search websites" field to the list of domains and they are removed. Upon clicking "Save changes", there's window which confirms that Firefox wants to clean data from those websites.


Expected results:

Focus should stay in "Search websites" field and only letters from it should be removed.
Bug: Firefox always prompting for what to do with a file I am downloading
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-07-25 17:44:48+00:00
Resolved: 2021-08-23 14:44:49+00:00

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

Steps to reproduce:

Even though I have action set to 'save file' for 7z files, Firefox always asks me what to do with the file, instead of automatically download it to my default save location. Other files download fine, without any additionally prompts.


Actual results:

Even though I have action set to 'save file' for 7z files, Firefox always asks me what to do with the file, instead of automatically download it to my default save location. Other files download fine, without any additionally prompts.


Expected results:

Firefox should download the file without any additional prompting.
Bug: Tab height increases when audio plays which resizes window.
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-07-26 05:17:42+00:00
Resolved: 2021-09-28 00:32:07+00:00

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

Steps to reproduce:

I was playing chess on chess.com and moved a piece which caused audio to play. Happened on my Linux computer and not my windows computer.


Actual results:

The tab title now said audio playing which caused the tab height to increase. This increase then caused the window to decrease in height and resize. This introduced a lot of movement. Especially since the website frequently plays short audio clips.


Expected results:

The tab title shoud have decreased in font size to allow for the audio playing text to not change the tab height.
Bug: Almost permanent Windows asan AvailableMemoryWatcherFixture.InactiveToActive | Value of: WaitUntil([this]() { return mTabUnloader->GetCounter() >= 1; }, kStateChangeTimeoutMs)
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-07-26 08:08:39+00:00
Resolved: 2021-08-10 02:36:15+00:00

**Filed by:** archaeopteryx [at] coole-files.de
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=346316359&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/V4mKZ-0iSHeGyHF5TflWoA/runs/0/artifacts/public/logs/live_backing.log

---
```
This is a tier 3 failure in Treeherder and not shown by default. Click the "3" in the second toolba from the top to get it shown.

[task 2021-07-26T07:55:42.261Z] 07:55:42     INFO -  TEST-START | AvailableMemoryWatcherFixture.InactiveToActive
[task 2021-07-26T07:55:42.314Z] 07:55:42     INFO -  Setting browser.low_commit_space_threshold_mb to 7710
[task 2021-07-26T07:55:42.341Z] 07:55:42     INFO -  Total physical memory  = 16253l
[task 2021-07-26T07:55:42.341Z] 07:55:42     INFO -  Available commit space = 15420l
[task 2021-07-26T07:55:42.341Z] 07:55:42     INFO -  Amount to allocate     = 13020l
[task 2021-07-26T07:55:42.342Z] 07:55:42     INFO -  Future available commit space after allocation = 2400
[task 2021-07-26T07:55:54.460Z] 07:55:54  WARNING -  TEST-UNEXPECTED-FAIL | AvailableMemoryWatcherFixture.InactiveToActive | Value of: WaitUntil([this]() { return mTabUnloader->GetCounter() >= 1; }, kStateChangeTimeoutMs)
[task 2021-07-26T07:55:54.460Z] 07:55:54     INFO -    Actual: false
[task 2021-07-26T07:55:54.460Z] 07:55:54     INFO -  Expected: true @ /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:557
[task 2021-07-26T07:56:07.464Z] 07:56:07  WARNING -  TEST-UNEXPECTED-FAIL | AvailableMemoryWatcherFixture.InactiveToActive | Value of: mHighMemoryObserver->Wait(kStateChangeTimeoutMs)
[task 2021-07-26T07:56:07.464Z] 07:56:07     INFO -    Actual: false
[task 2021-07-26T07:56:07.464Z] 07:56:07     INFO -  Expected: true @ /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:568
[task 2021-07-26T07:56:07.480Z] 07:56:07  WARNING -  TEST-UNEXPECTED-FAIL | AvailableMemoryWatcherFixture.InactiveToActive | Expected equality of these values:
[task 2021-07-26T07:56:07.480Z] 07:56:07     INFO -    eventValues.Length()
[task 2021-07-26T07:56:07.481Z] 07:56:07     INFO -      Which is: 0
[task 2021-07-26T07:56:07.481Z] 07:56:07     INFO -    mLastCountOfEvents + 1
[task 2021-07-26T07:56:07.481Z] 07:56:07     INFO -      Which is: 1 @ /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:470
[task 2021-07-26T07:56:07.493Z] 07:56:07  WARNING -  TEST-UNEXPECTED-FAIL | AvailableMemoryWatcherFixture.InactiveToActive | test completed (time: 25233ms)
```
Bug: Firefox hangs when opening new window or tab from another application
Status: UNCONFIRMED
Priority: --
Created: 2021-07-26 09:20:16+00:00
Resolved: 2021-08-03 18:09:20+00:00

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

Steps to reproduce:

Not every time, but I'd estimate 75% of the time, when I click on a link from another app or program, Firefox hangs and refuses to let me interact with it. It can take anywhere from 2-3 seconds all the way up to 1-2 minutes after which I close Firefox and re-open it.


Actual results:

Firefox hangs after opening links from other applications.


Expected results:

The link should have opened without Firefox hanging.
Bug: Checkboxes in about:preferences are broken with Proton setting disabled
Status: VERIFIED
Priority: --
Resolution: DUPLICATE
Created: 2021-07-26 09:56:51+00:00
Resolved: 2021-08-25 03:31:26+00:00

STR:
1. Change `browser.proton.enabled = false`.
2. Visit `about:preferences`.

Checkboxes are not themed correctly, they are too small and the enabled state cannot be distinguished from the disabled state.

Many users have disabled Proton and will not be able to make the connection between the checkboxes and the Proton setting.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e9b1ff2959608e83903589fafe1a0a5d808a04a5&tochange=e10dca5c585a517c66b29eb36979384e17ee7934

Regressed by Bug 1714462.
Bug: Blocked mixed content download prompt warning mistakenly talks about malware and viruses
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-07-26 11:10:22+00:00
Resolved: 2021-08-19 09:36:14+00:00

+++ This bug was initially created as a clone of Bug #1721146 +++

*Steps to reproduce*
1. Open Nightly
2. Go to https://www.thinkbroadband.com/download and download a random item.
3. After the download is blocked, right click and click "Allow download"


*Expected result*
* Either no warning or the warning is accurate

*Actual result*
* The warning talks about the download having a virus or malware, which is not true.
Bug: Browser hangs in s consuming 1 cpu when trying to open bookmarks window
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-07-26 14:33:27+00:00
Resolved: 2022-02-08 02:28:15+00:00

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

Steps to reproduce:

Open private window.
Open google maps page.
Use keyboard shortcut to open bookmarks window (Ctrl+Shift+O) or use menu to invoke it.

It happens only in case of normal startup. In safe mode window appears. But in case of normal startup with all addons explicitly shown in addons tab being disabled those steps still hang application up.
Issue is reproduced on windows 7 x64. 32-bit ubuntu version doesn't fail.
Issue is reproduced on newly created profile. A link to dropbox file with screen capture video (bug report with attached 20MB file failed to be submitted):

https://www.dropbox.com/s/yefk7craangs6eh/capture_Mon_Jul_26_17.10.31.mkv?dl=0

Partial support text:
Name: Firefox
Version: 90.0.2
Build ID: 20210721174149
Distribution ID:
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
OS: Windows_NT 6.1 7601
Launcher Process: Enabled
Multiprocess Windows: 2/2
Fission Windows: 0/2 Disabled by default
Remote Processes: 4
Enterprise Policies: Inactive
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

Firefox Features
----------------

Name: DoH Roll-Out
Version: 2.0.0
ID: doh-rollout@mozilla.org

Name: Firefox Screenshots
Version: 39.0.1
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0.1
ID: formautofill@mozilla.org

Name: Picture-In-Picture
Version: 1.0.0
ID: pictureinpicture@mozilla.org

Name: Reset Search Defaults
Version: 2.0.0
ID: reset-search-defaults@mozilla.com

Name: Web Compatibility Interventions
Version: 23.1.0
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.4.2
ID: webcompat-reporter@mozilla.org

Remote Features
---------------

upgradeDialog: (upgradeDialog-defaultEnabled)

Remote Processes
----------------

Type: Web Content
Count: 1 / 8

Type: Privileged About
Count: 1

Type: Extension
Count: 1

Type: Preallocated
Count: 1

Add-ons
-------

Name: Amazon.com
Type: extension
Version: 1.3
Enabled: true
ID: amazondotcom@search.mozilla.org

Name: Bing
Type: extension
Version: 1.3
Enabled: true
ID: bing@search.mozilla.org

Name: DuckDuckGo
Type: extension
Version: 1.1
Enabled: true
ID: ddg@search.mozilla.org

Name: Google
Type: extension
Version: 1.1
Enabled: true
ID: google@search.mozilla.org

Name: Wikipedia (en)
Type: extension
Version: 1.1
Enabled: true
ID: wikipedia@search.mozilla.org


Actual results:

Main process locked consuming 1 CPU. After being killed and launched again application doesn't have any crash information on support tab.


Expected results:

Actually a bookmarks management window should appear.
Bug: Library download pane download button disappears (1)
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-07-26 16:16:59+00:00
Resolved: 2021-07-28 18:17:51+00:00

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

Steps to reproduce:

Selected a download in the Library download pane.


Actual results:

Download button disappeared.


Expected results:

Download button should have remained visible.
Bug: Library download pane download button disappears (2)
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-07-26 16:21:06+00:00
Resolved: 2021-07-28 18:20:08+00:00

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

Steps to reproduce:

Clicked on the download button that is supposed to open the folder containing the associated download.


Actual results:

Dowlnload button disappeared.


Expected results:

Download button should have opened the containing folder.
Bug: Previous session is not restored on startup
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-07-26 16:46:03+00:00
Resolved: 2021-07-27 06:33:41+00:00

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

Steps to reproduce:

1. Make sure the "Restore previous session" behavior is enabled in Settings.
2. Open some tabs that would be restored.
3. Shut Firefox down by closing all windows OS (in my case) by choosing to "Update and restart" after downloading an update.
4. Start Firefox again.


Actual results:

Firefox starts with just a single tab in the "New Tab" view.


Expected results:

Firefox starts with all the tabs that were opened before the program was closed.
Bug: Enhanced Tracking Protection -> Manage Exceptions… missing text input to add exceptions
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-07-26 18:36:16+00:00
Resolved: 2021-08-04 13:27:15+00:00

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

Steps to reproduce:

I tried to add a URL to "Enhanced Tracking Protection -> Manage Exceptions…". I already had a list of websites there. 


Actual results:

However, the only options presented to me were "Remove Web Site" and "Remove All Web Sites". There is not input box to add a new URL to the list.


Expected results:

An html input box/form should exist to add more exceptions.
Bug: Settings from linux and windows versions interfering with each other
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-07-26 20:01:33+00:00
Resolved: 2021-08-24 13:35:17+00:00

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

Steps to reproduce:

On my windows version I switch off pocket on the home page, Then on my linux version when using netflix it says it needs to enable drm, if I leave pocket for windows on then the linux version doesnt need to install drm, If I disable pocket on windows then enable drm on linux the next time i got to windows pocket is back on, It's like they are sharing a switch...


Actual results:

Windows pocket on = no drm enable needed for linux
WIndows pocket off = drm enable needed for linux
Linux drm not enabled (not sure as I always switch it on)
Linux drm enabled = windows pocket switched back on

It's worth noting that this doesn't alter the pocket setting on the linux version nor does it seem to interfere with netflix on the windows version.


Expected results:

Either thing should be persistant
Bug: Opening an incognito window doesn't automatically select it as the active window in focus
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-07-26 20:03:01+00:00
Resolved: 2021-09-13 22:47:21+00:00

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

Steps to reproduce:

Right click firefox on task bar, click on "new private window"


Actual results:

Window opens but isn't selected as the active window, even though the cursor blinks in the navigation bar & the nav bar is selected. The window opens in the foreground but is not selected as the active window. You have to click into the window first in order to be able to type, etc. 


Expected results:

Window should be automatically selected as active/in focus window when opening
Bug: Firefox home page search says "Search with Google" regardless of default search engine
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2021-07-26 21:30:02+00:00
Resolved: 2023-12-12 21:00:09+00:00

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

Steps to reproduce:

I downloaded a fresh install of FF for mac (90.0.2 (64-bit)) and noticed the gray hint text in the search box on the home page always refers to Google regardless of the default search.
 - I updated Firefox on my macbook pro (catalina 10.15.7 (19H1217))
 - Changed my default search engine to DuckDuckGo
 - Opened a new browser window



Actual results:

 - The FF homepage searchbox hint text said "Search with Google or enter address" even though my default search was DDG
 - The searchbox functioned correctly as a DDG search box
 - I tried all other search engines as default and the text always referred to Google
 - The URL bar on top of the browser window correctly refers to the default search engine


Expected results:

 - The hint text should reflect the default search engine.
 - i.e., it should have said "Search with DuckDuckGo or enter address" to reflect my default search engine.
Bug: Firefox 87 - Bookmarks Lost, No json import allowed
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-07-27 00:02:37+00:00
Resolved: 2021-07-27 05:45:14+00:00

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



Actual results:

FF87 deleted bookmarks during update.
1) times.json
Profile: default  none
Profile: default-release : {"created":1615900705575,"firstUse":1615900712866}
Profile: default-release-1 : {"created":1627229462146,"firstUse":1627229482912}



Expected results:

current bookmarks should be reloaded after update
and/or
Suggestion for future releases:
An option to save bookmarks before updating could be implemented in
Bug: "Report a Broken Site" pop-up is animated and can cause migraines; if users have animation-blocking userChrome.css, it is unresponsive
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-07-27 07:15:22+00:00
Resolved: 2024-04-05 05:29:14+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

1. Try to use play.google.com

2. Disable enhanced tracking protection to see if that's what breaks the site. Nope.

3. Try to reenable enhanced tracking protection, get pop-up about "Report a Broken Site".


Actual results:

4. Try to type in the "Optional" Describe the Problem" option. Nothing happens.

5. Try to close the pop-up with the arrow. Nothing happens.


Expected results:

... It should respond, and there should be an option to re-enable enhanced tracking protection.
Bug: Update amazondotcn search url & params for MozillaOnline
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-07-27 08:49:16+00:00
Resolved: 2021-07-30 02:35:42+00:00

Current url now leads to a 404 page.

Business team of the Beijing office confirmed that the new `searchUrl` should be `https://www.amazon.cn/gp/search` and the new `searchUrlGetParams` should be `ie=UTF8&camp=536&creative=3200&index=aps&linkCode=ur2&tag=mozilla&keywords={searchTerms}`.
Bug: SessionStore C++ code should not try to load non-existing browser/ code when it isn't available
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-07-27 11:09:18+00:00
Resolved: 2021-08-06 03:38:52+00:00

On Android, we repeatedly (I think once per process or something? I'm hoping it's not once per call...) hit NS_ERROR_FILE_NOT_FOUND for the imports from https://searchfox.org/mozilla-central/source/toolkit/components/sessionstore/SessionStoreFunctions.jsm that try to load the `browser` SessionStore.jsm .

I'm also a bit confused why this thin wrapper exists - couldn't SessionStore.jsm implement the XPCOM interface here directly, with the C++ code treating this as a "service" in the XPCOM sense? Or does that not work for some reason?

Either way, ISTM we could `ifdef` the code in C++ that tries to request these JSMs based on `MOZ_BUILD_APP_IS_BROWSER` or similar, or do a similar thing in JS if that were preferred for some reason.
Bug: Search bar displays cut off search engine at the bottom
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2021-07-27 13:25:56+00:00
Resolved: 2021-08-19 13:06:45+00:00

*Affected versions*
* 92.0a1 (20210727094543)
* 91.0b7 (20210725190237)



*Affected platforms*
* Windows 10x64
* Windows 7x64




*Steps to reproduce*
1. Unfortunately I don’t have some STR for this issue but I attached a profile on which the issue is reproducible ([link to profile](https://drive.google.com/file/d/1vlTdHyhucyUhQaOmpmpLaYHZWDPfzf8W/view?usp=sharing)).


*Expected result*
* Address bar is displayed as expected.

*Actual result*
* Address bar displayed cut-off engine.

*Regression range*
* Mozregression pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=3e2960113395aeb43cfdb56fc74da7debd6b204b&tochange=a5c85f93707c2790de3cceeda5155bb29d371909

*Notes*
*  Attached a screenshot.
* Cannot reproduce the issue on macOS 10.15 using the attached profile.
Bug: URL Highlighting is incorrect when backslash follows TLD
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-07-27 13:26:00+00:00
Resolved: 2021-12-01 01:43:42+00:00

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

Steps to reproduce:

Type a URL, with backslash (and optionally text after that) following the TLD. Do not press enter, do not submit the URL, but click away from the URL bar.

Normally, Firefox highlights the domain part of the URL. For example, https://www.mozilla.com/en-us/ highlights the "mozilla.com" portion.

When a backslash is involved, the highlight gets "offset", so if I type https://www.example.com\abc , the first four chars (strlen of "\abc") gets un-highlighted (highlighted portion: "ple.com\abc").


Actual results:

I'll put quotes around the portion that got highlighted:

    https://www.examp"le.com\asdf"


Expected results:

    https://www."example.com"\asdf

OR

    https://www."example.com\asdf"