Opened 11 years ago

Closed 11 years ago

#8910 closed defect (fixed)

dijit test shows incorrect api usage

Reported by: dante Owned by: dante
Priority: high Milestone: 1.3
Component: Dijit Version: 1.3.0b3
Keywords: Cc:
Blocked By: Blocking:

Description

_Widget.destroy(preserveDom) is documented not to work on _Templated widgets. The test dijit/tests/form/test_ComboBox_destroy.html is only testing this one thing, and it is incorrect. The reason this is throwing errors is from when I introduced the preserveDom param. Previously it was doing nothing by passing a value there.

Change History (1)

comment:1 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

Fixed in [17043]. That test is from #2313 and is meant to test destruction of ComboBox, so it's a valid test. It was never meant to test preserveDom, which was added after the test was checked in.

Note: See TracTickets for help on using tickets.