Bug 67478

Summary: Calling "positionInParentAfterNode" on HTMLDocument doesn't work as it doesn't have a parent
Product: WebKit Reporter: Berend-Jan Wever <skylined>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: leandro, rniwa
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
Attachments:
Description Flags
Repro none

Berend-Jan Wever
Reported 2011-09-02 05:16:14 PDT
Created attachment 106117 [details] Repro Repro (can probably be reduced further): <!DOCTYPE html><script> setTimeout(function() { document.execCommand("selectall"); document.designMode="on"; document.execCommand("indent", false); document.execCommand("outdent",false); document.execCommand("InsertImage",false); document.execCommand("Delete",false); document.execCommand("insertorderedlist",false); document.execCommand("delete"); document.execCommand("inserthorizontalrule",false); document.execCommand("InsertImage",false); document.execCommand("inserthorizontalrule",false); document.execCommand("insertunorderedlist"); document.execCommand("selectall",false); document.execCommand("insertorderedlist",false); document.execCommand("Delete",false); document.execCommand("selectall"); document.execCommand("outdent"); document.execCommand("insertimage",false); }, 100); </script><frameset><frame> id: chrome.dll!WebCore::positionAvoidingPrecedingNodes ReadAV@NULL (586c6d571697e9318ad053888f701434) description: Attempt to read from unallocated NULL pointer in chrome.dll!WebCore::positionAvoidingPrecedingNodes stack: chrome.dll!WebCore::positionAvoidingPrecedingNodes chrome.dll!WebCore::ReplaceSelectionCommand::doApply chrome.dll!WebCore::EditCommand::apply chrome.dll!WebCore::applyCommand ...
Attachments
Repro (851 bytes, text/html)
2011-09-02 05:16 PDT, Berend-Jan Wever
no flags
Note You need to log in before you can comment on or make changes to this bug.