Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Nov 22, 2024

What?

Don't return an error from frameRequestedNavigation when a frame is not found (nil).

Why?

This panic is unnecessary since the event is associated to a stale frame that no longer exists in memory.

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

Related: #1546

This panic is unnecessary since the event is associated to a stale
frame that no longer exists in memory.
@ankur22 ankur22 requested a review from a team as a code owner November 22, 2024 20:23
@ankur22 ankur22 requested review from olegbespalov and oleiade and removed request for a team November 22, 2024 20:23
@ankur22 ankur22 requested a review from inancgumus November 25, 2024 17:14
Copy link
Collaborator

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ankur22 ankur22 merged commit 0db0e44 into main Nov 25, 2024
23 checks passed
@ankur22 ankur22 deleted the fix/onFrameRequestedNavigation-panic branch November 25, 2024 17:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants