[Webkit-unassigned] [Bug 189470] Fail to throw TypeError when setting function.length in Array.prototype.unshift

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 7 06:39:52 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=189470

Alexey Shvayka <shvaikalesh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |shvaikalesh at gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from Alexey Shvayka <shvaikalesh at gmail.com> ---
(In reply to sunlili from comment #0)
> However, since function's length property is readonly, a TypeError should be
> thrown in unshift() execution.

r250275 fixed putLength() with unsuccessful [[Set]], including Array.prototype.unshift case.
test262 coverage: https://github.com/tc39/test262/pull/2463.

*** This bug has been marked as a duplicate of bug 201910 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200607/0b0e96bd/attachment.htm>


More information about the webkit-unassigned mailing list