diff options
author | Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> | 2024-03-07 16:20:01 +0100 |
---|---|---|
committer | Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> | 2024-06-01 13:28:22 +0200 |
commit | 02b8b5afb45c2f926a4c0026cdb05e2fbb47dc46 (patch) | |
tree | b71d95563b1fc99ff7c2963ffec86564cb54bcce /lib/web_contents_adapter_client.h | |
parent | ebf9ad043daa53c310ea2d5ee9987afbc615e4cd (diff) |
This change introduces a new API allowing application developers
to choose whether they want to retain the granted/denied status of
permissions between different pages or browsing sessions. The
previous behavior of asking for permission every time is still
optionally available, but the default behavior is to persist
permissions inbetween sessions (except for off-the-record profiles,
where the permissions get destroyed alongside the profile).
Storage is handled via a PrefService, which writes to a
permissions.json file stored inside the profile folder. This is
different to Chromium's implementation, which is massively
overengineered and would require enabling a ton of code we will
never need to use.
[ChangeLog][QtWebEngineCore][QWebEngineProfile] Added new API
to control permission persistence.
[ChangeLog][QtWebEngineQuick] Added new API
to control permission persistence.
Fixes: QTBUG-55108
Change-Id: Ib3057feda3bfbbf2a17a86356feca35a67180806
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'lib/web_contents_adapter_client.h')
0 files changed, 0 insertions, 0 deletions