Are installed PWAs exempt from tab discarding?

78 views
Skip to first unread message

Will Schaller

unread,
Feb 7, 2022, 2:35:32 PM2/7/22
to Chromium-dev
I need a way to reliably prevent a tab from being discarded. I have been instructing users to pin the tab, since this reduces it's likelihood of being discarded, which works most of the time, but it would be nice to have a definite solution for ensuring it is never discarded (ideally without requiring setting flags). I'm wondering if installing as a PWA will achieve this?
Thanks!

Chris Hamilton

unread,
Feb 7, 2022, 3:07:22 PM2/7/22
to willsc...@bemyeyes.com, Chromium-dev
PWAs are protected from discarding on Mac, Windows and Linux. On CrOS they can still be discarded because some discard events are triggered by the operating system, and Chrome can do nothing to stop it.

Cheers,

Chris

On Mon, Feb 7, 2022 at 2:30 PM 'Will Schaller' via Chromium-dev <chromi...@chromium.org> wrote:
I need a way to reliably prevent a tab from being discarded. I have been instructing users to pin the tab, since this reduces it's likelihood of being discarded, which works most of the time, but it would be nice to have a definite solution for ensuring it is never discarded (ideally without requiring setting flags). I'm wondering if installing as a PWA will achieve this?
Thanks!

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/9ae4b039-5007-4551-978a-ff5cd21821d9n%40chromium.org.

Will Schaller

unread,
Feb 8, 2022, 7:18:01 PM2/8/22
to Chromium-dev, Chris Hamilton, Chromium-dev, Will Schaller
Perfect, thanks!
Reply all
Reply to author
Forward
0 new messages