Closed Bug 1835569 Opened 3 years ago Closed 2 years ago

VSCode custom URI schema isn't passed to VSCode by Firefox, but is by Chrome.

Categories

(Core :: Networking, defect)

Firefox 115
x86_64
Linux
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: B.RJL, Unassigned)

Details

Attachments

(1 file)

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

Steps to reproduce:

I attempted to login to https://marketplace.visualstudio.com/items?itemName=znck.grammarly per its instructions. This invoked the default browser, Firefox.

Actual results:

An Open button was presented in the consequent webpage, which I clicked. All that this did in Firefox was open about:blank. Copying the previous URI into Chrome “Version 115.0.5790.3 (Official Build) dev (64-bit)” and clicking Open correctly invoked code-insiders.

Expected results:

The same should have occurred in Firefox.

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core

Hello
Thank you for filing the report.

Can you please provide http logs for the problematic scenario.
You can email the logs to necko@mozilla.com if you are concerned about saving sensitive personal information in the tool.

Flags: needinfo?(I3JMZ+RQP255)

https://firefox-source-docs.mozilla.org/networking/http/logging.html

Adjust the list of modules that you want to log: this list has the exact same format as the MOZ_LOG environment variable (see below). Generally the default list is OK, unless a Mozilla developer has told you to modify it.

  • For cookie issues, use presets Cookies
  • For WebSocket issues, use presets WebSockets
  • For HTTP/3 or QUIC issues, use presets HTTP/3
  • For other networking issues, use presets Networking

So that you don't have to trawl through mountains of data, what logs should I choose? All of them to be safe?

Flags: needinfo?(smayya)

Thanks for checking this. Sorry for not responding earlier. I would like to have the following logs enabled

timestamp,sync,nsHttp:5,cache2:5,nsSocketTransport:5,nsHostResolver:5,Cookies:5
Flags: needinfo?(smayya)

I have attempted to reproduce your issue on a Ubuntu 22, but I got stuck or I don't completely understand the steps.
Would you answer some questions in an attempt to investigate it?

  1. Loading the provided link and logging into the VisualStudio Marketplace does not cause a default browser to ask for confirmation regarding the URL handler. What exact steps are you performing in order for the browser to open up?
  2. Do you have any addons that might influence how URL handlers work?
  3. Does this issue still occur in safe mode? (https://www.wikihow.com/Start-Firefox-in-Safe-Mode)
  4. I am also requesting information for Sunil Mayya's answer in comment 5.

Thank you for your contribution!

Please reopen if you can provide logs. Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(zn7esutb)
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Seems to work on a new Fedora installation using FF 126.0, so the installation was probably broken.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: