[Qtwebengine] Detect crash of page process
Allan Sandfeld Jensen
allan.jensen at theqtcompany.com
Thu Mar 10 19:18:52 CET 2016
You can navigate to chrome://crash
It is one of the few Chrome URLs that always works as expected.
You can also look for the QtWebEngineProcess and kill it.
`Allan
On Thursday 10 March 2016, Aleksey Yermakov wrote:
> Hi Kai,
>
> That's exactly what I needed. Thank you.
>
> Do you know an effective way to crash render process for testing purposes?
>
> Regards,
> Aleksey
>
> On Thu, Mar 10, 2016 at 6:08 PM, Koehne Kai <Kai.Koehne at theqtcompany.com>
>
> wrote:
> > > -----Original Message-----
> > > From: QtWebEngine [mailto:qtwebengine-
> > > bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
> > > Aleksey Yermakov
> > > Sent: Thursday, March 10, 2016 4:02 PM
> > > To: qtwebengine at qt-project.org
> > > Subject: [Qtwebengine] Detect crash of page process
> > >
> > > Hi,
> > >
> > > My QtWebEngine app sometimes experience crashes after
> > > sleep/hibernation which is easily fixed by page reload.
> > >
> > > Is there a way (a signal?) to detect a crash of a page process? If not,
> >
> > I'm
> >
> > > ready to implement it.
> >
> > Qt 5.6 will feature a renderProcessTerminated signal
> >
> >
> > http://doc-snapshots.qt.io/qt5-5.6/qwebengineview.html#renderProcessTermi
> > nated
> >
> >
> > http://doc-snapshots.qt.io/qt5-5.6/qml-qtwebengine-webengineview.html#ren
> > derProcessTerminated-signal
> >
> > Regards
> >
> > Kai
--
The Qt Company
Rudower Chausse 13, 12489 D-Berlin
The Qt Company is a group company of Digia Plc,
Valimotie 21, FI-00380 Helsinki Finland
More information about the QtWebEngine
mailing list