+
Skip to content

Check if we should be intercepting properties in Proxy objects #509

Open
@mcintyre94

Description

@mcintyre94

Our RPC and subscriptions objects use a proxy to support arbitrary JSON-RPC methods. Currently we don't special-case any properties, and everything is treated as defined to return the async send() function.

See #508 where this causes an issue with the special then, which makes JS interpret our proxy as a valid promise.

We should check if there are any other standard properties that might cause similar issues where our proxy gets interpreted as providing functionality that it does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载