Files
rust_browser/tests/external/js262/expected/object-create-basic.txt
Zachary D. Rowitsch 322706cc33
All checks were successful
ci / fast (linux) (push) Successful in 6m43s
Add JS Object enumeration, prototype APIs, and non-enumerable property support
Implement user-facing Object enumeration and prototype methods that were
missing from the JS engine: for...in inherited property enumeration,
Object.keys/values/entries/create/getPrototypeOf/assign static methods,
hasOwnProperty/propertyIsEnumerable instance methods, and non-enumerable
property support to prevent builtin methods from leaking into enumeration.

Key changes:
- Add non_enumerable_keys HashSet to JsObjectData with mark/query methods
- Fix for...in to walk prototype chain (all_enumerable_keys)
- Mark all builtin prototype methods non-enumerable (Object, Number,
  String, Boolean, Error, class prototypes)
- Add Object.prototype fallback for Function dispatch
- 26 new unit tests, 8 new JS262 conformance tests
- Test262 pass rate: 385/550 (70%, up from 47.8%)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:11:19 -05:00

4 lines
19 B
Plaintext