-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
vm: add Synthetic modules #29864
vm: add Synthetic modules #29864
Conversation
d3a8f85
to
99f84f0
Compare
c396c6e
to
20ee326
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work.
added: REPLACEME | ||
--> | ||
|
||
* `name` {string} Name of the export to set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if name
was not listed in exportNames
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the spec says a ReferenceError is thrown but V8 currently aborts. I posted about it on the bug tracker yesterday so hopefully it will be fixed soon.
3b8872d
to
380891b
Compare
- Refactor vm.SourceTextModule (again) - Add vm.Module abstract superclass - Add vm.SyntheticModule Refs: https://heycam.github.io/webidl/#synthetic-module-records
380891b
to
baf46f6
Compare
@nodejs/vm |
- 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>
Landed in f9caee9 |
Refs: https://heycam.github.io/webidl/#synthetic-module-records
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes