Skip to content

Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'. #657

Open
@codekie

Description

@codekie

We are encountering a lot of these errors, when using the SplunkSessionRecorder:

Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'.
    at u (mutation.js:131:60)
    at e.emit (mutation.js:203:25)
    at e.processMutations (mutation.js:102:19)

We are using version v0.16.3.

It looks like the origin of the error is the rrweb-dependecy (version 1.1.3).

There already are corresponding bug reports in the rrweb-repository (rrweb-io/rrweb#1114 and rrweb-io/rrweb#890).

A fix also already was implemented (see rrweb-io/rrweb#891 and rrweb-io/rrweb@3cdcb8a), however, it is not available in any of the 1.x versions. It looks like the earliest version that contains this fix is [email protected].

Unfortunately we can't use the session recorder like this as it is flooding our Sentry-instance. with the mentioned errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions