summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
diff options
context:
space:
mode:
authorTamas Zakor <ztamas@inf.u-szeged.hu>2020-05-05 12:25:58 +0200
committerTamas Zakor <ztamas@inf.u-szeged.hu>2020-05-20 12:33:37 +0200
commit7b6d15cdf271772695d28bf48f1f41a29dc29e28 (patch)
treed4b86c7119d3fe231c6025da392933e0b8147c73 /tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
parent1fa77712fb241e9c87bf97263df57a5f6f905702 (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