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

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 UTC