Skip to content

Conversation

@devsnek
Copy link
Member

  • Refactor vm.SourceTextModule (again)
  • Add vm.Module abstract superclass
  • Add vm.SyntheticModule

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@devsnekdevsnek added vm Issues and PRs related to the vm subsystem. experimental Issues and PRs related to experimental features. esm Issues and PRs related to the ECMAScript Modules implementation. labels Oct 6, 2019
@nodejs-github-botnodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Oct 6, 2019
@devsnek
Copy link
MemberAuthor

cc @vsemozhetbyt

@devsnekdevsnekforce-pushed the more-vm-shenanigans branch from d3a8f85 to 99f84f0CompareOctober 6, 2019 21:12
@devsnekdevsnek removed the lib / src Issues and PRs related to general changes in the lib or src directory. label Oct 6, 2019
@devsnekdevsnekforce-pushed the more-vm-shenanigans branch 3 times, most recently from c396c6e to 20ee326CompareOctober 7, 2019 19:07
Copy link
Contributor

@guybedfordguybedford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work.

doc/api/vm.md Outdated
Copy link
Member

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?

Copy link
MemberAuthor

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.

@devsnekdevsnekforce-pushed the more-vm-shenanigans branch 3 times, most recently from 3b8872d to 380891bCompareOctober 12, 2019 07:11
- Refactor vm.SourceTextModule (again) - Add vm.Module abstract superclass - Add vm.SyntheticModule Refs: https://heycam.github.io/webidl/#synthetic-module-records
@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member

@nodejs/vm

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 13, 2019
Trott pushed a commit that referenced this pull request Oct 14, 2019
- 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 <[email protected]>
@Trott
Copy link
Member

Landed in f9caee9

@TrottTrott closed this Oct 14, 2019
@devsnekdevsnek deleted the more-vm-shenanigans branch October 14, 2019 21:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.esmIssues and PRs related to the ECMAScript Modules implementation.experimentalIssues and PRs related to experimental features.semver-minorPRs that contain new features and should be released in the next minor version.vmIssues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@devsnek@nodejs-github-bot@Trott@guybedford@addaleax@targos@joyeecheung@Jamesernator@vsemozhetbyt