| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (base::FeatureList::IsEnabled(We need to ignore this flag if `reason` is EXTERNAL, because then the discard's requested by an extension and ignoring it will break the extension functionality.
We might also want to ignore the flag if `reason` is FROZEN_WITH_GROWING_MEMORY, because that means the tab's already frozen but keeps allocating memory, probably because incoming Mojo messages are building up without being processed. We discard the tab as a fallback to make sure it doesn't use too much memory.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
We need to ignore this flag if `reason` is EXTERNAL, because then the discard's requested by an extension and ignoring it will break the extension functionality.
We might also want to ignore the flag if `reason` is FROZEN_WITH_GROWING_MEMORY, because that means the tab's already frozen but keeps allocating memory, probably because incoming Mojo messages are building up without being processed. We discard the tab as a fallback to make sure it doesn't use too much memory.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Add feature flag to disable tab discarding
Introduces the `kDisableTabDiscarding` feature flag in the performance
manager.
When enabled, this flag causes `TabLifecycleUnit::Discard` to abort
early, preventing the browser from proactively discarding tabs to save
memory. This allows for measuring the impact of tab discarding on memory
usage and user experience compared to other optimization strategies.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |