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

Issue 761812 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Jul 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: ----



Sign in to add a comment

Installed PWAs get crippled to save bandwidth

Project Member Reported by jochen@chromium.org, Sep 4 2017

Issue description

Device name: Google Pixel

From "Settings > About Chrome"
Application version: 60.0.3112.116
Operating system: 8.0.0

URLs (if applicable): facebook.com

Steps to reproduce:
(1) log in on facebook.com
(2) install facebook on your homescreen ("Add to Homescreen")
(3) I'm not sure what step three is, maybe "be on a crappy 2g network"?

Expected result:
facebook pwa loads

Actual result:
facebook looks crippled and I get a small infobar at the buttom that tells me that bandwidth was saved and gives me to option to show the original

Also note that it doesn't give me a way to learn more about this feature, nor a way to disable it globally.



 
Components: Internals>Network>DataProxy
Status: Untriaged (was: Unconfirmed)
Hmm, maybe Data Saver setting somehow affects those things and shouldn't? 

shouldn't data saver not affect https sites?

Comment 3 by mdw@chromium.org, Sep 5 2017

This might be the client-side Lo-Fi experiment, but it's not possible to tell from the bug description. It would help if you could explain what you mean by "crippled" or at least provide a screenshot. This isn't a very useful bug report otherwise.


i'll add a screenshot next time it triggers. It looked like stylesheets were only partially loaded.
Components: -Blink
Summary: Installed PWAs get crippled to save bandwidth (was: Installed PWAs get crippled to safe bandwidth)

Comment 6 by mdw@chromium.org, Sep 6 2017

Cc: aposner@chromium.org
Owner: bengr@chromium.org
Status: Assigned (was: Untriaged)
Assigning to bengr@. The behavior you described would be surprising to me, but Ben would know best (a) what we should expect and (b) possibly what combination of flags we can use to reproduce.

Comment 7 by bengr@chromium.org, Sep 14 2017

A screenshot would be helpful. We have only two 'previews' optimizations that operate on HTTPS pages. The first shows the offline version of a page if one is available. It could be that the offline snapshot is bad. The second is client-side Lo-Fi, which replaces images with grey rectangles with an icon in the center.

Comment 8 by bengr@chromium.org, Nov 3 2017

Cc: sclit...@chromium.org
jochen: Could you send a screenshot?

Comment 9 by bengr@chromium.org, Dec 19 2017

Labels: -M-60 Target-67
Even without a screenshot, I take your point that we should look specifically at the interaction between PWAs and Data Saver optimizations. Reassigning to ryansturm@ to investigate.

Comment 10 by bengr@chromium.org, Dec 19 2017

Components: Blink>Previews
Owner: ryansturm@chromium.org

Comment 11 Deleted

Cc: -reillyg@chromium.org
Cc: ryansturm@chromium.org
Owner: dougarnett@chromium.org
I looked at M64 with LoFi and DataSaver enabled with slow network and do see image placeholders when I launch the browser from a Facebook home screen icon.
And I do see the "Saved data. Show original" info bar at the bottom.

It looks like WAI as far as I can tell. Attaching screenshot for the LoFi treatment and for the result of then choosing "Show original"

Does this look like the same experience as originally asked about?


lofi.png
173 KB View Download
showoriginal.png
1.1 MB View Download
That seems off still. PWAs are when you click "Add To Home Screen", and they very much seem like a native app instead of the Chrome app in a few ways (they don't have omnibox or ... menu).

IMO, we should prevent previews on PWAs, custom tabs, web view, etc. Everything outside of Chrome app should not see Previews.
Yeah, I did "Add to Home Screen" but I seem to have more of a shortcut than PWA.
PWAs actually don't always need to look different from chrome, as they can set different displays in their manifest:

https://developer.mozilla.org/en-US/docs/Web/Manifest#display

I believe everything except "browser" should stop showing previews.
This demo can install a fullscreen PWA, and provides links to standalone and minimal-ui demos.

https://piotrswigon.github.io/pwa-demo/fullscreen/
Components: -Internals>Network>DataProxy

Comment 20 by bengr@chromium.org, Jun 22 2018

Labels: -Pri-3 -Target-67 M-70 Pri-2
Mergedinto: 818031
Status: Duplicate (was: Assigned)

Sign in to add a comment