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

Refactor Sobek out of browserContext.addinitscript #1228

Merged
merged 4 commits into from
Mar 4, 2024

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Feb 29, 2024

What?

Refactor browserContext.addinitscript to move the goja code into the mapping layer.

Why?

This will help isolate goja specific code in the mapping layer.

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)

#1064
https://github.com/grafana/k6-cloud/issues/2066

This argument isn't being used so it's better to remove it for now and
add it back in when requested for.
@ankur22 ankur22 force-pushed the refactor/bc-addinitscript branch from 1201b93 to d387982 Compare February 29, 2024 18:30
@ankur22 ankur22 requested a review from inancgumus February 29, 2024 18:30
inancgumus
inancgumus previously approved these changes Mar 4, 2024
Copy link
Member

@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.

Nice! One more!

browser/mapping.go Outdated Show resolved Hide resolved
@ankur22 ankur22 changed the title Refactor browserContext.addinitscript Refactor goja out of browserContext.addinitscript Mar 4, 2024
@ankur22 ankur22 merged commit 3ff341e into main Mar 4, 2024
17 checks passed
@ankur22 ankur22 deleted the refactor/bc-addinitscript branch March 4, 2024 10:15
@inancgumus inancgumus changed the title Refactor goja out of browserContext.addinitscript Refactor Sobek out of browserContext.addinitscript Jun 21, 2024
@inancgumus inancgumus added stability runtime stability improvements refactor labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor stability runtime stability improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants