<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - ASSERTION FAILED: m_atChild->parentNode() == m_element2 in WebCore::SplitElementCommand::SplitElementCommand"
href="https://bugs.webkit.org/show_bug.cgi?id=151092">151092</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ASSERTION FAILED: m_atChild->parentNode() == m_element2 in WebCore::SplitElementCommand::SplitElementCommand
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>HTML Editing
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rhodovan.u-szeged@partner.samsung.com
</td>
</tr>
<tr>
<th>Blocks</th>
<td>116980
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=265172" name="attach_265172" title="Test">attachment 265172</a> <a href="attachment.cgi?id=265172&action=edit" title="Test">[details]</a></span>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>