Opened 14 years ago
Closed 14 years ago
#2020 closed defect (fixed)
Error in BUFakeDom.js > BUFakeNode.setAttribute()
Reported by: | Owned by: | dylan | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | TestFramework | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
There is a one-line bug in testtools/JsFakeDom/BUFakeDom.js line 419, in the BUFakeNode.setAttribute() method. Setting the value of an existing attribute causes an error '"nodeValue" is not defined'.
The fix is simple. The line
this.attnodes_by_name_()[name][nodeValue] = attval;
should be
this.attnodes_by_name_()[name].nodeValue = attval;
Change History (2)
comment:1 Changed 14 years ago by
Milestone: | → 0.9 |
---|---|
Owner: | changed from alex to dylan |
Status: | new → assigned |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [7148]) fixes #2020, Error in BUFakeDom.js > BUFakeNode.setAttribute(), thanks James