Skip to content

unable to invoke protocol handlers in ChromeOS #138

Closed as not planned
Closed as not planned

Description

@shiftkey

Extracting this feedback from @DanTup in #134:

Actually, it was this bit on the page before where I saw the URL.

Screenshot 2019-04-07 at 12 47 25

Clicking the big green button just leads to the error in the screenshot above.

...

I immediately get the error now when it spawns the browser:

Screenshot 2019-04-07 at 12 42 53

I suspect there's some limitation involved here that might block Linux apps from registering protocol handlers in ChromeOS, but I don't have the bandwidth currently to research further:

Note: On Chrome OS, the Linux world and the Chrome OS world are somewhat separate - I don't know whether it's possible for Linux apps to register protocol handlers that work in the main Chrome browser (though note that I know almost nothing about this setup, I just enabled it on a Pixelbook and decided to see what worked and what doesn't).

Activity

  1. added
    installers/deb
    on Apr 7, 2019
  2. DanTup commented on Apr 7, 2019

    @DanTup

    I suspect there's some limitation involved here that might block Linux apps from registering protocol handlers in ChromeOS

    I did have a look around, but couldn't find much info on this (there's a little info on some restrictions here). My understanding is that the Linux apps are running in a container on ChromeOS (for ex. Chrome can't access ports bound to localhost in the container using localhost except for some specifically mapped ones).

    I also don't know if there's a way to detect this (eg. to hide the browser sign-in option) - so far the only sign I've seen that you're running on Chrome OS is that the hostname is "penguin" in the container, but I'm not sure I'd toggle things based on that.

  3. added
    platform/chromeos
    on Apr 7, 2019
  4. shiftkey commented on Jun 14, 2020

    @shiftkey
    OwnerAuthor

    #292 is another report of the sign-in process not working on Chrome OS

  5. shiftkey commented on Jun 14, 2020

    @shiftkey
    OwnerAuthor

    I don't see any indication this will be supported as part of the Crostini effort to get Linux apps working on ChromeOS:

    I'll also point out that GitHub is planning to remove basic authentication support in November, so we'll be stuck without an option here for ChromeOS users to authenticate because of the lack of support for protocol handlers.

  6. added
    blocked-external
    on Jan 24, 2021
  7. shiftkey commented on Jun 25, 2022

    @shiftkey
    OwnerAuthor

    Closing this out as I have no plans to revisit this, and I don't think this will be supported on Chrome OS based on another cursory search of the internet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked-externalinstallers/debplatform/chromeosunclear

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions