g attribute (outer shell)");
setAttributeNode_mutation_test.done();

test(function(){
  var el = document.createElement("div")
  el.setAttribute("a", "b");
  el.setAttribute("c", "d");

  assert_array_equals(Array.prototype.map.call(el.attributes, function(a) { return a.name }),
                      ["a", "c"]);
  assert_array_equals(Array.prototype.map.call(el.attributes, function(a) { return a.value }),
                      ["b", "d"]);

  var attrNode = document.createAttribute("a");
  attrNode.value =