Skip to content

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

@ALameLlama

Description

@ALameLlama

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions