Skip to content

fix: hand out a member a captured node holds fixed as it is, so a frozen array reads with permissions on (#655) - #656

Merged
Shinrai merged 20 commits into
nextfrom
fix/frozen-array-read-gated
Oct 25, 2026
Merged

Shinrai merged 20 commits into
nextfrom
fix/frozen-array-read-gated

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

👥 Contributors

@cldmv-bot cldmv-bot Bot added the ! fix → next v4 flow: fix contributor PR targeting the next integration branch label Oct 24, 2026
@cldmv-bot cldmv-bot Bot changed the title chore(types): regenerate declarations (#655) fix: hand out a member a captured node holds fixed as it is, so a frozen array reads with permissions on (#655) Oct 24, 2026
@cldmv-bot

cldmv-bot Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

Auto-normalized PR title: rewrote PR title to match the highest-priority commit type (fix).

  • Before: chore(types): regenerate declarations (#655)
  • After: fix: hand out a member a captured node holds fixed as it is, so a frozen array reads with permissions on (#655)

If this isn't what you want, edit the title — the normalizer won't re-fire as long as the title stays conventional.

@cldmv-bot cldmv-bot Bot added area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure labels Oct 24, 2026
…sing its own arrays, and util.inspect of a kept view (#655)
…own, refresh fixed members the node can still write, and inspect as the node (#655)
… after its owner closes it, and serialized from a timer (#655)
… not read, keep it inspecting the node as it is now, and serialize a kept node for the module that kept it (#655)
…ializing another's node, and descriptors read from a timer (#655)
…ze without editing a module's data, and read descriptors and inspect output as the view's reader (#655)
… and class instances and classes inspected as the node (#655)
…nd inspect classes and instances as the node does (#655)
…anded node serialized for its new reader, and every function kind inspected (#655)
…shadow and gate every read as it is made, serialize a handed node for every reader it passed through, and inspect every function kind (#655)
…ad it, and a class's methods shown when inspected (#655)
… value withheld, take the as-held read at the start of the node's own descriptor trap, and show a class's methods (#655)
@Shinrai
Shinrai merged commit 9325d84 into next Oct 25, 2026
28 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/frozen-array-read-gated branch October 25, 2026 07:14
Shinrai added a commit that referenced this pull request Oct 26, 2026
Brings in #656 (#655) and #666 (#661). Two adjustments where the merged code meets:

- runtime_isConstructor asks through a proxy whose construct trap answers, so a class (whose prototype is fixed)
  is a constructor again and nothing of the function is read; #625's own copy of the function is dropped.
- A self view over a module's captured view stands over that view's shadow and forwards every trap to it, so the
  engine's invariant checks never ask the captured view for a fixed member its reader may not read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! fix → next v4 flow: fix contributor PR targeting the next integration branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant