archives

« Bugzilla Issues Index

#1530 — Tests for 15.4.4.9, Array.prototype.shift and 15.4.4.13 Array.prorotype.unshift


The handling of attributes is not tested yet. Chrome has strange behavior: it seems to strip all attributes of the shifted array, on top of not throwing an error. Other browsers appear to work as per the spec. Need to add tests to make sure that 'true' is passed to Put and Delete respectively

https://mail.mozilla.org/pipermail/test262-discuss/2013-April/000162.html


Created attachment 59
Added tests to make sure true is passed to attributes if not throw TypeError


Created attachment 65
Added tests to make sure true is passed to element attributes if not throw TypeError


As noted in bug description, these 4 test cases fail on v8 debug and release
version as it blocks the forbidden updates, but does not throw an error.