Skip to content

ABI: implement private UTF-16 string inclusion #185

Description

@chrisbbreuer

Parents: #163, #164
Depends on: #180, #183

Implement the shared private string inclusion boundary.

Acceptance:

  • Export exact JSC__JSValue__stringIncludes signature.
  • Apply full ToString to the receiver first and search value second, preserving observable hook order.
  • Search by UTF-16 code units from position zero, including empty needles, astral characters, and isolated/high/low surrogate substrings.
  • Return false and publish either coercion failure through ABI: implement private VM pending exceptions #180, preserving thrown value identity and the first pending exception.
  • Preserve same-VM sibling values and reject foreign-VM values safely.
  • Cover exact signature, primitive/object coercion, order, UTF-16 edge cases, thrown hooks, sibling/foreign ownership, and pending-state behavior 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