Changes between Initial Version and Version 1 of Ticket #3433, comment 25
- Timestamp:
- Dec 7, 2016, 5:09:50 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3433, comment 25
initial v1 2 2 > Strange, I tested it again and it didn't crash, but just printed an error. 3 3 > But it seems like JS_ReportError returns the function. So I think it would be better to just print the error with `LOGERROR` and replace the invalid cache. 4 Yeah, i.e. there's just ` return false;` in the JSInterface_IGUIObject.cpp. I'm not sure what should be there: LOGERROR or JS_ReportError (probably it sets some flags in the SM, and uses internal report handling):4 Yeah, i.e. there's just `JS_ReportError(...); return false;` in the JSInterface_IGUIObject.cpp. I'm not sure what should be there: LOGERROR or JS_ReportError (probably it sets some flags in the SM, and uses internal report handling): 5 5 {{{ 6 6 // JS_ReportError by itself doesn't seem to set a JS-style exception, and so