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 NPD in getOwnerFrame #1435

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix NPD in getOwnerFrame #1435

wants to merge 1 commit into from

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Sep 20, 2024

What?

Checking for nil after calling dom.DescribeNode().

Why?

The node from dom.DescribeNode() can be nil, so checking for nil before proceeding.

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)

Updates: #1416

The node from dom.DescribeNode() can be nil, so checking for nil before
proceeding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants