Closed Bug 588041 Opened 15 years ago Closed 15 years ago

ToXMLList from XML object does not correctly set XMLListObject::m_targetObject

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wsharp, Assigned: wsharp)

Details

Attachments

(2 files, 1 obsolete file)

player bug #2676112. The following code: var listOrig:XMLList = <><item>1</item></>; var listCopy:XMLList = <></>; listCopy += XMLList(listOrig[0]); listCopy[0] += <item>2</item>; ...calls XMLListClass::ToXMLList with an XML object and then calls the XMLListObject constructor with an undefined parent atom. Later on, we get into XMLListObject::setUintProperty step 2a with a non-null m_targetProperty that does not equal either a XML or XMLList object. This causes the setUintProperty to fail. This is a fallout of our append XML optimizations for last release. Previously, our append operation would clear the undefinedAtom value and force it to nullObjectAtom.
Assignee: nobody → wsharp
Attachment #466655 - Flags: superreview?(lhansen)
Attachment #466655 - Flags: review?(stejohns)
Attached file testcase (obsolete) —
Attached file testcase
Attachment #466656 - Attachment is obsolete: true
Attachment #466657 - Flags: superreview?(lhansen)
Attachment #466657 - Flags: review?(stejohns)
Attachment #466655 - Flags: review?(stejohns) → review+
Attachment #466657 - Flags: review?(stejohns) → review+
Attachment #466655 - Flags: superreview?(lhansen) → superreview+
Attachment #466657 - Flags: superreview?(lhansen) → superreview+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: