[TIMOB-13274] CodeProcessor: toPrimitive/toString/etc can return unknown, and it's never checked
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-03-29T19:18:32.000+0000 |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | Release 3.1.0, 2013 Sprint 07 JS, 2013 Sprint 07 |
| Components | Code Processor |
| Labels | n/a |
| Reporter | Bryan Hughes |
| Assignee | Praveen Innamuri |
| Created | 2013-03-29T05:56:54.000+0000 |
| Updated | 2017-03-09T18:12:12.000+0000 |
Description
toPrimitive/toString/etc can return unknown, even if the object is known. This is not currently checked for
Please provide test steps and sample code.
I don't remember this bug either, but if I were to guess, I would say run the following code:
Before the fix, the code processor may have crashed on this codeClosing ticket as fixed.