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 BethGriggs committed Feb 6, 2020
1 parent bcd27f7 commit c802c99
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
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

0 comments on commit c802c99

Please sign in to comment.