                  ["0", "1"])
  assert_array_equals(Object.getOwnPropertyNames(el.attributes),
                      ["0", "1", "a", "b"])
}, "Own property correctness with basic attributes");

test(function() {
  var el = document.createElement("div");
  el.setAttributeNS("", "a", "");
  el.setAttribute("b", "");
  el.setAttributeNS("foo", "a", "");
  assert_array_equals(getEnumerableOwnProps1(el.attributes),
                      ["0", "1", "2"])
  assert_array_equals(getEnumerableOwnProps2(el.attributes)