You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Add JS syntax checking as part of build process #4039
In both Firefox and Chrome, it can require some digging in debug menus to find basic syntax errors in the extension. We should add a basic syntax checker that runs each time we run chromium.sh or firefox.sh, to catch such problems before even starting the browser.
We have a few options. Closure Compiler is the best in my opinion, and features more powerful correctness checks beyond just syntax. However, it requires developers to have Java installed (and probably has a couple of seconds startup time because of that). Alternately we can use Esprima, which is available as a Node module. Currently we don't have a dev dependency on Node either, but I feel it is more likely that HTTPSE devs will have Node than that they will have Java.
Activity