Skip to content

Implement Location.replace #13413

@KiChjang

Description

@KiChjang

This would allow us to click links on Google search.

Should be a straightfoward implementation - refer to the implementation of fn Assign if it's not clear.

Spec: https://html.spec.whatwg.org/multipage/browsers.html#dom-location-replace
Files: components/script/dom/webidls/Location.webidl, components/script/dom/location.rs
Test: tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/location_replace.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/domInteracting with the DOM from web contentC-assignedThere is someone working on resolving the issueC-has-open-prThere is a PR open that resolves the issueE-less-complexStraightforward. Recommended for a new contributor.I-enhancementNo impact; the issue is a missing or proposed feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions