<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 - [iOS] Lots of editing tests ASSERT that &quot;Calling editorState() should not cause a synchronous layout.&quot;"
   href="https://bugs.webkit.org/show_bug.cgi?id=144471">144471</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[iOS] Lots of editing tests ASSERT that &quot;Calling editorState() should not cause a synchronous layout.&quot;
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly 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>joepeck&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>ap&#64;webkit.org, enrica&#64;apple.com, rniwa&#64;webkit.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>* SUMMARY
[iOS] Lots of editing tests ASSERT that &quot;Calling editorState() should not cause a synchronous layout.&quot;

* STEPS TO REPRODUCE
1. shell&gt; run-webkit-tests --debug --ios-simulator editing

* NOTES
About 30 editing tests are failing with this ASSERT/CRASH log.

stderr:
ASSERTION FAILED: Calling editorState() should not cause a synchronous layout.
needsLayout == (view &amp;&amp; view-&gt;needsLayout())
Source/WebKit2/WebProcess/WebPage/WebPage.cpp(4409) : void WebKit::WebPage::didChangeSelection()
1   0x118548920 WTFCrash
2   0x113c43b73 WebKit::WebPage::didChangeSelection()
3   0x113c83bb8 WebKit::WebPage::updateSelectionAppearance()
4   0x113b54736 WebKit::WebFrameLoaderClient::dispatchDidLayout()
5   0x11a5c12fa WebCore::FrameView::performPostLayoutTasks()
6   0x11a5c0798 WebCore::FrameView::layout(bool)
7   0x11a215627 WebCore::Document::updateLayout()
8   0x11a218f8f WebCore::Document::updateLayoutIgnorePendingStylesheets(WebCore::Document::RunPostLayoutTasks)
9   0x11a922907 WebCore::InsertIntoTextNodeCommand::doApply()
10  0x119f6fbf7 WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr&lt;WebCore::EditCommand&gt;)
11  0x119f717f8 WebCore::CompositeEditCommand::insertTextIntoNode(WTF::PassRefPtr&lt;WebCore::Text&gt;, unsigned int, WTF::String const&amp;)
12  0x11a92ba35 WebCore::InsertTextCommand::doApply()
13  0x119f6fd41 WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr&lt;WebCore::CompositeEditCommand&gt;, WebCore::VisibleSelection const&amp;)
14  0x11bb4575b WebCore::TypingCommand::insertTextRunWithoutNewlines(WTF::String const&amp;, bool)
15  0x11bb465f2 WebCore::TypingCommandLineOperation::operator()(unsigned long, unsigned long, bool) const
16  0x11bb45f11 void WebCore::forEachLineInString&lt;WebCore::TypingCommandLineOperation&gt;(WTF::String const&amp;, WebCore::TypingCommandLineOperation const&amp;)
17  0x11bb44b58 WebCore::TypingCommand::insertText(WTF::String const&amp;, bool)
18  0x11bb44a0f WebCore::TypingCommand::insertText(WebCore::Document&amp;, WTF::String const&amp;, WebCore::VisibleSelection const&amp;, unsigned int, WebCore::TypingCommand::TextCompositionType)
19  0x11bb447c5 WebCore::TypingCommand::insertText(WebCore::Document&amp;, WTF::String const&amp;, unsigned int, WebCore::TypingCommand::TextCompositionType)
20  0x11a3ae3f4 WebCore::executeInsertText(WebCore::Frame&amp;, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&amp;)
21  0x11a3ac117 WebCore::Editor::Command::execute(WTF::String const&amp;, WebCore::Event*) const
22  0x11a225798 WebCore::Document::execCommand(WTF::String const&amp;, bool, WTF::String const&amp;)
23  0x11ab04e95 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*)
24  0x21fd0827028
25  0x1182ebe53 llint_entry
26  0x1182ebe53 llint_entry
27  0x21fd08281da
28  0x1182ebe53 llint_entry
29  0x1182ebe53 llint_entry
30  0x1182e56d9 vmEntryToJavaScript
31  0x11814e8fc JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)</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>