Bug 20559 - Typo in sequence conversion algo
Typo in sequence conversion algo
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL
unspecified
PC All
: P2 normal
: ---
Assigned To: Cameron McCormack
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-04 01:39 UTC by Marcos Caceres
Modified: 2013-01-13 23:50 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2013-01-04 01:39:49 UTC
I think there is a typo in the sequence conversion algo (http://dev.w3.org/2006/webapi/WebIDL/#es-sequence)
It says:

1. Let *length* be the length of the platform array object.

But length is never used - instead, "n" is used in the proceeding steps.

Either change "length" to "n" or replace "n" for "length" in steps 2 and 3.
Comment 1 Cameron McCormack 2013-01-13 23:50:53 UTC
Thanks, fixed.