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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wsharp, Assigned: wsharp)
Details
Attachments
(2 files, 1 obsolete file)
|
995 bytes,
patch
|
stejohns
:
review+
lhansen
:
superreview+
|
Details | Diff | Splinter Review |
|
2.55 KB,
text/plain
|
stejohns
:
review+
lhansen
:
superreview+
|
Details |
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 | ||
Updated•15 years ago
|
Assignee: nobody → wsharp
| Assignee | ||
Comment 1•15 years ago
|
||
Attachment #466655 -
Flags: superreview?(lhansen)
Attachment #466655 -
Flags: review?(stejohns)
| Assignee | ||
Comment 2•15 years ago
|
||
| Assignee | ||
Comment 3•15 years ago
|
||
Attachment #466656 -
Attachment is obsolete: true
Attachment #466657 -
Flags: superreview?(lhansen)
Attachment #466657 -
Flags: review?(stejohns)
Updated•15 years ago
|
Attachment #466655 -
Flags: review?(stejohns) → review+
Updated•15 years ago
|
Attachment #466657 -
Flags: review?(stejohns) → review+
Updated•15 years ago
|
Attachment #466655 -
Flags: superreview?(lhansen) → superreview+
Updated•15 years ago
|
Attachment #466657 -
Flags: superreview?(lhansen) → superreview+
| Assignee | ||
Comment 4•15 years ago
|
||
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.
Description
•