Closed domenic closed 2 years ago
Closes #242 by superseding it.
This approach moves the ctorRegistry back to being mostly for the registration of WebIDL2JS-generated constructors. We use the globalObject variable to pass to webidl-conversions and to find our Promise and TypeError constructors.
Needs testing with jsdom before merging.
Review appreciated if either of you have time, @TimothyGu @ExE-Boss. https://github.com/jsdom/webidl2js/commit/8faa068ac83755f0294994e0d256108b790cccf3 in particular I am unsure what is going on.
Closes #242 by superseding it.
This approach moves the ctorRegistry back to being mostly for the registration of WebIDL2JS-generated constructors. We use the globalObject variable to pass to webidl-conversions and to find our Promise and TypeError constructors.
Needs testing with jsdom before merging.