Open ExE-Boss opened 4 years ago
This only requires that the imported module exports the validate (and eventually expose) method.
validate
expose
Unlike https://github.com/jsdom/webidl2js/pull/109, this works cross‑realm by not using instanceof on the wrappers.
instanceof
Fixes https://github.com/jsdom/webidl2js/issues/69 Supersedes and closes https://github.com/jsdom/webidl2js/pull/109
This only requires that the imported module exports the
validate
(and eventuallyexpose
) 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