SSB cannot open file:// and http://, only https
Categories
(Firefox :: General, defect, P5)
Tracking
()
People
(Reporter: oleg.b.antonyan, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
Try to open local file or http url with --ssb
option:
firefox --ssb 'file:///home/oleg/.local/share/jupyter/runtime/nbserver-13758-open.html'
OR
firefox --ssb 'http://localhost'
Does nothing, no browser window, no errors, only 0 return code immediately.
But firefox --ssb 'https://localhost'
works just fine
Linux 64 bit, FF developer edition 76.0b5
Actual results:
Immediate return to the terminal, no windows, no errors, as if nothing happened
Expected results:
Firefox should open local html file or http url in SSB mode, or at least explain a good reason why this is not possible. This works fine in Chrome with its --app
option.
Checked on Ubuntu 18.04 64bit + Windows10 64bit + MacOs 10.15
On these versions:
Developer 76.0b7 (affected)
Beta 76.0b7 (affected)
Nightly 77.0a1 (affected)
Release 75 (there is no browser.ssb.enabled)
Steps:
Set browser.ssb.enabled to true.
launch from cmd : firefox --ssb 'http://localhost'
on windows 10 :
Http does not work
Https works if i remove the '
Comment 2•5 years ago
|
||
Mossop, can you please set a priority here? Thanks.
Updated•5 years ago
|
Comment 3•4 years ago
|
||
The severity field is not set for this bug.
:Dolske, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
The severity field is not set for this bug.
:Dolske, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
From this change (https://hg.mozilla.org/mozilla-central/rev/12b24c616863) it looks like that restricting -ssb to https was intentional, but I don't know why.
if (!uri.schemeIs("https")) {
throw new Error(
"Site specific browsers can only be opened for secure sites."
);
I would like to be able to use -ssb to connect to locallay hosted apps. (eg http://localhost:1234)
Would it be possible to add a boolean option in about:config
to allow SSB over unsecure connections? Something like (for example): browser.ssb.allow_http
.
Comment 7•4 years ago
|
||
Closing per bug 1682593.
Description
•