Bug 20559 - Typo in sequence conversion algo
Summary: Typo in sequence conversion algo
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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.