This repository was archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Desobekify Viewport
#1520
Merged
Merged
Desobekify Viewport
#1520
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d16f456
to
7bd2f21
Compare
ankur22
previously approved these changes
Nov 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
13bd06d
to
e1ea43e
Compare
This pattern we use is similar to https://pkg.go.dev/time#Time.Add. Instead of using a pointer and updating a simple value in place, we return a new one.
7bd2f21
to
380d03c
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What?
Viewport
.Viewport
into a value type.Why?
See "Desobekifying Sobek transformation" at grafana/k6#4219.
Checklist
Related PR(s)/Issue(s)
BrowserContext
methods #1270