[Webkit-unassigned] [Bug 93009] New: Range::isPointInRange incorrectly throws WRONG_DOCUMENT_ERR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 10:47:47 PDT 2012


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

           Summary: Range::isPointInRange incorrectly throws
                    WRONG_DOCUMENT_ERR
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eae at chromium.org
                CC: ap at webkit.org, ojan at chromium.org


The latest working draft of the DOM4 spec has all but killed the WRONG_DOCUMENT_ERR exception. Range::compareBoundaryPoints and Range::comparePoint are the only two remaining uses for it. As such, update isPointInRange to return false instead of throwing an exception when the range and point are in different documents.

This matches the Mozilla behavior.

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