jsdom / webidl2js

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

Remove extra checks from generated code #240

Closed domenic closed 3 years ago

domenic commented 3 years ago

These would often cause runtime failures anyway. Generating nicer error messages for such runtime failures is not worth the cost in generated code size, especially given that such scenarios indicate a coding failure on the part of the user of webidl2js, not the user of jsdom.

TimothyGu commented 3 years ago

LGTM.