webidl2js icon indicating copy to clipboard operation
webidl2js copied to clipboard

Auto-generate JS class structures for Web IDL specifications

Results 31 webidl2js issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

> However, note that apart from Web IDL container return values, this impl-back-to-wrapper conversion doesn't work in a "deep" fashion. That is, if you directly return an impl, or return...

When generating a wrapper class for CSS [MediaList](https://drafts.csswg.org/cssom/#the-medialist-interface), I get the following error: ```js /home/vagrant/npm/css/node_modules/webidl2js/lib/constructs/interface.js:341 throw new Error(`${msg}attribute can only be of type DOMString or USVString`); ^ Error: Invalid stringifier...

https://github.com/jsdom/webidl2js/pull/159 ran into an issue where the current API is not flexible enough to do targeted testing, because it operates on a directory level. This has always been a bit...

Right now, we implement wrapping/unwrapping of IDL objects through a symbol: https://github.com/jsdom/webidl2js/blob/ab63e7e8ed59659dd961eef0ac0e56060db19870/lib/output/utils.js#L61-L77 However, this is not only allows client scripts to escape the jsdom environment, it also fools brand checks...

This implements [`[LegacyFactoryFunction]`](https://heycam.github.io/webidl/#LegacyFactoryFunction). ~~Unlike **Chromium**’s implementation, which assumes that a single interface will only ever have at most one legacy factory function, this implementation makes it possible to define more...

**WebIDL2JS** currently crashes when [the `object` type][idl-object] is in a union, this fixes that. [idl-object]: https://heycam.github.io/webidl/#idl-object ## Depends on: - [ ]

This only requires that the imported module exports the `validate` (and eventually `expose`) method. Unlike , this works cross‑realm by not using `instanceof` on the wrappers. --- Fixes Supersedes and ...