W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

[Bug 13376] New: "Return whether [...]" doesn't cast to a boolean

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jul 2011 23:20:35 +0000
To: www-dom@w3.org
Message-ID: <bug-13376-4009@http.www.w3.org/Bugs/Public/>

           Summary: "Return whether [...]" doesn't cast to a boolean
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM Core
        AssignedTo: annevk@opera.com
        ReportedBy: ian@hixie.ch
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, www-dom@w3.org


  4. Return whether token is a case-sensitive match for [...]

"It is" and "It is not" are not boolean values, so this doesn't define the
return value.

This is why the HTML spec said "return true if ... otherwise return false".

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 Tuesday, 26 July 2011 23:20:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:40 UTC