Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error sending message: DOMException: HTMLElement object could not be cloned. #8

Open
ALameLlama opened this issue Oct 31, 2024 · 0 comments

Comments

@ALameLlama
Copy link

ALameLlama commented Oct 31, 2024

Describe the bug
Console is flooded with these Error sending message: DOMException: HTMLElement object could not be cloned.

11:38:38.809 Error sending message: DOMException: HTMLElement object could not be cloned.
    captureHtmxEvent content.js:538
    triggerEvent htmx.esm.js:2955
    issueAjaxRequest htmx.esm.js:4410
    boostElement htmx.esm.js:2300
    x htmx.esm.js:2455
    r helpers.js:90
    Oy browserapierrors.js:204
    W_ dom.js:75
    addEventListener htmx.esm.js:2467
    forEach htmx.esm.js:752
    addEventListener htmx.esm.js:2386
    boostElement htmx.esm.js:2294
    boostElement htmx.esm.js:2293
    initNode htmx.esm.js:2819
    processNode htmx.esm.js:2853
    forEach htmx.esm.js:752
    processNode htmx.esm.js:2853
    htmx htmx.esm.js:4943
    ready htmx.esm.js:4905
    htmx htmx.esm.js:4939
    <anonymous> htmx.esm.js:4979
content.js:545:15
    captureHtmxEvent moz-extension://cd8d7c63-82da-4a8d-9401-40dfd1974482/content.js:545

To Reproduce

  1. Installing extension using firefox
  2. browser htmx site

Expected behavior
Not get flooded with errors

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser" Firefox
  • Version: 131.0.3 (64-bit

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
The HTMX site is mostly just using boost e.g:

        <body hx-boost="true" hx-target="#container" hx-swap="outerHTML">
            <main id="container  hx-history-elt>
              ... lots of nested elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant