[TIMOB-9700] iOS: custom property on TiView object cannot be changed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-05-22T21:14:55.000+0000 |
Affected Version/s | Release 2.1.0, Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | anvil, core |
Reporter | Max Stepanov |
Assignee | Eric Merriman |
Created | 2012-06-21T13:23:12.000+0000 |
Updated | 2017-05-23T20:37:17.000+0000 |
Description
var testRun = {};
function valueOf(test, actual) {
return {
shouldBe : function(expected) {
Ti.API.info("expected: <"+expected+">, actual: <"+actual+">");
}
};
}
var view = Ti.UI.createView();
view.customObj = { test: 'hello'};
view.customObj.test = "hello2";
valueOf(testRun, view.customObj.test).shouldBe("hello2");
Anvil suite/test: kroll - customObjects
Does this work in a stand alone test case or is this suspected as a problem with the Anvil framework?
Remember the one test that iOS always failed in Kroll back in Drillbit? That's this test. It's because of how Kroll on iOS does a copy on read, copy on write.
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
Resolving as "Won't Fix" as we no longer support Drillbit.