[Webkit-unassigned] [Bug 151092] New: ASSERTION FAILED: m_atChild->parentNode() == m_element2 in WebCore::SplitElementCommand::SplitElementCommand
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 10 06:15:36 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151092
Bug ID: 151092
Summary: ASSERTION FAILED: m_atChild->parentNode() ==
m_element2 in
WebCore::SplitElementCommand::SplitElementCommand
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rhodovan.u-szeged at partner.samsung.com
Blocks: 116980
Created attachment 265172
--> https://bugs.webkit.org/attachment.cgi?id=265172&action=review
Test
Load the attached test with debug MiniBrowser:
<blockquote>
<font>
<style>
* {
border-top-style:inset;
-webkit-flow-into:flow_3
}
</style>
a
<script>
document.designMode = 'on';
document.execCommand("selectAll", null);
document.execCommand("overwrite" , null);
document.execCommand("outdent" , null);
</script>
</font>
</blockquote>
OS: Ubuntu 14.10 x86_64
Checked build: debug EFL
Checked version: 9fa8210
Backtrace:
ASSERTION FAILED: m_atChild->parentNode() == m_element2
../../Source/WebCore/editing/SplitElementCommand.cpp(42) : WebCore::SplitElementCommand::SplitElementCommand(WTF::PassRefPtr<WebCore::Element>, WTF::PassRefPtr<WebCore::Node>)
1 0x7f3028447e17 WTFCrash
2 0x7f302f89b127 WebCore::SplitElementCommand::SplitElementCommand(WTF::PassRefPtr<WebCore::Element>, WTF::PassRefPtr<WebCore::Node>)
3 0x7f302f87bf16 WebCore::SplitElementCommand::create(WTF::PassRefPtr<WebCore::Element>, WTF::PassRefPtr<WebCore::Node>)
4 0x7f302f871e75 WebCore::CompositeEditCommand::splitElement(WTF::PassRefPtr<WebCore::Element>, WTF::PassRefPtr<WebCore::Node>)
5 0x7f302e6edb9b WebCore::IndentOutdentCommand::outdentParagraph()
6 0x7f302e6ee45e WebCore::IndentOutdentCommand::outdentRegion(WebCore::VisiblePosition const&, WebCore::VisiblePosition const&)
7 0x7f302e6ee8e4 WebCore::IndentOutdentCommand::formatSelection(WebCore::VisiblePosition const&, WebCore::VisiblePosition const&)
8 0x7f302f859bd8 WebCore::ApplyBlockElementCommand::doApply()
9 0x7f302f86fd8a WebCore::CompositeEditCommand::apply()
10 0x7f302f86fb3b WebCore::applyCommand(WTF::PassRefPtr<WebCore::CompositeEditCommand>)
11 0x7f302e6d6830
12 0x7f302e6d8cde WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const
13 0x7f302e57d46d WebCore::Document::execCommand(WTF::String const&, bool, WTF::String const&)
14 0x7f302fcaf06b WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*)
15 0x7f2fcffff0c8
Aborted (core dumped)
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f3028447e1c in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
321 *(int *)(uintptr_t)0xbbadbeef = 0;
#0 0x00007f3028447e1c in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
#1 0x00007f302f89b127 in WebCore::SplitElementCommand::SplitElementCommand (this=0x7f301676f1c0, element=..., atChild=...) at ../../Source/WebCore/editing/SplitElementCommand.cpp:42
#2 0x00007f302f87bf16 in WebCore::SplitElementCommand::create (element=..., splitPointChild=...) at ../../Source/WebCore/editing/SplitElementCommand.h:37
#3 0x00007f302f871e75 in WebCore::CompositeEditCommand::splitElement (this=0x7f3016693000, element=..., atChild=...) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:481
#4 0x00007f302e6edb9b in WebCore::IndentOutdentCommand::outdentParagraph (this=0x7f3016693000) at ../../Source/WebCore/editing/IndentOutdentCommand.cpp:179
#5 0x00007f302e6ee45e in WebCore::IndentOutdentCommand::outdentRegion (this=0x7f3016693000, startOfSelection=..., endOfSelection=...) at ../../Source/WebCore/editing/IndentOutdentCommand.cpp:207
#6 0x00007f302e6ee8e4 in WebCore::IndentOutdentCommand::formatSelection (this=0x7f3016693000, startOfSelection=..., endOfSelection=...) at ../../Source/WebCore/editing/IndentOutdentCommand.cpp:228
#7 0x00007f302f859bd8 in WebCore::ApplyBlockElementCommand::doApply (this=0x7f3016693000) at ../../Source/WebCore/editing/ApplyBlockElementCommand.cpp:86
#8 0x00007f302f86fd8a in WebCore::CompositeEditCommand::apply (this=0x7f3016693000) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:227
#9 0x00007f302f86fb3b in WebCore::applyCommand (command=...) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:186
#10 0x00007f302e6d6830 in WebCore::executeOutdent (frame=...) at ../../Source/WebCore/editing/EditorCommand.cpp:879
#11 0x00007f302e6d8cde in WebCore::Editor::Command::execute (this=0x7ffd2c125ad0, parameter=..., triggeringEvent=0x0) at ../../Source/WebCore/editing/EditorCommand.cpp:1703
#12 0x00007f302e57d46d in WebCore::Document::execCommand (this=0x7f3016426a40, commandName=..., userInterface=false, value=...) at ../../Source/WebCore/dom/Document.cpp:4657
#13 0x00007f302fcaf06b in WebCore::jsDocumentPrototypeFunctionExecCommand (state=0x7ffd2c125ba0) at DerivedSources/WebCore/JSDocument.cpp:5066
#14 0x00007f2fcffff0c8 in ?? ()
#15 0x00007ffd2c125c10 in ?? ()
#16 0x00007f30283f05e4 in llint_entry () from webkit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.1
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151110/4a0e5ac4/attachment-0001.html>
More information about the webkit-unassigned
mailing list