Skip to content

[codex] Implement namespace support#280

Merged
domenic merged 1 commit into
mainfrom
codex/namespace-support
May 19, 2026
Merged

[codex] Implement namespace support#280
domenic merged 1 commit into
mainfrom
codex/namespace-support

Conversation

@domenic
Copy link
Copy Markdown
Member

@domenic domenic commented May 19, 2026

Summary

  • Add a dedicated namespace construct that installs Web IDL namespace objects on exposed globals.
  • Reuse the existing operation, attribute, and constant generation paths with namespace-specific handling for regular namespace members, readonly attributes, and SameObject caching.
  • Add namespace fixture coverage and generated snapshots for partial namespaces, overloads, constants, CEReactions, SameObject, and WebIDL2JSCallWithGlobal.
  • Update the README support matrix to list namespaces and partial namespaces as supported.

Validation

  • npm run update-snapshots
  • npm test
  • npm run lint

Co-Authored-By: codex <codex@openai.com>
@domenic domenic marked this pull request as ready for review May 19, 2026 07:29
@domenic domenic merged commit 4768e8f into main May 19, 2026
5 checks passed
@domenic domenic deleted the codex/namespace-support branch May 19, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant