New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 839272 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Long OOO (go/where-is-mgiuca)
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Opening app served from localhost shows location bar

Project Member Reported by mgiuca@chromium.org, May 3 2018

Issue description

Chrome Version: 66.0.3359.139
OS: Linux

(Needs to be confirmed on latest CrOS build, since this is a fairly out of date version.)

What steps will reproduce the problem?
(1) Serve a PWA from localhost (e.g., https://github.com/benfredwells/killer-marmot)
(2) Navigate to page.
(3) Install the PWA.
(4) Close it.
(5) Re-open it from chrome:apps / launcher.

What is the expected result?
No location bar, since it's still secure.

What happens instead?
Upon re-opening, it has a location bar.
 
Is this really a regression?

I'm wonder if we are showing the location bar because we don't recognize the scheme: https://cs.chromium.org/chromium/src/chrome/browser/ui/extensions/hosted_app_browser_controller.cc?type=cs&sq=package:chromium&l=47

Also for some reason we consider all navigations to be out of scope, but that's a separate issue.
I think it probably regressed when I changed how we check for the location bar.

> Is this really a regression?

Do you mean was this previously working? Or is this really bad?

I think it is bad --- localhost should work just as well as any https site.
I forgot about your change to the scheme checking code, so I thought we always had this behavior. 

Comment 4 by mgiuca@chromium.org, Jun 18 2018

Labels: -M-68 M-69
Bulk punting M68 PWA bugs to M69.
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment