Repository navigation
Commit 3ca23be
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]
Differential Revision: D1257070291 parent c4356db commit 3ca23be
1 file changed
Lines changed: 2 additions & 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 | 930 | | |
| |||
0 commit comments