is.dataset.yay = "It worked!";
    }
  }
}
window.customElements.define("my-custom-click", MyCustomClick);

const customElement = document.getElementById("click");
customElement.click();

assert_equals(customElement.dataset.yay, "It worked!");

done();
</script>
