Bug 111073
Summary: | Changing enumerability of string indices should throw TypeError | ||
---|---|---|---|
Product: | WebKit | Reporter: | André Bargull <andre.bargull> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | benjamin, ggaren, oliver |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
André Bargull
The following test case should throw a TypeError, but currently it does not.
---
"use strict"; Object.defineProperty(new String("a"), "0", {enumerable:false})
---
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
It works for me. Someone probably fixed this bug since you report it. Closing this report.