diff options
author | Tamas Zakor <ztamas@inf.u-szeged.hu> | 2020-05-05 12:25:58 +0200 |
---|---|---|
committer | Tamas Zakor <ztamas@inf.u-szeged.hu> | 2020-05-20 12:33:37 +0200 |
commit | 7b6d15cdf271772695d28bf48f1f41a29dc29e28 (patch) | |
tree | d4b86c7119d3fe231c6025da392933e0b8147c73 /tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp | |
parent | 1fa77712fb241e9c87bf97263df57a5f6f905702 (diff) |
Fix path validation in FilePickerController::accepted()
In some cases QUrl::toLocalFile() does wrong path conversion on
Windows. Therefore we have to convert the file URL to absolute path
in another way and use FilePath::IsAbsolute() for validating that.
Also stabilize WebEngineViewSingleFileUpload tests. They didn't wait
for html title change when the expected value was the same as the
default title.
Change-Id: Ica7798a299f9b28657afeeccccfba3fdecc515e2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp')
0 files changed, 0 insertions, 0 deletions