Skip to content

pushState() and navigations and history navigation rate limiting no longer throws #44477

@zcorpan

Description

@zcorpan

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/History/pushState

What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Web/API/History/pushState#exceptions

What information was incorrect, unhelpful, or incomplete?

Says that a SecurityError exception is thrown "if the method is called too frequently".

What did you expect to see?

This may still apply for some browsers for a bit, but the spec change it to instead return (no-op) upon rate limiting, which is what Chromium currently does and Gecko will soon do.

Do you have any supporting links, references, or citations?

whatwg/html#12492

Do you have anything more you want to share?

Also applies to replaceState, history.go/back/forward, navigation API and APIs that navigate (e.g. location.href).

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions