Details
Description
Adding and executing the following lines in the simplebrowser example is enough to reproduce the crash:
m_tabWidget->currentWebView()->page()->printToPdf("/tmp/file.pdf"); m_tabWidget->currentWebView()->page()->save("/tmp/file.mhtml");
stacktrace
1 base::Value::Clone values.cc 296 2 QtWebEngineCore::PrintViewManagerQt::RequestPrintPreview print_view_manager_qt.cpp 345 3 printing::mojom::PrintManagerHostStubDispatch::Accept print.mojom.cc 5792 4 mojo::InterfaceEndpointClient::HandleValidatedMessage interface_endpoint_client.cc 952 5 mojo::MessageDispatcher::Accept message_dispatcher.cc 48