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

panic on page.reload #1407

Closed
2 tasks done
ankur22 opened this issue Aug 23, 2024 · 0 comments
Closed
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

Preview Give feedback
@ankur22 ankur22 added the bug Something isn't working label Aug 23, 2024
@ankur22 ankur22 self-assigned this Aug 23, 2024
@ankur22 ankur22 closed this as completed Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant