-
Notifications
You must be signed in to change notification settings - Fork 662
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't pass numeric form keys to JSProxy functions
Summary: Internally, Hermes will sometimes keep keys as numbers for efficiency. In copyDataPropertiesSlowPath_RJS, which is for Proxy, ensure numeric keys are converted to strings before calling functions which might call into JSProxy. Reviewed By: avp Differential Revision: D23834086 fbshipit-source-id: b1df8e16573c15b63e3993793f6f484848bb89af
- Loading branch information
1 parent
ba8c4f6
commit 2f07b10
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters