[Webkit-unassigned] [Bug 33096] [Qt] DRT: Support evaluateInWebInspector(), setTimerProfilingEnabled() and display().

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 26 02:47:03 PST 2010


--- Comment #41 from Jocelyn Turcotte <jocelyn.turcotte at nokia.com>  2010-01-26 02:47:00 PST ---
Created an attachment (id=47394)
 --> (https://bugs.webkit.org/attachment.cgi?id=47394)
Suggested fix for the inspector page recreation crash.

(In reply to comment #39)
> Page* InspectorClientQt::createPage()
> {
> <..>
>     m_inspectorView.set(inspectorView);
> <..>
> m_inspectedWebPage->d->getOrCreateInspector()->d->setFrontend(inspectorView);
>  m_inspectorView.set(inspectorView) deletes the inspectorView for which
> setFrontEnd has a dangling pointer, and so crashes at:

Ahhh, I see!

Then it might be even better not to recreate the page each time.
What do you think about fixing it this way instead?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list