Bug 192576
| Summary: | [JSC] Introduce a JSObject::putDirectCustomValue() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | ysuzuki |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mark Lam
We should not be using JSObject::putDirectCustomAccessor() to put a CustomValue. A JSObject::putDirectCustomValue() would read more clearer. Also, clients of JSObject::putDirectCustomValue() should a pass in an attribute with the PropertyAttribute::CustomValue bit set.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |