W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 16386] New: Issue in example provided for es-sequence in WebIDL.

From: <bugzilla@jessica.w3.org>
Date: Thu, 15 Mar 2012 09:30:21 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16386-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16386

           Summary: Issue in example provided for es-sequence in WebIDL.
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/2006/webapi/WebIDL/#es-sequence
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: rgf748@motorola.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


In the example given on link http://dev.w3.org/2006/webapi/WebIDL/#es-sequence
there the example illustrates the ECMAScript implementation.
Here

// This evaluates to false.
canvas.getSupportedImageCodecs() == canvas.getSupportedImageCodecs();

Should be 
// This evaluates to true.
canvas.getSupportedImageCodecs()[0] == canvas.getSupportedImageCodecs();

Else
// This evaluates to false.
supportedImageCodecs[0] == canvas.getSupportedImageCodecs();

-- 
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 Thursday, 15 March 2012 09:30:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC