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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22665

            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