[Webkit-unassigned] [Bug 45525] REGRESSION(r67176): editing/selection/doubleclick-inline-first-last-contenteditable.html crashes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 10 11:01:14 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45525
--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> 2010-09-10 11:01:13 PST ---
(In reply to comment #2)
> Thank for reporting and skipping the test.
> But it shouldn't be closed until the real bug fixed.
Oops, that wasn't intended. It seems like webkit-patch did that because I included the bug number in the changelog.
> Let's see the backtrace for crash.
>
> $WebKitTools/Scripts/run-webkit-tests editing/selection/doubleclick-inline-first-last-contenteditable.html --debug
>
> editing/selection/doubleclick-inline-first-last-contenteditable.html -> crashed
> 0.48s total testing time
> 1 test case (100%) crashed
>
> $ gdb WebKitBuild/Debug/bin/DumpRenderTree core
>
> #0 0xf59daa4a in WebCore::Node::getFlag (this=0x0, mask=WebCore::Node::IsElementFlag) at ../../../WebCore/dom/Node.h:651
> 651 bool getFlag(NodeFlags mask) const { return m_nodeFlags & mask; }
> (gdb) bt
> #0 0xf59daa4a in WebCore::Node::getFlag (this=0x0, mask=WebCore::Node::IsElementFlag) at ../../../WebCore/dom/Node.h:651
> #1 0xf5a7e54f in WebCore::Node::isElementNode (this=0x0) at ../../../WebCore/dom/Node.h:182
> #2 0xf5d9a5f7 in WebCore::Node::hasTagName (this=0x0, name=@0xf76ea588) at ../../../WebCore/dom/Element.h:373
> #3 0xf6106da4 in ancestorToRetainStructureAndAppearance (commonAncestor=0x8224968) at ../../../WebCore/editing/markup.cpp:899
> #4 0xf610d7dc in highestAncestorToWrapMarkup (range=0x8221140, fullySelectedRoot=0x0, shouldAnnotate=WebCore::AnnotateForInterchange) at ../../../WebCore/editing/markup.cpp:963
> #5 0xf611039b in WebCore::createMarkup (range=0x8221270, nodes=0x0, shouldAnnotate=WebCore::AnnotateForInterchange, convertBlocksToInlines=false, shouldResolveURLs=WebCore::AbsoluteURLs) at ../../../WebCore/editing/markup.cpp:1064
> #6 0xf667bbc9 in WebCore::Pasteboard::writeSelection (this=0x82212d0, selectedRange=0x8221270, canSmartCopyOrDelete=true, frame=0x815a708) at ../../../WebCore/platform/qt/PasteboardQt.cpp:68
> #7 0xf60dd3f3 in WebCore::Editor::copy (this=0x815aa20) at ../../../WebCore/editing/Editor.cpp:1190
> #8 0xf66cb421 in QWebPagePrivate::handleClipboard (this=0x816b668, ev=0x8224918, button=Qt::LeftButton) at ../../../WebKit/qt/Api/qwebpage.cpp:759
Why is it calling copy? That doesn't make any sense. The test only tests selecting text by double-clicking and click + modify selection. This must be a qt-specific behavior because on Mac, it's never copied.
--
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