[TIMOB-6686] Android: V8: Constants on Proxy instances aren't working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-16T00:50:40.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-50, Release 1.8.0.1, Release 2.0.0 |
Components | Android |
Labels | branch-v8, verified-1.8.0.1 |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-12-15T02:57:58.000+0000 |
Updated | 2012-01-11T15:27:11.000+0000 |
Description
When using the V8 runtime, Constants that are defined on KrollProxy subclasses don't correctly show up on instances of that proxy. This pattern is currently used in the XML module for DOM constants.
There are two test cases for this:
* In the Drillbit
xml
test, the test apiXmlNodeProperties
should pass
* This test app should also print ELEMENT_NODE=1
:
var doc = Ti.XML.parseString("<doc></doc>");
Ti.API.debug("ELEMENT_NODE="+doc.ELEMENT_NODE);
Verified fix on: For drillbit xml test (apiXmlNodeProperties) - version=1.8.0.1 module_apiversion=2 timestamp=12/19/11 11:59 githash=864d538 For test app - SDK build: 1.8.0.1.RC3 Runtime: V8 Titanium Studio, build: 1.0.7.201112152014 OS: Mac OS X Lion Device: Nexus One (2.2.2) Note: Did not verify fix on 1.9.0
Closing bug. Already verified fix on 1.8.0.1