[Webkit-unassigned] [Bug 155563] [JSC] correctly handle indexed properties in Object.getOwnPropertyDescriptors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 05:15:09 PDT 2016


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

--- Comment #5 from Caitlin Potter (:caitp) <caitp at igalia.com> ---
An example repro is `Object.getOwnPropertyDescriptors({ 0: 1 })[0]` (yields `undefined`) vs `Object.getOwnPropertyDescriptors({ 0: 1 })["0"]` (yields the right thing).

In debug builds, `Object.getOwnPropertyDescriptors({ 0: 1 })` fails a `ASSERT(!parseIndex())` in JSObject's directPutInline --- in release builds, it converts the index to a name, and subsequent accesses to the property via numbered keys fails. This is probably observable in other ways elsewhere in the library, which is unfortunate.

I'll write a test case that doesn't depend on the Proxy fix so this can be CQ'd

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160317/fabafdeb/attachment.html>


More information about the webkit-unassigned mailing list