Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15836] Android: 'ownerDocument' property not working

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.3
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterShameer Jan
AssigneeUnknown
Created2013-11-27T12:17:26.000+0000
Updated2018-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 alert

Test 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

FileDateSize
iOS Simulator Screen shot Nov 27, 2013 5.48.37 PM.png2013-11-27T12:19:05.000+000059764

Comments

No comments

JSON Source