Open
Bug 159899
Opened 22 years ago
Updated 2 years ago
Loss of reference when changing element attribute using setAttribute() ?
Categories
(Core :: XUL, defect)
Tracking
()
NEW
Future
People
(Reporter: sergi20m, Unassigned)
Details
Using the setAttribute() method to set an existent attribute causes the loss of element's reference or something, because when serializing the elements attributes through the attributes[] array, the changed attribute appears twice, one with the old value and again with the new changed attribute, and if there were other attributes in the element, they do not appear when serializing the attributes[] array after doing the setAttribute. testcase: http://www.mans-hq.net/XUL/wrongTestSerialize.xul testcase with a workaround: http://www.mans-hq.net/XUL/rightTestSerialize.xul
Reporter | ||
Updated•22 years ago
|
Summary: Lost of reference when changing element attribute using setAttribute() ? → Loss of reference when changing element attribute using setAttribute() ?
Updated•22 years ago
|
Severity: major → minor
Target Milestone: --- → Future
Comment 1•22 years ago
|
||
to XUL
Assignee: jaggernaut → hyatt
Status: UNCONFIRMED → NEW
Component: XP Toolkit/Widgets → XP Toolkit/Widgets: XUL
Ever confirmed: true
QA Contact: jrgm → shrir
Comment 2•22 years ago
|
||
There's a missing '>' in the second attachment: xmlns:xul = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" <xul:script>
Reporter | ||
Comment 3•22 years ago
|
||
Fixed missing '>'. Thanx ;)
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
Updated•15 years ago
|
Assignee: hyatt → nobody
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•