archives

« Bugzilla Issues Index

#1543 — 8.5.7: Step 18b of [[DefineOwnProperty]] needs to test for presence of [[Configurable]]


8.5.7 [[DefineOwnProperty]], step 18b needs to test for presence of [[Configurable]] in `desc`.

test case:
Object.defineProperty(
new Proxy({foo: 0}, {
defineProperty: (...args) => Reflect.defineProperty(...args)
}), "foo", {value: 1}
)


Using the current algorithm, the condition in step 18b evaluates to true and a TypeError is thrown.


fixed in rev 16 editor's draft


fixed in rev16 draft. July 15, 2013