vishalduggal/titanium_mobile — comment on commit 092014886821c2a59d40e9fdd05ae425cb6de5cb
File: drillbit/tests/xml/xml.js line 1287
By sptramer:

This will pass; you're just swapping the attribute node assignments around. The test recommended by Bill was:

`elements.item(2).setAttributeNode(newAttributeNode);`

For this case. That checks for the "already assigned" exception.