webidl2js icon indicating copy to clipboard operation
webidl2js copied to clipboard

Add support for imported types

Open ExE-Boss opened this issue 5 years ago • 0 comments

This only requires that the imported module exports the validate (and eventually expose) method.

Unlike https://github.com/jsdom/webidl2js/pull/109, this works cross‑realm by not using instanceof on the wrappers.


Fixes https://github.com/jsdom/webidl2js/issues/69 Supersedes and closes https://github.com/jsdom/webidl2js/pull/109

ExE-Boss avatar Jul 14 '20 13:07 ExE-Boss