Closed Bug 1632146 Opened 4 years ago Closed 3 months ago

InstallTrigger.install() fails when the xpi file is hosted on a non standard HTTPS port (not 443)

Categories

(Toolkit :: Add-ons Manager, defect, P2)

73 Branch
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gemalto.sconnect, Unassigned)

Details

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

Steps to reproduce:

We use the following to install our extension:
var params = {
"Extension x.x.x.x": {

        URL: Extension._extPath + Extension._xpiName,
        IconURL: Extension._imgPath + "Extension.png",
        toString: function () {                 return this.URL;             }
    }
};

InstallTrigger.install(params);

The xpi file is hosted in a non standard HTTPS port (not 443)

Actual results:

The installation fails with the following error:
The add-on could not be downloaded because of a connection failure.

When we change the port to 443, the installation succeeds.

Expected results:

The installation should succeed

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Product: Firefox → WebExtensions
Severity: normal → minor
Component: Untriaged → Add-ons Manager
Priority: -- → P2
Product: WebExtensions → Toolkit

Updating Severity from minor to P4 per May 4th changes to Severity field and triage process.

Severity: minor → S4

Hi,
Are there any updates regarding this issue ?
Our customer is very interested in this bug fix/feature.
Thanks,
SConnect team

(In reply to SConnectTeam from comment #0)

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

Steps to reproduce:

We use the following to install our extension:
var params = {
"Extension x.x.x.x": {

        URL: Extension._extPath + Extension._xpiName,
        IconURL: Extension._imgPath + "Extension.png",
        toString: function () {                 return this.URL;             }
    }
};

InstallTrigger.install(params);

The xpi file is hosted in a non standard HTTPS port (not 443)

Actual results:

The installation fails with the following error:
The add-on could not be downloaded because of a connection failure.

When we change the port to 443, the installation succeeds.

Expected results:

The installation should succeed

Flags: needinfo?(mixedpuppy)

InstallTrigger was deprecated and removed, closing.

Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Flags: needinfo?(mixedpuppy)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.