 => {
        window[`on${eventName}HandlerSetViaSetAttributeWasFired`] = resolve;
        el.dispatchEvent(new Event(eventName));
      });
    }, `on${eventName} handler set via setAttribute()`);
  });
</script>
