jsdom / webidl2js

Auto-generate JS class structures for Web IDL specifications
MIT License
79 stars 30 forks source link

Add support for imported types #227

Open ExE-Boss opened 4 years ago

ExE-Boss commented 4 years ago

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