<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>135604</bug_id>
          
          <creation_ts>2014-08-05 03:55:25 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: canHaveChildrenForEditing(parent.get())  in WebCore::CompositeEditCommand::appendNode</short_desc>
          <delta_ts>2016-08-04 10:04:07 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>116980</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Hodovan">mhodovan.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>darin</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>rniwa</cc>
    
    <cc>sullivan</cc>
    
    <cc>tony</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1026830</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Hodovan">mhodovan.u-szeged</who>
    <bug_when>2014-08-05 03:55:25 -0700</bug_when>
    <thetext>Test:
&lt;html&gt;
    &lt;head&gt;
        &lt;script&gt;
            function f() {
                document.designMode = &apos;on&apos;;
                document.execCommand(&quot;selectAll&quot;, false, null);    
                document.execCommand(&quot;indent&quot; , false , null);
            }
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body onload=&apos;f()&apos;&gt;
        &lt;object&gt;1&lt;/object&gt;
   &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1026841</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Hodovan">mhodovan.u-szeged</who>
    <bug_when>2014-08-05 07:18:32 -0700</bug_when>
    <thetext>Backtrace:
#0  0x00007ffff57c170b in WTFCrash () at WebKit/Source/WTF/wtf/Assertions.cpp:329
#1  0x00007ffff0b4d710 in WebCore::CompositeEditCommand::appendNode (this=0x835d00, node=..., parent=...)
    at WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:399
#2  0x00007ffff0b51490 in WebCore::CompositeEditCommand::cloneParagraphUnderNewElement (this=0x835d00, start=..., end=..., passedOuterNode=0x819f60, blockElement=0x83a250)
    at WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:1081
#3  0x00007ffff0b51d3b in WebCore::CompositeEditCommand::moveParagraphWithClones (this=0x835d00, startOfParagraphToMove=..., endOfParagraphToMove=..., blockElement=0x83a250, 
    outerNode=0x819f60) at WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:1177
#4  0x00007ffff0b991b7 in WebCore::IndentOutdentCommand::indentIntoBlockquote (this=0x835d00, start=..., end=..., targetBlockquote=...)
    at WebKit/Source/WebCore/editing/IndentOutdentCommand.cpp:118
#5  0x00007ffff0b9a2b6 in WebCore::IndentOutdentCommand::formatRange (this=0x835d00, start=..., end=..., blockquoteForNextIndent=...)
    at WebKit/Source/WebCore/editing/IndentOutdentCommand.cpp:237
#6  0x00007ffff0b3ad77 in WebCore::ApplyBlockElementCommand::formatSelection (this=0x835d00, startOfSelection=..., endOfSelection=...)
    at WebKit/Source/WebCore/editing/ApplyBlockElementCommand.cpp:141
#7  0x00007ffff0b9a239 in WebCore::IndentOutdentCommand::formatSelection (this=0x835d00, startOfSelection=..., endOfSelection=...)
    at WebKit/Source/WebCore/editing/IndentOutdentCommand.cpp:227
#8  0x00007ffff0b3a298 in WebCore::ApplyBlockElementCommand::doApply (this=0x835d00) at WebKit/Source/WebCore/editing/ApplyBlockElementCommand.cpp:86
#9  0x00007ffff0b4c848 in WebCore::CompositeEditCommand::apply (this=0x835d00) at WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:227
#10 0x00007ffff0b4c637 in WebCore::applyCommand (command=...) at WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:182
#11 0x00007ffff0b85af4 in WebCore::executeIndent (frame=...) at WebKit/Source/WebCore/editing/EditorCommand.cpp:489
#12 0x00007ffff0b89107 in WebCore::Editor::Command::execute (this=0x7fffffffc800, parameter=..., triggeringEvent=0x0)
    at WebKit/Source/WebCore/editing/EditorCommand.cpp:1740
#13 0x00007ffff0a400a4 in WebCore::Document::execCommand (this=0x766900, commandName=..., userInterface=false, value=...)
    at WebKit/Source/WebCore/dom/Document.cpp:4279
#14 0x00007ffff195fc60 in WebCore::jsDocumentPrototypeFunctionExecCommand (exec=0x7fffffffc8f0)
    at WebKit/WebKitBuild/Debug/DerivedSources/WebCore/JSDocument.cpp:4526
#15 0x00007fff9cee00b4 in ?? ()
#16 0x00007fffffffc950 in ?? ()
#17 0x00007ffff57aab2c in llint_entry () from WebKit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.0
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173690</commentid>
    <comment_count>2</comment_count>
      <attachid>273718</attachid>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2016-03-11 03:27:24 -0800</bug_when>
    <thetext>Created attachment 273718
Test

It&apos;s still valid on ToT WebKit.
Validated on r197952 both with Mac and EFL builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1217227</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-08-03 14:53:05 -0700</bug_when>
    <thetext>This reproduces in r204037.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1217443</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-08-04 10:04:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/27701780&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>273718</attachid>
            <date>2016-03-11 03:27:24 -0800</date>
            <delta_ts>2016-03-11 03:27:24 -0800</delta_ts>
            <desc>Test</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>350</size>
            <attacher name="Renata Hodovan">rhodovan.u-szeged</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8c2NyaXB0PgogICAgICAgICAgICBmdW5jdGlvbiBm
KCkgewogICAgICAgICAgICAgICAgZG9jdW1lbnQuZGVzaWduTW9kZSA9ICdvbic7CiAgICAgICAg
ICAgICAgICBkb2N1bWVudC5leGVjQ29tbWFuZCgic2VsZWN0QWxsIiwgZmFsc2UsIG51bGwpOyAg
ICAKICAgICAgICAgICAgICAgIGRvY3VtZW50LmV4ZWNDb21tYW5kKCJpbmRlbnQiICwgZmFsc2Ug
LCBudWxsKTsKICAgICAgICAgICAgfQogICAgICAgIDwvc2NyaXB0PgogICAgPC9oZWFkPgogICAg
PGJvZHkgb25sb2FkPSdmKCknPgogICAgICAgIDxvYmplY3Q+MTwvb2JqZWN0PgogICA8L2JvZHk+
CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>