W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[Bug 16833] New: consider always exposing a "length" property for objects with indexed properties

From: <bugzilla@jessica.w3.org>
Date: Tue, 24 Apr 2012 08:23:49 +0000
To: public-webapps@w3.org
Message-ID: <bug-16833-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16833

           Summary: consider always exposing a "length" property for
                    objects with indexed properties
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Workers (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: cam@mcc.id.au
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


Rather than relying on spec authors to add a

  readonly attribute unsigned long length;

to an interface that has an index getter, it would be simpler to have all such
objects/interfaces expose a length property.

-- 
Configure bugmail: https://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, 24 April 2012 08:23:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT