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

fix(common): Fix MockPlatformLocation events and missing onPopState i… #48113

Closed
wants to merge 2 commits into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Nov 17, 2022

…mplementation

The MockPlatformLocation forward, back, and historyGo methods should trigger a popstate event. Additionally, these events should just be synchronous since that's what the majority of the major browsers do. Lastly, onPopState should be implemented the same way as onHashChange.

…mplementation

The MockPlatformLocation forward, back, and historyGo methods should trigger a popstate event.
Additionally, these events should just be synchronous since that's what the majority of the major
browsers do. Lastly, onPopState should be implemented the same way as onHashChange.
@atscott atscott added the target: patch This PR is targeted for the next patch release label Nov 17, 2022
@dylhunn dylhunn added the area: common Issues related to APIs in the @angular/common package label Nov 18, 2022
@ngbot ngbot bot added this to the Backlog milestone Nov 18, 2022
@ChanduMdp

This comment was marked as outdated.

@ChanduMdp ChanduMdp added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Nov 18, 2022
@atscott atscott added action: merge The PR is ready for merge by the caretaker and removed merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Nov 20, 2022
@dylhunn
Copy link
Contributor

dylhunn commented Nov 21, 2022

This PR was merged into the repository by commit b0a62be.

@dylhunn dylhunn closed this in b0a62be Nov 21, 2022
dylhunn pushed a commit that referenced this pull request Nov 21, 2022
…mplementation (#48113)

The MockPlatformLocation forward, back, and historyGo methods should trigger a popstate event.
Additionally, these events should just be synchronous since that's what the majority of the major
browsers do. Lastly, onPopState should be implemented the same way as onHashChange.

PR Close #48113
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 22, 2022
trekladyone pushed a commit to trekladyone/angular that referenced this pull request Feb 1, 2023
…mplementation (angular#48113)

The MockPlatformLocation forward, back, and historyGo methods should trigger a popstate event.
Additionally, these events should just be synchronous since that's what the majority of the major
browsers do. Lastly, onPopState should be implemented the same way as onHashChange.

PR Close angular#48113
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: common Issues related to APIs in the @angular/common package target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants