W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22665] New: Wrong example for [TreatNonCallableAsNull]

From: <bugzilla@jessica.w3.org>
Date: Sun, 14 Jul 2013 12:44:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22665-3890@http.www.w3.org/Bugs/Public/>

            Bug ID: 22665
           Summary: Wrong example for [TreatNonCallableAsNull]
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: dchris@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

In the section for [TreatNonCallableAsNull]*, it looks to me that the example
is wrong and that the handler1 / handler2 are reversed.

handler1 has type 'OccurrenceHandler?', which has [TreatNonCallableAsNull]
extended attribute so it should not throw when 123 is assigned to it. However,
the handler2 case should probably throw.

* http://dev.w3.org/2006/webapi/WebIDL/#TreatNonCallableAsNull

You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 14 July 2013 12:44:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:17 UTC