Repository navigation
Commit f70fb2f
Report the bundle path when the Fantom tester's JS bundle fails to load
`TesterAppDelegate::loadScript` ignored the result of
`ReactHost::loadScript`. When the bundle could not be read, the tester
went on to look up `$$RunTests$$` in a runtime that had evaluated
nothing, and aborted with "JSError: Value is undefined, expected an
Object", which says nothing about the bundle.
Throw a `std::runtime_error` that names the bundle path when loading
fails. The tester still aborts, and its last line now states the cause.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>1 parent 94aee19 commit f70fb2f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
0 commit comments