Commit cd80195
src: make MakeCallback() check can_call_into_js before getting method
There is a check for this in the inner `MakeCallback()` function
called by it, but since the `Get()` call here can also result in a
call into JS, we should ideally check the flag before that.
PR-URL: #35424
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent edf3fbb commit cd80195Copy full SHA for cd80195
File tree
Expand file treeCollapse file tree
1 file changed
+13
-4
lines changedOpen diff view settings
Filter options
- src/api
Expand file treeCollapse file tree
1 file changed
+13
-4
lines changedOpen diff view settings
Collapse file
+13-4Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
225 | 225 | |
226 | 226 | |
227 | 227 | |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
232 | 241 | |
233 | 242 | |
234 | 243 | |
|
0 commit comments