Skip to content

boxed: Implement newEnumerate hook for boxed objects

Ole Jørgen Brønner requested to merge olejorgenb/gjs:enumerate-boxed into master

Before: Object.getOwnPropertyNames did not return names of methods not yet called/accessed

Now: all method names are returned regardless of the earlier access patterns.

Note: fields are always resolved so there's no need to introspect them again.

"Lazy" enumeration of "regular" objects was implemented in !155 (merged)

Merge request reports