Commit cf1975f
Remove lowercase
Summary:
Pull Request resolved: #56512
Changelog: [internal]
`UIManagerBinding::dispatchEvent` injects a `timeStamp` property into the event payload when one is not already present. A previous change extended this check to also skip injection when a lowercase `timestamp` property was present, so that native events using the lowercase form would have their timestamp preserved.
That was done to fix a failing Fantom test but what was wrong was the test itself. This removes the test and reverts that previous fix.
Reviewed By: javache
Differential Revision: D101649991
fbshipit-source-id: 933c906403f2e4144575b89e11f96feb8775f455timestamp fallback in event timestamp injection (#56512)1 parent 70281d6 commit cf1975f
2 files changed
Lines changed: 1 addition & 34 deletions
File tree
- packages/react-native
- ReactCommon/react/renderer/uimanager
- src/private/renderer/core/__tests__
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
| 150 | + | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| |||
Lines changed: 0 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 58 | | |
91 | 59 | | |
92 | 60 | | |
| |||
0 commit comments