Dmitry Panov
|
0341fef34b
Fixed panic propagation. See #471.
|
2 years ago |
Dmitry Panov
|
6eb401d700
Fixed the propagation of un-catchable exceptions. See #471.
|
2 years ago |
Mihail Stoykov
|
03d8fb271c
Propagate InterruptedError if returned by wrapped go function
|
2 years ago |
Dmitry Panov
|
bce2464272
Got rid of funcName, using the callee object from the stack instead
|
2 years ago |
Dmitry Panov
|
33bff8fdda
Async/await functionality (#464)
|
2 years ago |
Dmitry Panov
|
6c0d988379
Unified conversions to Value. Fixes #453.
|
2 years ago |
Dmitry Panov
|
3b8a68ca89
Include error message in the stack property. Closes #442.
|
3 years ago |
Mihail Stoykov
|
87952593a5
Don't clear interrupt until the stack is empty (#405)
|
3 years ago |
Dmitry Panov
|
4418d4575a
Do not use fmt.Sprintf() for plain error strings. Fixes #388.
|
3 years ago |
Dmitry Panov
|
cfb079cdc7
Removed special treatment of the last argument passed to a variadic Go function. Do not treat callables (functions) as array-like when exporting to slices. Fixes #369.
|
3 years ago |
Dmitry Panov
|
61453c17e2
Reverted to the old behaviour of returning an error when converting non-array values into slices. Fixes #369, closes #370.
|
3 years ago |
Dmitry Panov
|
bf6af58bbc
Refactored tests
|
3 years ago |
Dmitry Panov
|
45901a5728
Grab stacktrace at the point of creation an Error. Added non-standard but widely implemented Error.stack property. Closes #337.
|
3 years ago |
Dmitry Panov
|
26ebff68a7
Merge branch 'upgrade-tests'
|
3 years ago |
Dmitry Panov
|
d6b8625efe
Fixed export of Promise
|
3 years ago |
Dmitry Panov
|
ba346f1c40
Only use vm.funcName and context.funcName when prg is nil. Closes #339
|
3 years ago |
Dmitry Panov
|
f1567f3952
Upgraded tests, lots of fixes as a result
|
3 years ago |
Dmitry Panov
|
dc8c55024d
Implemented Promise. Closes #178.
|
4 years ago |
Dmitry Panov
|
7efcb634c6
Support conversion from string types to []byte. Fixes #333
|
4 years ago |
Dmitry Panov
|
32956a348b
Arrow function (#319)
|
4 years ago |
Dmitry Panov
|
4c062c2b35
Fixed accessor and property key function names. Fixes #314.
|
4 years ago |
Dmitry Panov
|
a88d78e02a
Fixed the handling of Symbol properties in destructuring assignments. Fixes #312.
|
4 years ago |
Dmitry Panov
|
946559a566
Fixed typed arrays' defineProperty and indexing. Fixes #308.
|
4 years ago |
Dmitry Panov
|
705acef95b
Support dereferencing in ExportTo(). Closes #300
|
4 years ago |
Dmitry Panov
|
14a1ffa828
Avoid calling iterator's return method again when it throws
|
4 years ago |
Dmitry Panov
|
96fa0aa6d9
Removed erroneous stacktrace frame when exception is thrown from a catch clause.
|
4 years ago |
Dmitry Panov
|
65d24f7432
Implemented SetMaxCallStackSize(). Closes #263
|
4 years ago |
Dmitry Panov
|
f3cfc97811
Block-scoped declarations (#264)
|
4 years ago |
Dmitry Panov
|
b19cd2fe95
Added Object.entries(). Avoid slice allocation and copy in many cases when iterating over object keys. Avoid duplication of the length property when switching between regular and sparse arrays. Closes #246.
|
4 years ago |
Dmitry Panov
|
06e99480d2
Added support for native functions with *Runtime as a parameter. See #243
|
4 years ago |