Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 Error: history trace for replace: SecurityError: Attempt to use history.replaceState() more than 100 times per 30 seconds #35852

Closed
ampprojectbot opened this issue Aug 28, 2021 · 0 comments
Labels
Type: Error Report An error reported by AMP Error Reporting

Comments

@ampprojectbot
Copy link
Member

Details

Error report: link
First seen: Jun 8, 2021
Frequency: ~ 61/day

Stacktrace

Error: history trace for replace: SecurityError: Attempt to use history.replaceState() more than 100 times per 30 seconds
    at src/service/history-impl.js:255:28
    at enque_ (src/service/history-impl.js:135:11)
    at extensions/amp-next-page/1.0/service.js:484:26
    at visiblePage (extensions/amp-next-page/1.0/service.js:379:24)
    at updateVisibility (extensions/amp-next-page/1.0/service.js:547:11)
    at relativePos (extensions/amp-next-page/1.0/visibility-observer.js:312:29)
    at topSentinelPositionChanged_ (extensions/amp-next-page/1.0/visibility-observer.js:95:4)
    at position (src/service/position-observer/position-observer-worker.js:113:20)

Notes

@dvoytenko modified src/service/history-impl.js:254-256 in #8817 (Apr 18, 2017)
@rsimha modified src/service/history-impl.js:135-135 in #21212 (May 16, 2019)
@wassgha modified extensions/amp-next-page/1.0/service.js:484-484 in #25971 (Dec 17, 2019)
@wassgha modified extensions/amp-next-page/1.0/service.js:374-383 in #26778 (Apr 9, 2020)
@wassgha modified extensions/amp-next-page/1.0/service.js:546-550 in #26296 (Jan 23, 2020)
@wassgha modified extensions/amp-next-page/1.0/visibility-observer.js:296-320 in #26778 (Apr 9, 2020)
@wassgha modified extensions/amp-next-page/1.0/visibility-observer.js:95-95 in #26778 (Apr 9, 2020)
@zhouyx modified src/service/position-observer/position-observer-worker.js:110-140 in #10813 (Sep 8, 2017)

Seen in:

  • 08-13 Stable (2216)

Possible assignees: @wassgha, @zhouyx

/cc @ampproject/release-on-duty

@ampprojectbot ampprojectbot added the Type: Error Report An error reported by AMP Error Reporting label Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Error Report An error reported by AMP Error Reporting
Projects
None yet
Development

No branches or pull requests

2 participants