[Webkit-unassigned] [Bug 11833] New: ASSERTION FAILURE calling SelectionController::setBaseAndExtent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 14 15:48:16 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11833

           Summary: ASSERTION FAILURE calling
                    SelectionController::setBaseAndExtent
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Critical
          Priority: P1
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ggaren at apple.com
                CC: justin.garcia at apple.com


ASSERTION FAILED: !s.base().node() || s.base().node()->document() ==
m_frame->document()
(/Users/ggaren/Labyrinth/OpenSource/WebCore/editing/SelectionController.cpp:107
void WebCore::SelectionController::setSelection(const WebCore::Selection&,
bool, bool, bool))
Program received signal:  "EXC_BAD_ACCESS".

Here's the reduction:

<iframe src="data:text/html, <div id='test' contenteditable='true'>hello
world</div>"></iframe>
<script>
window.onload = function() {
    var div = frames[0].document.getElementById('test');
    getSelection().setBaseAndExtent(div, 0, div, 1);
}
</script>


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



More information about the webkit-unassigned mailing list