2 'This test checks whether passing wrong types to setAttributeNode causes a crash.'
5 var element = document.createElement("input");
7 shouldThrow('element.setAttributeNode("style");');
8 shouldThrow('element.setAttributeNode(null);');
9 shouldThrow('element.setAttributeNode(undefined);');
10 shouldThrow('element.setAttributeNode(new Object);');
11 shouldThrow('element.removeAttributeNode("style");');
12 shouldThrow('element.removeAttributeNode(null);');
13 shouldThrow('element.removeAttributeNode(undefined);');
14 shouldThrow('element.removeAttributeNode(new Object);');