Merge https://chromium.googlesource.com/chromium/blink/+/a0f5a1c5a050249d3f1be10249a91d88cd18c684 Range::textNodeSplit is called in Text::splitText, and it assumes the next sibling node is still a Text node. A DOM mutation event handler can break this assumption. We had better postpone DOM mutation events dispatched in Node::insertBefore until exiting splitText to avoid inconsistent Range state.
Created attachment 203655 [details] Patch
Created attachment 203659 [details] Patch for landing ChangeLog nits
Comment on attachment 203659 [details] Patch for landing Clearing flags on attachment: 203659 Committed r151160: <http://trac.webkit.org/changeset/151160>
All reviewed patches have been landed. Closing bug.
*** Bug 116073 has been marked as a duplicate of this bug. ***