[TIMOB-2288] DrillBit: shouldBeFunction fails on Proxy Methods
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect, kroll, regression |
Reporter | Don Thorp |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:15:42.000+0000 |
Updated | 2011-04-17T01:58:39.000+0000 |
Description
valueOf(Ti.API.debug).shouldBeFunction()
fails.
It's type is object.
(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...
This is a Kroll defect, not Drillbit
K. I have a bunch of these assertions commented out in the db test since failure of an assertion always aborts the test.
(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...
(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...
Pass Titanium SDK version: 1.5.0 (12/01/10 09:30 ac7cfd8), Android 1.6/2.1 custom app.