[Webkit-unassigned] [Bug 31545] New: WebCore::SelectionController::setSelection NULL pointer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 04:34:45 PST 2009


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

           Summary: WebCore::SelectionController::setSelection NULL
                    pointer
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skylined at chromium.org
                CC: eric at webkit.org


Created an attachment (id=43293)
 --> (https://bugs.webkit.org/attachment.cgi?id=43293)
Repro case

The below code causes a NULL pointer:

<SCRIPT>
html_document=document.implementation.createHTMLDocument();
svg_element=html_document.createElementNS("http://www.w3.org/2000/svg","svg");
svg_element.deselectAll();
</SCRIPT>

Relevant functions on stack:
WebCore::SelectionController::setSelection(class WebCore::VisibleSelection * s
= 0x0012ef0c, bool closeTyping = true, bool clearTypingStyle = true, bool
userTriggered = false)+0x9
WebCore::SelectionController::clear(void)+0x1f
WebCore::SVGSVGElementInternal::deselectAllCallback(class v8::Arguments * args
= 0x0012efac)+0x4c

-- 
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