[TIMOB-15836] Android: 'ownerDocument' property not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.3 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Shameer Jan |
Assignee | Unknown |
Created | 2013-11-27T12:17:26.000+0000 |
Updated | 2018-02-28T20:03:51.000+0000 |
Description
Problem Description
Steps to reproduce 1.Run following code Expected result: All alert box should appear Actual result: There is no alertTest case
var doc = Ti.XML.parseString('<?xml version="1.0"?><root><test>data</test></root>');
var e1 = doc.firstChild;
var e2 = doc.createElement("test");
if (e1.ownerDocument == e2.ownerDocument)
{
alert('ei.ownerDocument and e2.ownerDocument are same');
}
Attachments
File | Date | Size |
---|---|---|
iOS Simulator Screen shot Nov 27, 2013 5.48.37 PM.png | 2013-11-27T12:19:05.000+0000 | 59764 |
No comments