This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12997 - problems with 4.2.20.3. Array host object [[DefineOwnProperty]] method
Summary: problems with 4.2.20.3. Array host object [[DefineOwnProperty]] method
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: 2011-06-20 05:09 UTC by David Flanagan
Modified: 2011-06-20 06:57 UTC (History)
2 users (show)

See Also:


Attachments

Description David Flanagan 2011-06-20 05:09:31 UTC
In algorithm step 2.4 of ยง4.2.20.3, oldLenDesc is undefined.  Should this just say "If A represents a read-only or fixed-length array..." as in 3.3.1?

In algorithm step 3, attempts to set an element with index >= length are blocked for read-only arrays.  But it still allows indexes < length to set new values on read-only arrays.
Comment 1 Cameron McCormack 2011-06-20 06:57:43 UTC
You're right, thanks.  (I also removed the SameValue checks.)