Commit History

Author SHA1 Message Date
  Dmitry Panov 5937a312ed Reset args, newTarget and privEnv on recursive VM runs. See #481 3 years ago
  Dmitry Panov 78b980256d Reserve a stack slot for 'this' in recursive RunProgram calls. Fixes #477 3 years ago
  Dmitry Panov 9577c35d40 Set the callee value in recursive RunProgram calls. Fixes #477 3 years ago
  Dmitry Panov 8f6e415ca4 Fixed detection of await expressions in function parameter lists 3 years ago
  Dmitry Panov 96b1610dd4 Fixed stack lengths adjustment in suspend/resume 3 years ago
  Dmitry Panov 0341fef34b Fixed panic propagation. See #471. 3 years ago
  Dmitry Panov 6eb401d700 Fixed the propagation of un-catchable exceptions. See #471. 3 years ago
  Mihail Stoykov 03d8fb271c Propagate InterruptedError if returned by wrapped go function 3 years ago
  Dmitry Panov bce2464272 Got rid of funcName, using the callee object from the stack instead 3 years ago
  Dmitry Panov 33bff8fdda Async/await functionality (#464) 3 years ago
  Dmitry Panov 6c0d988379 Unified conversions to Value. Fixes #453. 3 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. 4 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. 4 years ago
  Dmitry Panov bf6af58bbc Refactored tests 4 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. 4 years ago
  Dmitry Panov 26ebff68a7 Merge branch 'upgrade-tests' 4 years ago
  Dmitry Panov d6b8625efe Fixed export of Promise 4 years ago
  Dmitry Panov ba346f1c40 Only use vm.funcName and context.funcName when prg is nil. Closes #339 4 years ago
  Dmitry Panov f1567f3952 Upgraded tests, lots of fixes as a result 4 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