-
### Brief summary
Setting the scenarios `exec` field to just a function returns a not very useful and unspecific error.
### k6 version
v0.27+
### OS
all
### Docker version and image …
-
```
package m
import (
"fmt"
"testing"
"github.com/robertkrimen/otto"
)
func TestEvalJs(t *testing.T) {
vm := otto.New()
vm.Set("body", `{"page":1}`)
v, err := vm.Run(`
…
-
Goja will convert a go pointer of a primitive type to a JS object, and this prevents this value to be triple equaled in JavaScript. From my point of view this is counterintuitive because I'd expect th…
-
when require a javascript file with source map lint, but source map is not exists, the require failed.
maybe add a option to disable source map
-
@psychoslave saluton! kion vi celas per Gxue? mi ĝojas ekscii ke vi programas per Ruby, mi amas ĝin kaj mi ŝatus labori pri la tradukado de la rubenaj ŝlosilvortoj al Esperanto..mi jam faras kelkajn p…
-
Related #136 #96
-
It doesn't seem like the Go code can interrupt a running job. The example in https://github.com/dop251/goja#interrupting cannot be replicated when a script is in an infinite loop inside of EventLoop.
-
### Brief summary
The js function Date().toLocaleDateString() always returns MM/DD/YYYY regardless of localization string.
### k6 version
V0.50 and v0.49
### OS
Windows 10 Pro Version 22H2 …
-
It looks like miniprogram uses liquid core: https://github.com/j0j00/flutter_liquidcore
There is a better way IMHO
You can run the JS inside a JS VM that is 100% compiled to c using
https://githu…
ghost updated
5 years ago
-
During the work done in #800, there was a [proposal](https://github.com/grafana/xk6-browser/pull/800#discussion_r1121864070) for optimization for the browser options parsing, now that this has to be d…