* Properly resolve paths in SimpleModuleLoader and add path to Referrer::Script
* Add missing example
* Carry active runnable on frame push
* Duplicate the tests with proper paths for Windows/Unix
* Use the right root for absolute referrers
* ugh cargo fmt
* Limit doctest to unix
* Limit doctest to unix, for real
* cargo fmt
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
* Close active iterators when returning from async generator
* Fix remaining async generator tests
* Fix remaining async generator tests
* Replace some reserved opcodes
* Fix for await of loop flag
* Add tests for fix
* Remove whitespace
* Fix test display and improve test
* Change `usize` to `u32`
This Pull Request fixes test [`assert-throws-same-realm.js`](eb44f67274/test/harness/assert-throws-same-realm.js).
It changes the following:
- Handles global variables through the global object, instead of the `context`.
- Adds an `active_function` field to the vm, which is used as the `NewTarget` when certain builtins aren't called with `new`.
- Adds a `realm_intrinsics` field to `Function`.
* - add trace to VSCode launch
- comment out pushUndefined and Return
- Move call frame to its own file
- heading for code blocks needed to be on its own line
- Show the difference between the VM starting up and a new Call frame being ran
* add back in return opCodes
* Update boa/src/vm/mod.rs
Co-authored-by: João Borges <rageknify@gmail.com>