diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2022-12-19 16:36:29 +0100 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2023-01-16 14:13:03 +0100 |
commit | 01728421d641ffac98a85b408167db478b253458 (patch) | |
tree | da99698082b2039b46d8082244d1f6fb677d533d /tests/auto | |
parent | 35d4b0b1d1c723e32d589b3dfddfe96eaa8e5568 (diff) |
Fix opening files with File System Access API
Chrome interprets accepting file picker dialog as a user consent and
grants access permission to the selected files automatically. We have
to do the same since we don't get any permission request in this case
anymore.
This issue did not affect directory picker and file saver modes.
Also add AncestorHasActivePermission() check, it seems to be effective
to not request permission again for the same file if the parent dir
was already pulled in by this API.
Pick-to: 6.4 6.5
Change-Id: Id73d8fc6e9bd518692362133f3dafa472f0e97a1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions