Skip to content

test: count only the refused values in the binding conformance checks - #26

Merged
NenkaLab merged 1 commit into
masterfrom
fix/tck-cycle-calls
Nov 15, 2026
Merged

NenkaLab merged 1 commit into
masterfrom
fix/tck-cycle-calls

Conversation

@NenkaLab

Copy link
Copy Markdown
Member

What changed

JavaScriptEngineConformance checked that the host saw no calls at all after a refused value (cycles, too-deep nesting, accessor properties and the other refusals). An engine may call the host for itself while it starts: NodeJSPlugin asks fs.realpath('.') for its project folder, which failed valuesThatCycleOrNestTooDeeplyAreRefusedWhereTheyArePassed. The four checks now go through assertHostSawNoValue(), which looks only for tck.echo calls, the function the refused values are passed to.

Testing

  • NodeJSPlugin NodeConformanceTest 27/27 with this TCK (run locally with Javet's Windows natives; its CI runs Linux).
  • PluginFixtures GraalJsConformanceTest 27/27.

🤖 Generated with Claude Code

@NenkaLab
NenkaLab merged commit 32bef55 into master Nov 15, 2026
1 check passed
@NenkaLab
NenkaLab deleted the fix/tck-cycle-calls branch November 15, 2026 12:41
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