W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2011

[Bug 14583] New: isPointInRange() should not throw WrongDocumentError

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Oct 2011 00:48:31 +0000
To: www-dom@w3.org
Message-ID: <bug-14583-4009@http.www.w3.org/Bugs/Public/>

           Summary: isPointInRange() should not throw WrongDocumentError
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM Core
        AssignedTo: annevk@opera.com
        ReportedBy: ayg@aryeh.name
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, www-dom@w3.org

This alerts "No exception" in both Gecko and WebKit:

data:text/html,<!doctype html>
try {
  document.createRange().isPointInRange(document.createElement("a"), 0);
  throw "No exception";
} catch(e) {

alerts "No exception" for me in both Gecko and WebKit.  I'll write tests for
this, and update the spec to match browser results.  Assuming I don't forget.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 28 October 2011 00:48:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC