[Webkit-unassigned] [Bug 67478] New: Calling "positionInParentAfterNode" on HTMLDocument doesn't work as it doesn't have a parent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 2 05:16:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=67478

           Summary: Calling "positionInParentAfterNode" on HTMLDocument
                    doesn't work as it doesn't have a parent
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skylined at chromium.org
                CC: rniwa at webkit.org


Created an attachment (id=106117)
 --> (https://bugs.webkit.org/attachment.cgi?id=106117&action=review)
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 at 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
                ...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list