-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=65015 Reviewed by Alexey Proskuryakov. Source/WebCore: Test: fast/dom/Range/insertNode-empty-fragment-crash.html * dom/Range.cpp: (WebCore::Range::insertNode): Don't adjust the range after insertion if we didn't add anything. Otherwise the code will put a wrong "child before" value into the range end boundary point. LayoutTests: * fast/dom/Range/insertNode-empty-fragment-crash-expected.txt: Added. * fast/dom/Range/insertNode-empty-fragment-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e5da3845