Summary: | Object.defineProperties isn't atomic | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeff Walden (remove +bwo to email) <jwalden+bwo> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | skyul |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | javascript: var o = {}; Object.defineProperty(o, "a", { value: 17, configurable: false, writable: false }); try { Object.defineProperties(o, { g: { value: 12345, enumerable: true }, a: { value: 42, configurable: true } }); alert("FAIL, didn't throw"); } catch (e) { }; alert("g" in o ? "FAIL, Object.defineProperties isn't atomic" : " PASS"); |
Description
Jeff Walden (remove +bwo to email)
2009-09-21 17:57:43 PDT
https://mail.mozilla.org/pipermail/es5-discuss/2009-September/003361.html ...and ES5 implementers everywhere say whee! |