testing/web-platform/tests/html/dom/documents/dom-tree-accessors/nameditem-03.html
author criss <ccozmuta@mozilla.com>
Thu, 19 May 2022 12:36:17 +0300
changeset 618192 ba856ffe455a3c5275f4255a5c4bce00ba5528d4
parent 382605 3a93e822c501a73ca645c0361332560056fa04de
permissions -rw-r--r--
Merge autoland to mozilla-central. a=merge

<!DOCTYPE html>
<meta charset=utf-8>
<title>Named items: applets</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-nameditem">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<applet name=test1></applet>
<script>
test(function() {
  var applet = document.getElementsByTagName("applet")[0];
  assert_equals(applet.name, undefined);

  assert_false("test1" in document, '"test1" in document should be false');
  assert_equals(document.test1, undefined);
}, "applet elements are (mostly) gone");
</script>