Hi everyone!
Tomorrow is the last day of my internship. During this summer I typechecked Chrome JavaScript using Closure Compiler. Right now all the pages exposed to typical Chromium users are compiled (eg. settings, bookmarks, history).
We have setup a Buildbot on FYI tree which continuously runs the checks. dbeam@ and I receive an email when someone breaks the compilation, so we'll contact you shortly if something is broken. You can also run the checks before submitting the code (see slide #4 "Invoke compilation locally" in my slides). We also have plans to create trybots and a presubmit with closure compilation.
Attached please find my slides in which I describe:
- our compilation process
- some bugs that we found
- how to generate JS externs from json/idl
- how to setup a Buildbot
Slides:
Thank you,
Vitaly