Skip to content

Commit

Permalink
vm: add Synthetic modules
Browse files Browse the repository at this point in the history
- Refactor vm.SourceTextModule (again)
- Add vm.Module abstract superclass
- Add vm.SyntheticModule

Refs: https://heycam.github.io/webidl/#synthetic-module-records

PR-URL: #29864
Reviewed-By: Guy Bedford <guybedford@gmail.com>
  • Loading branch information
devsnek authored and targos committed Jan 8, 2020
1 parent b743f2c commit faf3ad2
Show file tree
Hide file tree
Showing 19 changed files with 769 additions and 537 deletions.
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1976,7 +1976,7 @@ The linker function returned a module for which linking has failed.
<a id="ERR_VM_MODULE_NOT_MODULE"></a>
### `ERR_VM_MODULE_NOT_MODULE`

The fulfilled value of a linking promise is not a `vm.SourceTextModule` object.
The fulfilled value of a linking promise is not a `vm.Module` object.

<a id="ERR_VM_MODULE_STATUS"></a>
### `ERR_VM_MODULE_STATUS`
Expand Down
Loading

0 comments on commit faf3ad2

Please sign in to comment.