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

panic on page.reload #1407

Open
2 tasks done
ankur22 opened this issue Aug 23, 2024 · 0 comments
Open
2 tasks done

panic on page.reload #1407

ankur22 opened this issue Aug 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ankur22
Copy link
Collaborator

ankur22 commented Aug 23, 2024

Brief summary

A panic can occur when working with page.reload and the response is nil: Cannot convert undefined or null to object.

xk6-browser version

v1.7.1

OS

NA

Chrome version

NA

Docker version and image (if applicable)

No response

Steps to reproduce the problem

This is linked to this issue: #1387

What we may have forgotten is to check for nil before mapping the response.

Expected behaviour

No error.

Actual behaviour

Cannot convert undefined or null to object

Tasks

@ankur22 ankur22 added the bug Something isn't working label Aug 23, 2024
@ankur22 ankur22 self-assigned this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant