Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13906] Code Processor: Function.apply crashes when the arguments array is unknown

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-29T22:59:55.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0
ComponentsCode Processor
Labelscode-analyzer, qe-closed-3.1.1, qe-testadded
ReporterBryan Hughes
AssigneeBryan Hughes
Created2013-05-17T20:47:30.000+0000
Updated2014-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());

Comments

  1. Bryan Hughes 2013-05-17

    PR: https://github.com/appcelerator/titanium-code-processor/pull/194 1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/195
  2. Federico Casali 2013-05-29

    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
  3. Federico Casali 2013-05-29

    Reopening for applying a label

JSON Source