Open Bug 1602117 (ssb) Opened 11 months ago Updated 4 days ago

Site specific browser prototype

Categories

(Firefox :: General, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: mossop, Unassigned)

References

(Depends on 25 open bugs)

Details

A tracking bug for landing the site specific browser prototype. The goal is to be able to launch a site out into its own window with minimal UI. Attempts to navigate outside of the site will be redirected back to the main browser.

This will land preffed off by default for the time being.

Depends on: 1602123
Depends on: 1602168
Depends on: 1602173
Depends on: 1602176
Depends on: 1602184
Depends on: 1602186
Depends on: 1602187
Depends on: 1602189
Depends on: 1602191
Depends on: 1602194
Depends on: 1602195
Depends on: 1602196
Depends on: 1602197
Depends on: 1602528
Depends on: 1602849
Depends on: 1603225
Depends on: 1603272
Depends on: 1603531
Depends on: 1603787
Depends on: 1604235
Depends on: 1604272
Depends on: 1604276
Depends on: 1604279
Depends on: 1604285
Depends on: 1604287
Depends on: 1604290
Depends on: 1604424
Depends on: 1605446

Just so you know, we had a lot of platform-specific code for "installing" apps when we had the webruntime (https://wiki.mozilla.org/Apps/WebRT). You could possibly re-use some of that code.

Is this the installation feature of PWA?

Depends on: 1617679
Depends on: 1617682
Depends on: 1617683
Duplicate of this bug: 1617075
Depends on: 1623394

SSB need support webextension.

Depends on: 1622046
Depends on: 1627803
Depends on: 1631271
Depends on: 1650487
Assignee: dtownsend → nobody
Depends on: 1652334
Depends on: 1653742

Hi guys is there a way create a independent desktop web app on mac using firefox SSB? Looking for a way to run messages.google.com in a pwa like app on firefox (if thats possible). I tried launch in app mode but it keeps all the windows under the firefox app no dedicated launch app like chrome.

Using firefox nightly 80.0a1 (2020-07-14) (64-bit) on Mac OS

The feature i listed above works on windows

https://www.maketecheasier.com/enable-site-specific-browser-firefox/

Original reddit post (bit new here)
https://www.reddit.com/r/firefox/comments/ht3myp/firefox_ssb_equivalent_to_chromiums_pwa/

(In reply to rihcus02 from comment #5)

Hi guys is there a way create a independent desktop web app on mac using firefox SSB?

No and you'd be better off asking in support forums or in chat, bugzilla is not a support tool.

Depends on: 1655271
Depends on: 1658606
See Also: → desktop-pwa
Alias: ssb
Depends on: 1667033

The intention of SSB/PWA is to make web-apps first-class citizens right next to regular desktop apps. But I don't see how that's happening yet, when the SSB feature (experimentally enabled) is still very basic and web apps launched in SSB act very differently to how web apps launched in the regular browser window. They act like interactive picture frames right now.

I hope this can be fixed so that the SSB windows are merely clones of the regular browser window, without the "browsery" elements of the window chrome but otherwise retain or improves upon the normal functionality that's already expected from a web app running in a browser window. They shouldn't really be some kind of weird second implementation of the browser that only shares the rendering engine and requires you to duplicate the normal functionality of the browser from scratch.

From: https://superuser.com/a/937210/117986

  • There's no "Loading" progress indicator in the SSB window. Sometimes you'd stare at a blank window and wonder what's happening.
  • There's no Zoom function. If you had already set Zoom level in Firefox main window, it doesn't carry to the SSB window. It's always at 100% zoom level.
  • The window title never changes. It's always the fixed title. This is bad for web-apps that change the title to indicate something. (I suppose the icon may not change either.)
  • If you had already enabled notifications via Firefox main window you may get them, however if you've never enabled it, I'm not sure if you can enable it from the SSB window.
  • There's no standard right-click context menu - not even on text fields. This really hampers usability since you cannot copy, paste, refresh page, etc. without using keyboard shortcuts. (Application-specific right-click menus still work, since these are part of the website's own code, not from the browser itself.)

From: https://support.mozilla.org/en-US/questions/1292666#answer-1331059

... when I test, it is difficult to tell whether extensions are available because there is no toolbar and no right-click context menu in the SSB window.

If I have Firefox running in my default profile before launching the SSB window, I notice some connections:

  • downloads in the SSB window follow the setting in my regular profile (save in one folder versus ask me where to save)
  • the browsing and download history from my SSB window is added to my regular profile history

However, the style hacks applied to the site using Stylus only appear in regular windows and not the SSB window. So it seems to be some kind of hybrid behavior. I don't know where this is all documented, if anywhere.

Depends on: 1671856

I hadn't realized that some SSB functionality appears to be global (across all windows, even those opened before SSB was enabled). I don't know if this is intended, but it feels like a bug to me. I've noticed two issues when browser.ssb.enabled is set to true:

  • Right-click context menu is missing in all firefox windows, not just the SSB window.
  • Opening new windows from a non-SSB firefox window causes new SSB windows to open

Here's how I can reproduce this:

  1. Have an existing firefox window open, from that, go to about:config to enable browser.ssb.enabled by setting the value to true.
  2. Launch an ssb, in my case I executed firefox --ssb http://website-url in the Linux command-line
  3. SSB window opens without usual browser UI, right-click menu is disabled.
  4. Going back to the original firefox window, the UI is still present, but right-click menu is gone. Right-click on hyperlinks on a page has no effect. Opening a new window from the original firefox window (non-SSB), opens a new SSB window, without browser toolbar, status bar, bookmark bar, etc.

Maybe this is intentional, but not what I expect at all. I expect only the firefox instances that I launch with the --ssb argument to have the ssb features.

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