Repository navigation
Commit 1fcf9b8
Fix: JSI Value::toString() should check the result type (#59146)
Summary:
Pull Request resolved: #59146
`global.String` could be overridden. We always need to check the return type before casting to `jsi::String`.
Changelog: [Internal]
Reviewed By: avp
Differential Revision: D125707029
fbshipit-source-id: 15d3f83ac23d8bceb24e9e13a1f67dc4b61bb3b81 parent ccca5d7 commit 1fcf9b8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
| 926 | + | |
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
| |||
0 commit comments