Skip to content

Impacting Wikimedia sites: NotFoundError: Node.removeChild: The node to be removed is not a child of this node #540

@jdlrobson

Description

@jdlrobson

Hi there!
I work at the Wikimedia Foundation and we've been seeing about 20k errors a week due to a mysterious bug that we believe might relate to your code. The issue is tricky for us to filter out as the file URI associated with the errors does not correspond with any browser extension URL so I was wondering if you could help us by finding a way to either fix the problem or allow us to filter it more successfully.

The bug appears as NotFoundError: Node.removeChild: The node to be removed is not a child of this node or NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. and the stack trace if often empty or if we're lucky:

at remove
at jQuery.fn.init.remove
at DDGRuntimeChecks.callback 
at DDGRuntimeChecks.dispatch at elemData.handle 

The issue mostly impacts commons.wikimedia.org file pages e.g.
https://commons.wikimedia.org/wiki/File:Rectangle_%28plain%29.svg or https://commons.wikimedia.org/wiki/File:Mistelbach_Brunnen-20230514-RM-161753.jpg

Any idea what could be happening here?

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