<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: endOfSelection.isNotNull() in WebCore::InsertListCommand::doApply"
   href="https://bugs.webkit.org/show_bug.cgi?id=151087">151087</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ASSERTION FAILED: endOfSelection.isNotNull() in WebCore::InsertListCommand::doApply
          </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&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rhodovan.u-szeged&#64;partner.samsung.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>cdumez&#64;apple.com, rniwa&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>116980
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=265165" name="attach_265165" title="Test">attachment 265165</a> <a href="attachment.cgi?id=265165&amp;action=edit" title="Test">[details]</a></span>
Test

Load the attached test with debug MiniBrowser:

a
&lt;li&gt;
    &lt;table&gt;
        &lt;script&gt;
            document.designMode = 'on';
            document.execCommand(&quot;selectAll&quot;);
            document.execCommand(&quot;insertOrderedList&quot;);
        &lt;/script&gt;
    &lt;/table&gt;
&lt;/li&gt;


OS: Ubuntu 15.04 x86_64
Checked build: debug EFL
Checked version: 009fb33


Backtrace:

ASSERTION FAILED: endOfSelection.isNotNull()
../../Source/WebCore/editing/InsertListCommand.cpp(171) : virtual void WebCore::InsertListCommand::doApply()
1   0x7f00f83f7f97 WTFCrash
2   0x7f00fe6a73bf WebCore::InsertListCommand::doApply()
3   0x7f00ff8253f0 WebCore::CompositeEditCommand::apply()
4   0x7f00ff8251a1 WebCore::applyCommand(WTF::PassRefPtr&lt;WebCore::CompositeEditCommand&gt;)
5   0x7f00fe68cb3f
6   0x7f00fe69062a WebCore::Editor::Command::execute(WTF::String const&amp;, WebCore::Event*) const
7   0x7f00fe5363b5 WebCore::Document::execCommand(WTF::String const&amp;, bool, WTF::String const&amp;)
8   0x7f00ffc64119 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*)
9   0x7f0097fff0c8
Aborted (core dumped)

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f00f83f7f9c in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
321     *(int *)(uintptr_t)0xbbadbeef = 0;
#0  0x00007f00f83f7f9c in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
#1  0x00007f00fe6a73bf in WebCore::InsertListCommand::doApply (this=0x7f00dfbb63c0) at ../../Source/WebCore/editing/InsertListCommand.cpp:171
#2  0x00007f00ff8253f0 in WebCore::CompositeEditCommand::apply (this=0x7f00dfbb63c0) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:227
#3  0x00007f00ff8251a1 in WebCore::applyCommand (command=...) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:186
#4  0x00007f00fe68cb3f in WebCore::executeInsertOrderedList (frame=...) at ../../Source/WebCore/editing/EditorCommand.cpp:518
#5  0x00007f00fe69062a in WebCore::Editor::Command::execute (this=0x7ffcdaf56d70, parameter=..., triggeringEvent=0x0) at ../../Source/WebCore/editing/EditorCommand.cpp:1703
#6  0x00007f00fe5363b5 in WebCore::Document::execCommand (this=0x7f00df826a40, commandName=..., userInterface=false, value=...) at ../../Source/WebCore/dom/Document.cpp:4657
#7  0x00007f00ffc64119 in WebCore::jsDocumentPrototypeFunctionExecCommand (state=0x7ffcdaf56e40) at DerivedSources/WebCore/JSDocument.cpp:5066
#8  0x00007f0097fff0c8 in ?? ()
#9  0x00007ffcdaf56eb0 in ?? ()
#10 0x00007f00f83a0764 in llint_entry () from webkit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.1
Backtrace stopped: frame did not save the PC</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>