Skip to content

Uncaught Error: Permission denied to access property "apply" - onpopstate #3344

@yadue

Description

@yadue

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

6.2.3

Description

Sentry is throwing "Uncaught Error: Permission denied to access property "apply"" in all Firefox versions caused exactly by this line:

return oldOnPopState.apply(this, args);

We have that issue in 4 different, completely separated Angular 9 applications. Even simple code such as:
"window.onpopstate.apply(this, t)" sometimes is causing firefox error and sentry uses this syntax.

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