Mihail Stoykov
Mihail Stoykov
As part of adding support for [ignoreDefaultArgs](https://github.com/grafana/xk6-browser/pull/547) it was raised that it will be beneficial for users to know which flags they can disable with it. Currently relevant code can...
This should disable all options as explained in the [playwright documentation](https://playwright.dev/docs/api/class-browsertype#browser-type-launch) Original `ignoreDefaultArgs` PR [here](https://github.com/grafana/xk6-browser/pull/547). It is also important to note that the current k6 documentation already documents this `ignoreDefaultArgs`...
While I was making k6's [promise rejection handling](https://github.com/grafana/k6/pull/2738/files) a *bit* better I noticed that I get double `GoError` in all our messages as I get the "error type" both in...
This is a WIP PR implementing ECMAScript Modules (ESM) in goja. The PR does add every ESM feature as of ES2022 including: - basic import/export syntax. - module namespace `import...
Generators were introduced in ES6. AFAIK there are currently one of the two ES6 features that goja doesn't have support - the other one being modules. It is also needed...
## What? Native support for ESM in k6 ## Why? Having native ESM support both allows us to use more goja features and drops our internal babel. ## Checklist -...
## History k6 uses a [goja](https://github.com/dop251/goja) as JS VM. Historically goja does not have support for every JS feature, and as such [babel](https://babeljs.io/) has been used for years to supplement...
### Feature Description Make the newly stabilized `k6/timers` exports: 1. SetTimeout 2. SetInterval 3. ClearTimeout 4. ClearInterval globally available ### Suggested Solution (optional) Keep the module, and just have code...
Currently, if an error (like timeout) happens during the creation of the websocket k6 will not emit `status=0` or tags `error` and `error_code` as will the HTTP module, but will...
### Why? Currently the parsing of error from the cloud api has some complicated code https://github.com/grafana/k6/blob/b5a6febd56385326ea849bde25ba09ed6324c046/cloudapi/errors.go#L47-L62 Almost all of which is around parsing `details` which was teh old way the...