[Webkit-unassigned] [Bug 51734] [Gtk] null ptr crash in DumpRenderTreeSupportGtk::getInnerText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 8 10:43:06 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=51734





--- Comment #4 from Antonio Gomes <tonikitoo at webkit.org>  2011-01-08 10:43:06 PST ---
Back to it.

Interesting:

The code in DumpRenderThreeSupportGtk::getInnerText that crashes now is essentially the same as it was in webkit_web_frame_get_inner_text, before DRTSupportGtk exits.

-    Element* documentElement = coreFrame->document()->documentElement();
-    String string =  documentElement->innerText();
-    return g_strdup(string.utf8().data());

and now

+    Element* documentElement = coreFrame->document()->documentElement();
+    return documentElement->innerText().utf8();

Any idea why the crash manifests only now?

-- 
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