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

Issue 883564 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 853593
Owner:
Long OOO (go/where-is-mgiuca)
Closed: Sep 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Desktop PWAs: Navigation off-scope should stay in same window with CCT UI

Project Member Reported by mgiuca@chromium.org, Sep 13

Issue description

Chrome Version: 71
OS: All Desktop (Chrome OS, Windows, Linux, and macOS once we get PWAs there).

What steps will reproduce the problem?
(1) Go to https://killer-marmot.appspot.com/web/
(2) Install this app and open the installed app window.
(3) Click "Fork me on GitHub".

What is the expected result?
The PWA app window navigates to GitHub, but because this is out of the app manifest's scope, a pseudo-location bar or "Chrome Custom Tab" (as it's called in Android) UI shows at the top of the window, indicating the origin of GitHub.

Note: If you install a non-PWA (Bookmark App, using Create Shortcut), you actually do get the desired behaviour, but the UI is ugly and needs a rework.

What happens instead?
GitHub opens in a new browser tab.

Bonus problem:

From the same app:
(3) Click "Post!" under "POST-and-redirect".

After 3 seconds, it redirects back automatically.

The expected behaviour is that the out-of-scope site https://redirectonpost.appspot.com appears in the same window in a CCT, then redirects back to Killer Marmot, hiding the CCT UI.

The observed behaviour is that the out-of-scope site https://redirectonpost.appspot.com appears in a new browser tab, and then redirects back to Killer Marmot, resulting in a duplicate Killer Marmot page in a browser tab. This is typical of off-site authentication flows.

Note: The current behaviour is actually mandated by the Manifest spec. This is a problem. We are working on a (breaking) change to the spec, at https://github.com/w3c/manifest/issues/646. In the mean time, Chrome will be intervening here because the broken auth flow is unacceptable, and we've already intervened on Android.
 
Mergedinto: 853593
Status: Duplicate (was: Assigned)
Crap, there's already a bug for this: Issue 853593.

Marking as a dupe, but I'll copy the above information into that bug report.

Sign in to add a comment