ssert_equals(e.attrName, "foo");
      assert_equals(e.attrChange, MutationEvent.MODIFICATION);
      assert_equals(e.prevValue, "bar");
      assert_equals(e.newValue, "baz");
      assert_equals(e.relatedNode, attrNode2);
    });
  });

  var oldNode = el.setAttributeNode(attrNode2);
  assert_equals(oldNode, attrNode1,
                "Must return the old attr node from a setAttributeNode call");
}, "setAttributeNode, if it fires mutation events, should fire one with the new node when resetting an existin