[TIMOB-13906] Code Processor: Function.apply crashes when the arguments array is unknown
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-05-29T22:59:55.000+0000 |
| Affected Version/s | Release 3.1.0 |
| Fix Version/s | 2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
| Components | Code Processor |
| Labels | code-analyzer, qe-closed-3.1.1, qe-testadded |
| Reporter | Bryan Hughes |
| Assignee | Bryan Hughes |
| Created | 2013-05-17T20:47:30.000+0000 |
| Updated | 2014-04-22T08:20:38.000+0000 |
Description
When an unknown value is passed to function.apply, the code processor crashes.
function foo() {}
foo.apply({}, new Date());
PR: https://github.com/appcelerator/titanium-code-processor/pull/194 1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/195
Verified as fixed. Appcelerator Studio 3.1.1.201305282349 Titanium SDK 3.1.1.v20130524180421 Alloy 1.1.3-alpha Titanium-Code-Processor 1.1.3-alpha3 Closing
Reopening for applying a label