Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2288] DrillBit: shouldBeFunction fails on Proxy Methods

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:39.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect, kroll, regression
ReporterDon Thorp
AssigneeMarshall Culpepper
Created2011-04-15T03:15:42.000+0000
Updated2011-04-17T01:58:39.000+0000

Description

valueOf(Ti.API.debug).shouldBeFunction() fails. It's type is object.

Comments

  1. Don Thorp 2011-04-15

    (from [1f46b050b1b8be87f9ea6265401b3ff73f9d6e81]) [#2288] Test that demonstrates API detection failure. https://github.com/appcelerator/titanium_mobile/commit/1f46b050b1b8be87f9ea6265401b3ff73f9d6e81"> https://github.com/appcelerator/titanium_mobile/commit/1f46b050b1b8...

  2. Marshall Culpepper 2011-04-15

    This is a Kroll defect, not Drillbit

  3. Don Thorp 2011-04-15

    K. I have a bunch of these assertions commented out in the db test since failure of an assertion always aborts the test.

  4. Marshall Culpepper 2011-04-15

    (from [2422ad85a4257e7a643513cd2adbfbcb5592549d]) KrollMethod now extends BaseFunction and correctly reports it's typeof() [#2288 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/2422ad85a4257e7a643513cd2adbfbcb5592549d"> https://github.com/appcelerator/titanium_mobile/commit/2422ad85a425...

  5. Don Thorp 2011-04-15

    (from [9a36eac02f5d7ec4a77ee4321c79e091d6318d3d]) Reenabling shouldBeFunction() tests now that [#2288] is fixed. https://github.com/appcelerator/titanium_mobile/commit/9a36eac02f5d7ec4a77ee4321c79e091d6318d3d"> https://github.com/appcelerator/titanium_mobile/commit/9a36eac02f5d...

  6. Matt Schmulen 2011-04-15

    Pass Titanium SDK version: 1.5.0 (12/01/10 09:30 ac7cfd8), Android 1.6/2.1 custom app.

JSON Source