 assert_equals(document['test2b'], undefined);
}, "Dynamically removing the name attribute from img elements, should not be accessible.");

test(function() {
  let img = document.getElementsByTagName("img")[3];
  assert_equals(document.test3a, img);
  assert_equals(document['test3a'], img);
  assert_equals(document.test3b, img);
  assert_equals(document['test3b'], img);

  img.removeAttribute("id");
  assert_equals(document.test3a, undefined);
  assert_equals(document['test3a'], undefined);
  assert_equals(