Skip to content

ABI: implement private class and AggregateError classification #186

Description

@chrisbbreuer

Parents: #163, #164

Implement the shared private callable/error classification boundary.

Acceptance:

  • Export exact JSC__JSValue__isClass and JSC__JSValue__isAggregateError signatures.
  • Match JSC call-data classification: JavaScript class constructors follow their executable class flag, ordinary/arrow functions are false, bound functions are false, and native constructors are true.
  • Preserve constructable proxy behavior and reject primitives/non-callables.
  • Classify only real AggregateError ErrorInstances, including subclasses, independent of mutable name/prototype properties.
  • Reject ordinary errors, spoofed objects, exception cells, invalid handles, and foreign-VM values safely.
  • Cover exact signatures, JS/native/bound/proxy callables, AggregateError/subclass/mutation/spoofing, sibling/foreign ownership, and invalid inputs in the compile-link-runtime fixture.
  • Update both inventories and README/API documentation without changing public/extension counts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions