Skip to content

refactor(core): Ensure fake navigation is not aborted after it succeeds#60028

Closed
atscott wants to merge 3 commits intoangular:mainfrom
atscott:navigateabortsignal
Closed

refactor(core): Ensure fake navigation is not aborted after it succeeds#60028
atscott wants to merge 3 commits intoangular:mainfrom
atscott:navigateabortsignal

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Feb 20, 2025

The navigate event was only ever being cleared when a new navigation happened. That new navigation would abort the previous one, even if it had already finished successfully.

@atscott atscott added the target: rc This PR is targeted for the next release-candidate label Feb 20, 2025
@pullapprove pullapprove bot added the requires: TGP This PR requires a passing TGP before merging is allowed label Feb 20, 2025
@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Feb 20, 2025
@ngbot ngbot bot added this to the Backlog milestone Feb 20, 2025
The navigate event was only ever being cleared when a new navigation
happened. That new navigation would abort the previous one, even if it
had already finished successfully.
@atscott atscott force-pushed the navigateabortsignal branch 3 times, most recently from 72481e6 to 1e24651 Compare February 21, 2025 01:24
This commit updates the implementation of the fake navigation to more
closely follow the spec. This includes links to spec parts as well as
some reorganization to have the flow of the code more exactly follow the
corresponding steps in the spec. This makes it easier to verify that th
behavior is correct.
@atscott atscott force-pushed the navigateabortsignal branch 2 times, most recently from 9b782cb to 4a25141 Compare February 27, 2025 18:52
@atscott atscott added target: patch This PR is targeted for the next patch release and removed target: rc This PR is targeted for the next release-candidate labels Feb 28, 2025
@atscott atscott force-pushed the navigateabortsignal branch from 4a25141 to 093dfe4 Compare February 28, 2025 17:33
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented Feb 28, 2025

@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Feb 28, 2025
This matches the spec, though there is a bug in chrome that does trigger these events.
@atscott atscott force-pushed the navigateabortsignal branch from 093dfe4 to 760f40f Compare March 3, 2025 17:30
@mmalerba
Copy link
Copy Markdown
Contributor

mmalerba commented Mar 3, 2025

This PR was merged into the repository by commit a3575e2.

The changes were merged into the following branches: main, 19.2.x

@mmalerba mmalerba closed this in ae9c722 Mar 3, 2025
mmalerba pushed a commit that referenced this pull request Mar 3, 2025
#60028)

This commit updates the implementation of the fake navigation to more
closely follow the spec. This includes links to spec parts as well as
some reorganization to have the flow of the code more exactly follow the
corresponding steps in the spec. This makes it easier to verify that th
behavior is correct.

PR Close #60028
mmalerba pushed a commit that referenced this pull request Mar 3, 2025
#60028)

This matches the spec, though there is a bug in chrome that does trigger these events.

PR Close #60028
mmalerba pushed a commit that referenced this pull request Mar 3, 2025
…ds (#60028)

The navigate event was only ever being cleared when a new navigation
happened. That new navigation would abort the previous one, even if it
had already finished successfully.

PR Close #60028
mmalerba pushed a commit that referenced this pull request Mar 3, 2025
#60028)

This commit updates the implementation of the fake navigation to more
closely follow the spec. This includes links to spec parts as well as
some reorganization to have the flow of the code more exactly follow the
corresponding steps in the spec. This makes it easier to verify that th
behavior is correct.

PR Close #60028
mmalerba pushed a commit that referenced this pull request Mar 3, 2025
#60028)

This matches the spec, though there is a bug in chrome that does trigger these events.

PR Close #60028
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Apr 3, 2025
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: core Issues related to the framework runtime requires: TGP This PR requires a passing TGP before merging is allowed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants