@appsurify-testmap/rrdom 2.1.1-alpha.7 → 2.1.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,10 +184,13 @@ function inspectInlineEventHandlers() {
184
184
  });
185
185
  });
186
186
  }
187
- if (document.readyState === "complete" || document.readyState === "interactive") {
188
- inspectInlineEventHandlers();
189
- } else {
190
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
187
+ try {
188
+ if (document.readyState === "complete" || document.readyState === "interactive") {
189
+ inspectInlineEventHandlers();
190
+ } else {
191
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
192
+ }
193
+ } catch (error) {
191
194
  }
192
195
  function getDefaultExportFromCjs(x2) {
193
196
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;