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

[Bug 23532] New: Dealing with undefined

From: <bugzilla@jessica.w3.org>
Date: Wed, 16 Oct 2013 14:12:52 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23532-3890@http.www.w3.org/Bugs/Public/>
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

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