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
Javascript created a standard for wrapping objects Proxy and Reflect(link). Our agent predates these constructs so our shim API saves a reference to a function and re-assigns it. This could cause issues in cases where functions lack a setter. In an effort to stay current with our solutions we should update our patching to instead use Proxy and Reflect when calling constructor.
Notes:
We might be able to just abstract the traps in wrapReturn and re-use everywhere.
Internal ticket for this issue
The text was updated successfully, but these errors were encountered:
Description
Javascript created a standard for wrapping objects Proxy and Reflect(link). Our agent predates these constructs so our shim API saves a reference to a function and re-assigns it. This could cause issues in cases where functions lack a setter. In an effort to stay current with our solutions we should update our patching to instead use Proxy and Reflect when calling constructor.
Notes:
We might be able to just abstract the traps in wrapReturn and re-use everywhere.
Internal ticket for this issue
The text was updated successfully, but these errors were encountered: