WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
67478
Calling "positionInParentAfterNode" on HTMLDocument doesn't work as it doesn't have a parent
https://bugs.webkit.org/show_bug.cgi?id=67478
Summary
Calling "positionInParentAfterNode" on HTMLDocument doesn't work as it doesn'...
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug