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 }}
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
[MERGE #4806 @rhuanjl] Implement JsGetProxyProperties API fixes #950
Merge pull request #4806 from rhuanjl:JsGetProxyProperties
Responding to issue #950
This PR:
1. Adds a JavascriptProxy::IsRevoked method to the Javascript proxy class (necessary for the below)
2. Adds a JsGetProxyProperties API to Jsrt which can:
a) check if an object is a proxy -> set a provided bool to true/false
b) if it is a proxy check if it's revoked
c) if it is a revoked proxy set provided target and handler references to nullptr
d) if it is a proxy that is not revoked provide references to it's target and handler
3. Tracks the same API through to WScriptJsrt in ch
4. Adds a test that uses the ch implementation
(Targeting 1.9 as this will assist with an issue in node-chakracore #488 )
**CC:** @jackhorton@kfarnung@dilijev
Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
0 commit comments