Skip to content

Uncaught TypeError: 'getComputedStyle' called on an object that does not implement interface Window. #520

@supersurviveur

Description

@supersurviveur

Hi !
I got this error

TypeError: 'getComputedStyle' called on an object that does not implement interface Window. eruda.js:8:451829

When injecting the eruda.js script from cdn in any website using a firefox extension.
It seems that in the generated code from webpack, there is something like r=window.getComputedStyle, without .bind(window), so the r variable doesn't contain the window object which causes the error.

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