jimblandy / jimblandy/DebuggerDocs

Update docs relating to proxies to Direct Proxies api

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
37
Forks
12
PR merge metrics
No merged PRs in 30d

Description

There's probably no reason to support legacy Proxies, rather Direct Proxies should be supported. This calls for the removal of `proxyCallTrap` and `proxyConstructTrap` and the addition of `proxyTarget`. `parameterNames` should, instead of returning an empty array, return what `parameterNames` would return for the target. I think the whole class of `DebuggeeWouldRun` errors that arise from the debuggee being a proxy could probably be removed by simply forwarding them all to the target. While this would not paint a completely accurate picture of the proxy, it's better than simply giving up.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.