Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6686] Android: V8: Constants on Proxy instances aren't working

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-16T00:50:40.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2011-50, Release 1.8.0.1, Release 2.0.0
ComponentsAndroid
Labelsbranch-v8, verified-1.8.0.1
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-12-15T02:57:58.000+0000
Updated2012-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);

Comments

  1. Wilson Luu 2011-12-19

    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
  2. Wilson Luu 2012-01-11

    Closing bug. Already verified fix on 1.8.0.1

JSON Source