You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
REPL error when previewing a getter property on the prototype chain that throws #67806
replIssues and PRs related to the REPL subsystem.v24.xIssues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch.v26.xIssues that can be reproduced on v26.x or PRs targeting the v26.x-staging branch.
Darwin _ 23.6.0 Darwin Kernel Version 23.6.0: arm64
Subsystem
No response
What steps will reproduce the bug?
> node
Welcome to Node.js v26.13.1.
Type ".help" for more information.
> const Dog = new (
| class {
| speak() {
| return 'woof';
| }}
| )();
undefined
The next line one enters Dog.constructor.arguments without a newline and exit occurs as shown:
> Dog.constructor.argumentsnode:internal/readline/emitKeypressEvents:74
throw err;
^
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
at get arguments (<anonymous>)
at propHasGetterOrIsProxy (node:internal/repl/completion:791:18)
at hasGetterOrIsProxy (node:internal/repl/completion:740:14)
at node:internal/repl/completion:684:16
at node:internal/repl/completion:714:20
at finishExecution (node:repl:588:9)
at defaultEval (node:repl:682:9)
at REPLEvalInContext (node:repl:693:9)
at AsyncLocalStorage.run (node:internal/async_local_storage/async_context_frame:66:14)
at REPLEval (node:repl:692:19)
How often does it reproduce? Is there a required condition?
Reproducible using steps above.
What is the expected behavior? Why is that the expected behavior?
The REPL shows an error or warning, but does not exit node.
changed the title [-]Crash during keyboard entry[/-][+]REPL error when previewing a getter property on the prototype chain that throws[/+]on Nov 29, 2026
replIssues and PRs related to the REPL subsystem.v24.xIssues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch.v26.xIssues that can be reproduced on v26.x or PRs targeting the v26.x-staging branch.
Activity
mertcanaltin commentedon Nov 27, 2026
Thanks for the issue, @nodejs/repl Can I open a fix PR for v26-staging ?
[-]Crash during keyboard entry[/-][+]REPL error when previewing a getter property on the prototype chain that throws[/+]