summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebenginedownloaditem
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2019-09-24 17:46:19 +0200
committerJüri Valdmann <juri.valdmann@qt.io>2019-09-25 15:56:35 +0200
commite31acc86e991d6f83bd56eebb7371914fc9ca5ac (patch)
tree349d3cde4ec0083b5fbd21245b6506478848bd03 /tests/auto/widgets/qwebenginedownloaditem
parent3db2cf8b8e3cf98ed03ab7220e4006946b741973 (diff)
Fix XMLHttpRequest status with custom schemes
Emulate a HTTP 200 OK response when QWebEngineUrlRequestJob::reply is called so that an XMLHttpRequest to a custom scheme gets a proper 'status' property. Note that calling QWebEngineUrlRequestJob::fail on the other hand emulates a network error, meaning it triggers the 'error' event in XMLHttpRequest. Fixes: QTBUG-78316 Change-Id: Ia7249a5b72533aa7e2ed4ef8f62d8b6b89820cc1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets/qwebenginedownloaditem')
0 files changed, 0 insertions, 0 deletions