Skip to content

JSRT APIs for Proxy #950

Closed
Closed
@kunalspathak

Description

@kunalspathak

Currently target and handler as internal fields of JavascriptProxy.cpp and there is no way to retrieve them natively. Recently node started taking dependency on these fields natively. This breaks node on chakracore as chakracore doesn't have these fields exposed via JSRT. Additionally as per ES6 spec, there is no way to check if an object is a proxy or not.

This issue is to track adding below JSRT APIs

  • GetTargetOfProxy
  • GetHandlerOfProxy
  • IsProxy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions