summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-12-02 08:05:31 +0100
committerMichal Klocek <michal.klocek@qt.io>2021-12-06 08:26:53 +0000
commit1cf45eed088bd1ef1c89a9812c6f69d16bce56f7 (patch)
tree7b5db05bf0fa129da07fe06d8b0552b54437c643 /tests
parent73896925432a720785efd6b83aea785a63836613 (diff)
Fix race condition on layout (take2)
Even if layout is 'meaningful' it can still require update before toPlainTextSync call can proceed. Simply wait for frame being loaded in stead of tracking layout update. Depending on DidLoadFinish will brake default toHtml call for empty not loaded page, therefore return expected value if there is no load. This fixes crashes/asserts on certificateError (stacktrace in bug report). Remove blacklist on certificateError as bad certificate is back on line and toPlainTextSync works without issues. Fixes: QTBUG-97414 Pick-to: 6.2 Change-Id: Ib702bbe813f6061eef446e2d87d7e9e455d715c5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/certificateerror/BLACKLIST2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/core/certificateerror/BLACKLIST b/tests/auto/core/certificateerror/BLACKLIST
deleted file mode 100644
index a8fd16bf3..000000000
--- a/tests/auto/core/certificateerror/BLACKLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-[fatalError]
-*