[Bug 23532] New: Dealing with undefined

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

            Bug ID: 23532
           Summary: Dealing with undefined
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: annevk@annevk.nl
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

Domenic proposed these rules:

* If the argument is required, both undefined and missing should give a
TypeError
* If the argument is optional, both undefined and missing should trigger the
default

I.e. always treat undefined and missing for the same argument identically.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 16 October 2013 14:12:57 UTC