mirror of
https://github.com/RGBCube/serenity
synced 2025-10-30 19:32:44 +00:00
This was failing to take two things into account: - When constructing a PropertyName from a value, it won't automatically convert to Type::Number for something like string "0", even though that's how things work internally, since indexed properties are stored separately. This will be improved in a future patch, it's a footgun and should happen automatically. - Those can't be looked up on the shape, we have to go through the indexed properties instead. Additionally it now operates on the shape or indexed properties directly as define_property() was overly strict and would throw if a property was already non-configurable. Fixes #6469. |
||
|---|---|---|
| .. | ||
| Object.create.js | ||
| Object.defineProperties.js | ||
| Object.defineProperty.js | ||
| Object.entries.js | ||
| Object.freeze.js | ||
| Object.getOwnPropertyDescriptor.js | ||
| Object.getOwnPropertyNames.js | ||
| Object.getPrototypeOf.js | ||
| Object.is.js | ||
| Object.isExtensible.js | ||
| Object.isFrozen.js | ||
| Object.isSealed.js | ||
| Object.js | ||
| Object.keys.js | ||
| Object.preventExtensions.js | ||
| Object.prototype.constructor.js | ||
| Object.prototype.hasOwnProperty.js | ||
| Object.prototype.isPrototypeOf.js | ||
| Object.prototype.js | ||
| Object.prototype.propertyIsEnumerable.js | ||
| Object.prototype.toLocaleString.js | ||
| Object.prototype.toString.js | ||
| Object.seal.js | ||
| Object.setPrototypeOf.js | ||
| Object.values.js | ||