diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2022-12-12 17:54:09 +0100 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2023-04-05 19:08:06 +0200 |
commit | c3ed0e176ccda503c968626010ca36f1f3961fce (patch) | |
tree | 846c865d38066a469b43893ced0931b612b5c2bd /dependencies.yaml | |
parent | fe9d72d931f40eafca97c1012c03e24561c973ff (diff) | |
download | qtwebengine-c3ed0e176ccda503c968626010ca36f1f3961fce.tar.gz |
Better handling of interrupted PDF printing
- Document the fact Stop WebAction can interrupt the in-progress PDF
generation.
- Update PrintViewManagerQt::PrintPreviewDone(): Normally
IsPrintRenderFrameConnected() implies IsRenderFrameLive(), but we have
to check both to avoid crash when render process exits. (Like Chrome
does.)
- Update PrintViewManagerQt::RequestPrintPreview(): Handle that case when
print preview params were sent between processes at the beginning, but it
was interrupted before RequestPrintPreview() could start PDF generation.
- Add a simple auto test to catch crashes
Pick-to: 6.5
Task-number: QTBUG-108154
Change-Id: I8a4f9cc97ddcf9a165d66a5981d93a023858fbc1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'dependencies.yaml')
0 files changed, 0 insertions, 0 deletions